Bug 243872
Summary: | fence_xvmd doesn't reboot VM | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Christine Caulfield <ccaulfie> | ||||||
Component: | cman | Assignee: | Lon Hohberger <lhh> | ||||||
Status: | CLOSED ERRATA | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 5.0 | CC: | cluster-maint | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | RHBA-2007-0575 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2007-11-07 16:59:39 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Christine Caulfield
2007-06-12 14:30:36 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. Patrick, can we get: * virsh dumpxml (while running) (I think we had this from fence_xvmd; I'll look at IRC logs) * original domain config Rebooting domain pjc-xen-06... [[ XML Domain Info ]] <domain type='xen' id='696'> <name>pjc-xen-06</name> <uuid>fcdd2236ddc18c800b62380548265822</uuid> <os> <type>hvm</type> <loader>/usr/lib/xen/boot/hvmloader</loader> </os> <memory>524288</memory> <vcpu>1</vcpu> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <features> <pae/> </features> <devices> <emulator>/usr/lib/xen/bin/qemu-dm</emulator> <interface type='bridge'> <source bridge='xenbr0'/> <mac address='02:10:15:84:04:06'/> <script path='vif-bridge'/> </interface> <disk type='file' device='disk'> <driver name='file'/> <source file='/root/pjc6'/> <target dev='hda'/> </disk> <graphics type='vnc' port='5900'/> <console tty='/dev/pts/0'/> </devices> </domain> [[ XML END ]] Clearing 82 bytes starting @ 0x916e2f9 [[ XML Domain Info (modified) ]] <domain type='xen' id='696'> <name>pjc-xen-06</name> <uuid>fcdd2236ddc18c800b62380548265822</uuid> <memory>524288</memory> <vcpu>1</vcpu> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <features> <pae/> </features> <devices> <emulator>/usr/lib/xen/bin/qemu-dm</emulator> <interface type='bridge'> <source bridge='xenbr0'/> <mac address='02:10:15:84:04:06'/> <script path='vif-bridge'/> </interface> <disk type='file' device='disk'> <driver name='file'/> <source file='/root/pjc6'/> <target dev='hda'/> </disk> <graphics type='vnc' port='5900'/> <console tty='/dev/pts/0'/> </devices> </domain> [[ XML END ]] [REBOOT] Calling virDomainDestroy Calling virDomainCreateLinux()... libvir: error : missing operating system information for pjc-xen-06 libvir: Xen Daemon error : XML description for Failed to parse the XML domain description is not well formed or invalid Sending response to caller... Feeding in the *unaltered* XML to virDomainCreateLinux(), we get: libvir: Xen Daemon error : POST operation failed: (xend.err 'Error creating domain: int argument required') If possible, libvirt + xen RPM versions might be helpful, I think, too. [root@bid-04 xen]# rpm -q xen libvirt xen-3.0.3-25.el5 libvirt-0.1.8-15.el5 Created attachment 157757 [details]
virtual machine config
Ok, we need to flip the port to '-1' for the graphics block. Also, for full-virt instances, we need to *not* kill the <os> block. Created attachment 157918 [details]
Allows hvm rebooting
I regression-tested this on a 5-node rhel5 cluster w/ paravirt rhel5 guests as well as a single-node full-virt setup. Works for me :-) An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2007-0575.html |