[Bug 892759] New: "Install Hypervisor and Tools" fails with error: Details: undefined method `+' for nil:NilClass
https://bugzilla.novell.com/show_bug.cgi?id=892759 https://bugzilla.novell.com/show_bug.cgi?id=892759#c0 Summary: "Install Hypervisor and Tools" fails with error: Details: undefined method `+' for nil:NilClass Classification: openSUSE Product: openSUSE Factory Version: 201408* Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: YaST2 AssignedTo: yast2-maintainers@suse.de ReportedBy: kgronlund@suse.com QAContact: jsrain@suse.com Found By: Development Blocker: --- After selecting KVM server and tools in the Install Hypervisor and Tools screen, the installer fails with an error message: Internal error. Please report a bug report with logs. Details: undefined method `+' for nil:NilClass Caller: /usr/share/YaST2/modules/VirtConfig.rb:380:in `ConfigureDom0' Excerpt from y2log: 2014-08-20 15:02:52 <1> krigpad.site(7082) [Ruby] modules/VirtConfig.rb:95 Platform is openSUSE 2014-08-20 15:02:52 <3> krigpad.site(7082) [Ruby] yast/wfm.rb:197 Client call failed with 'undefined method `+' for nil:NilClass' and backtrace ["/usr/share/YaST2/modules/VirtConfig.rb:380:in `ConfigureDom0'", "/usr/share/YaST2/clients/virtualization.rb:93:in `CheckConfiguration'", "/usr/lib64/ruby/vendor_ruby/2.1.0/yast/fun_ref.rb:33:in `call'", "/usr/lib64/ruby/vendor_ruby/2.1.0/yast/fun_ref.rb:33:in `call'", "/usr/share/YaST2/modules/CommandLine.rb:1591:in `Run'", "/usr/share/YaST2/clients/virtualization.rb:59:in `main'", "/usr/share/YaST2/clients/virtualization.rb:102:in `<top (required)>'", "/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:184:in `eval'", "/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:184:in `run_client'"] 2014-08-20 15:02:52 <3> krigpad.site(7082) [Ruby] yast/wfm.rb:202 Internal error. Please report a bug report with logs. Details: undefined method `+' for nil:NilClass Caller: /usr/share/YaST2/modules/VirtConfig.rb:380:in `ConfigureDom0' -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=892759 https://bugzilla.novell.com/show_bug.cgi?id=892759#c1 Josef Reidinger <jreidinger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jreidinger@suse.com AssignedTo|yast2-maintainers@suse.de |carnold@suse.com --- Comment #1 from Josef Reidinger <jreidinger@suse.com> 2014-08-20 13:41:04 UTC --- Problem is in this code - https://github.com/yast/yast-vm/blob/master/src/modules/VirtConfig.rb#L378 there is missing default as all assing is covered by if. It should look like: packages = [] packages << "patterns-openSUSE-xen_server" if install_xen_server packages += ["xen-tools", "xen-libs", "libvirt-daemon-xen", "tigervnc"] if install_xen_tools packages << "patterns-openSUSE-kvm_server" if install_kvm_server packages += ["libvirt-daemon-qemu", "tigervnc"] if install_kvm_tools packages += ["libvirt-daemon-lxc", "libvirt-daemon-config-network"] if install_lxc -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=892759 https://bugzilla.novell.com/show_bug.cgi?id=892759#c2 Charles Arnold <carnold@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Charles Arnold <carnold@suse.com> 2014-08-20 14:45:12 UTC --- Thanks. Fix committed with request 245300. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com