[Bug 552774] New: vm-install cannot finish openSUSE installation
http://bugzilla.novell.com/show_bug.cgi?id=552774 Summary: vm-install cannot finish openSUSE installation Classification: openSUSE Product: openSUSE 11.2 Version: RC 2 Platform: Other OS/Version: openSUSE 11.2 Status: NEW Severity: Major Priority: P5 - None Component: Xen AssignedTo: jdouglas@novell.com ReportedBy: nice@titanic.nyme.hu QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4) Gecko/20091016 SUSE/3.5.4-1.1.2 Firefox/3.5.4 Installation from network works fin until the first reboot, when instead of rebooting vm-install complains something about a missing kernel, while the detailed error message notifies me that "Boot loader didn't return any data". My suspicion is that domUloader.py cannot correctly handle the default GRUB layout of the freshly installed domU. One major problem is that when installing a guest openSUSE11.2 by vm-install from network, its /boot/grub/menu.lst specifies the NON-XEN kernel as default! After fixing this by hand (mounting the domU's disk in dom0) the domain configuration created by vm-install is still unable to load the domU, but manually creating a pygrub based entry helps to finish the installation: name="xentemp112-64" uuid="7b77d277-e99a-e25b-3652-61e936f78ab0" memory=1024 vcpus=1 on_poweroff="destroy" on_reboot="restart" on_crash="destroy" on_xend_start = "ignore" on_xend_stop = "shutdown" localtime=0 keymap="en-us" builder="linux" bootloader = "/usr/bin/pygrub" root="/dev/xvda3" disk=[ 'phy:/dev/mapper/openSUSE111-64,xvda,w' ] vif=[ 'mac=00:16:3e:0b:e9:60,bridge=br0' ] vfb=['type=vnc,vncdisplay=40'] BTW, the domU's disk layout, wich might affect domUloader.py was the following in this case: /dev/xvda1 /boot ext2 /dev/xvda2 swap swap /dev/xvda3 / ext4 /dev/xvda5 /tmp ext4 /dev/xvda6 /var/log ext4 Reproducible: Always Steps to Reproduce: 1. Start installing openSUSE11.2 on openSUSE11.2 (from HTTP). 2. Create a partition layout with a separate bootable boot partition (this may not be necessary?) 3. Wait for the first reboot during installation Actual Results: It wont't be able to reboot. Expected Results: It should be able to reboot (specifying the xen kernel as default and possibly using pygrub instead of domUloader.py). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=552774 User carnold@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=552774#c1 Charles Arnold <carnold@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jdouglas@novell.com AssignedTo|jdouglas@novell.com |carnold@novell.com --- Comment #1 from Charles Arnold <carnold@novell.com> 2009-11-09 09:01:27 MST --- Could you please attach xend.log when the failure occurs so that we can see the parameters passed to domUloader? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=552774 Charles Arnold <carnold@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |nice@titanic.nyme.hu -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=552774#c2 Tamás Németh <nice@titanic.nyme.hu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|nice@titanic.nyme.hu | --- Comment #2 from Tamás Németh <nice@titanic.nyme.hu> 2009-11-18 17:36:40 UTC --- Created an attachment (id=328272) --> (http://bugzilla.novell.com/attachment.cgi?id=328272) /var/log/xen archived after an unsuccessful installation attempt (In reply to comment #1)
Could you please attach xend.log when the failure occurs so that we can see the parameters passed to domUloader?
OK, I repeated the installation. DomU disk layout is still this: /dev/xvda1 /boot ext2 /dev/xvda2 swap swap /dev/xvda3 / ext4 /dev/xvda5 /tmp ext4 /dev/xvda6 /var/log ext4 Grub is installed to xvda1 (not to xvda), which is an active/bootable partition. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=552774#c3 --- Comment #3 from Tamás Németh <nice@titanic.nyme.hu> 2009-11-18 17:37:43 UTC --- Created an attachment (id=328273) --> (http://bugzilla.novell.com/attachment.cgi?id=328273) error message of vm-install when trying to make the first reboot still during installation -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=552774#c4 Charles Arnold <carnold@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jfehlig@novell.com --- Comment #4 from Charles Arnold <carnold@novell.com> 2009-11-18 18:18:48 UTC --- Just for quicker reference, I'm pasting the error found in xend.log from the attachment in comment #2. [2009-11-18 18:14:46 20498] DEBUG (XendBootloader:130) Launching bootloader as ['/usr/lib/xen/boot/domUloader.py', '--args= ', '--output=/var/run/xend/boot/xenbl.26368', '--entry=xvda1:/boot/vmlinuz-xen,/boot/initrd-xen', '/dev/mapper/openSUSE111-64']. [2009-11-18 18:14:46 17532] ERROR (XendBootloader:231) Boot loader didn't return any data! [2009-11-18 18:14:46 17532] ERROR (XendDomainInfo:479) VM start failed Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 459, in start XendTask.log_progress(31, 60, self._initDomain) File "/usr/lib64/python2.6/site-packages/xen/xend/XendTask.py", line 209, in log_progress retval = func(*args, **kwds) File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 2527, in _initDomain self._configureBootloader() File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 2964, in _configureBootloader bootloader_args, kernel, ramdisk, args) File "/usr/lib64/python2.6/site-packages/xen/xend/XendBootloader.py", line 232, in bootloader raise VmError, msg VmError: Boot loader didn't return any data! -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=552774#c5 --- Comment #5 from Charles Arnold <carnold@novell.com> 2009-11-18 18:20:56 UTC --- I think we should have been using pygrub all along with os11.2 and I am going to go ahead and make that change in vm-install. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=552774 http://bugzilla.novell.com/show_bug.cgi?id=552774#c6 --- Comment #6 from Tamás Németh <nice@titanic.nyme.hu> 2009-12-08 13:05:17 UTC --- (In reply to comment #5)
I think we should have been using pygrub all along with os11.2 and I am going to go ahead and make that change in vm-install.
Thank you! And these issues shold be addressed, too: https://bugzilla.novell.com/show_bug.cgi?id=561601 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=552774 http://bugzilla.novell.com/show_bug.cgi?id=552774#c7 Charles Arnold <carnold@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED --- Comment #7 from Charles Arnold <carnold@novell.com> 2010-06-18 21:53:06 UTC --- Fixed in 11.2 and 11.3. -- Configure bugmail: http://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