[Bug 797699] New: libvirt: wrong path to pygrub breaks paravirt
https://bugzilla.novell.com/show_bug.cgi?id=797699 https://bugzilla.novell.com/show_bug.cgi?id=797699#c0 Summary: libvirt: wrong path to pygrub breaks paravirt Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: All OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Xen AssignedTo: jdouglas@suse.com ReportedBy: chenxiaolong@cxl.epac.to QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 openSUSE installs Xen's pygrub to /usr/bin/pygrub, but libvirt looks for /usr/lib/xen-default/bin/pygrub. It gives a rather unhelpful error: Error starting domain: POST operation failed: xend_post: error from xen daemon: (xend.err "Bootloader isn't executable") The libvirt package should be patched to use the correct path. Reproducible: Always Steps to Reproduce: 1. Create a paravirtualized guest using virt-install or virt-manager. 2. Run "virsh dumpxml myguest" Actual Results: Notice that the xml output contains: <bootloader>/usr/lib/xen-default/bin/pygrub</bootloader> Expected Results: The expected result is: <bootloader>/usr/bin/pygrub</bootloader> The issue can be manually worked around in the meantime by dumping the xml, modifying it, and loading it back into libvirt. $ virsh dumpxml myguest > myguest.xml $ sed -i 's|/usr/lib/xen-default/bin/pygrub|/usr/bin/pygrub|g' myguest.xml $ virsh create myguest.xml -- 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=797699
https://bugzilla.novell.com/show_bug.cgi?id=797699#c
Jason Douglas
https://bugzilla.novell.com/show_bug.cgi?id=797699
https://bugzilla.novell.com/show_bug.cgi?id=797699#c1
James Fehlig
Steps to Reproduce: 1. Create a paravirtualized guest using virt-install or virt-manager. 2. Run "virsh dumpxml myguest" Actual Results: Notice that the xml output contains:
<bootloader>/usr/lib/xen-default/bin/pygrub</bootloader>
Seems virt-install generates the incorrect bootloader path. Have you tried vm-install? It generates the correct bootloader path. -- 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=797699
https://bugzilla.novell.com/show_bug.cgi?id=797699#c2
Charles Arnold
(In reply to comment #0)
Steps to Reproduce: 1. Create a paravirtualized guest using virt-install or virt-manager. 2. Run "virsh dumpxml myguest" Actual Results: Notice that the xml output contains:
<bootloader>/usr/lib/xen-default/bin/pygrub</bootloader>
Seems virt-install generates the incorrect bootloader path.
No, it generates the correct path.
Have you tried vm-install? It generates the correct bootloader path.
Yes, but using virt-install via virt-manager also works for me. I see no place where 'xen-default' is used accept in the python-virtinst tests (which are not contained in the RPM and should not be installed). Have you installed virt-install from some other source (eg, checked out the 'git' repo and installed)? What are the package versions you have installed for libvirt, python-virtinst and virt-manager (rpm -qa | grep virt)? -- 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=797699
https://bugzilla.novell.com/show_bug.cgi?id=797699#c3
--- Comment #3 from Xiao-Long Chen
https://bugzilla.novell.com/show_bug.cgi?id=797699
https://bugzilla.novell.com/show_bug.cgi?id=797699#c4
--- Comment #4 from Xiao-Long Chen
https://bugzilla.novell.com/show_bug.cgi?id=797699
https://bugzilla.novell.com/show_bug.cgi?id=797699#c5
Charles Arnold
participants (1)
-
bugzilla_noreply@novell.com