Bug 834443
Summary: | Can't power on VMs after upgrade from RHEL 6.2 to RHEL 6.3 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Swapna Krishnan <skrishna> | ||||||
Component: | virt-manager | Assignee: | virt-mgr-maint | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 6.3 | CC: | dallan, dyasny, gkong, juzhang, jwu, mzhan, skrishna, yupzhang, zpeng | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2012-07-24 19:05:19 UTC | Type: | Bug | ||||||
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
Swapna Krishnan
2012-06-21 21:42:34 UTC
I tried modifying /etc/libvirt/qemu.conf by making spice_tls = 0 and removed tlsPort from the domain xml. Then restarted libvirtd and tried to power on the guest. It still gives same error message. I have retried this bug with following steps, but I cannot reproduce it. Maybe I missed something, please give me some advice if possible. 1. Install rhel6u2 on host. 2. Install a spice guest, make sure it has following contents in xml. <graphics type='spice' port='5930' tlsPort='5931' autoport='no' listen='0.0.0.0'> <listen type='address' address='0.0.0.0'/> </graphics> 3. Make a rhel6u3 RC4 repo, then execut #yum update 4. Reboot the host. 5. #virsh start $guest(guest cannot be started and there is the same error as bug) 5. Edit /etc/libvirt/qemu.conf, set #spice_tls=1 as spice_tls=0 6. Virsh edit the guest, delete tlsPort='5931' and save it. 7. #service libvirtd restart 8. #virsh start $guest. Actual Result: 1. After step 8, guest can be started normally. (In reply to comment #3) > I have retried this bug with following steps, but I cannot reproduce it. > Maybe I missed something, please give me some advice if possible. > 1. Install rhel6u2 on host. > 2. Install a spice guest, make sure it has following contents in xml. > <graphics type='spice' port='5930' tlsPort='5931' autoport='no' > listen='0.0.0.0'> > <listen type='address' address='0.0.0.0'/> > </graphics> > 3. Make a rhel6u3 RC4 repo, then execut #yum update > 4. Reboot the host. > 5. #virsh start $guest(guest cannot be started and there is the same error > as bug) > 5. Edit /etc/libvirt/qemu.conf, set #spice_tls=1 as spice_tls=0 > 6. Virsh edit the guest, delete tlsPort='5931' and save it. > 7. #service libvirtd restart > 8. #virsh start $guest. > > Actual Result: > 1. After step 8, guest can be started normally. The same steps don't work for me. Could you please mention the version nos of libvirt, qemu-kvm and virt-manager to make sure they are the same as on my machine? Looks they are same as yours, they are included by OS build RHEL6.3-20120613.2 x86_64. I didn't change them, and kernel version is 2.6.32-279.el6.x86_64. (In reply to comment #5) > Looks they are same as yours, they are included by OS build > RHEL6.3-20120613.2 x86_64. I didn't change them, and kernel version is > 2.6.32-279.el6.x86_64. I updated another one of my machines to RHEL 6.3 from RHEL 6.2 and hit the same issue for all the VMs there. I have now been able to reproduce this on 2 of my machines. Could you please give me the entire domain xml of your guest? I would like to compare with my guest. I tried cloning my old VMs and removing just the tlsPort from the xml and was able to power them on. It's only the old VMs which already existed when the upgrade was made which is still giving issues. Thanks, - Swapna Created attachment 595862 [details]
Modified guest's xml file
Created attachment 595863 [details]
Original guest's xml file
I have retried again, still cannot reproduce this bug. And have attached guest's xml file. One is original from 6u2, another one is modified file, from 6u3 This error message explains what's happening: libvirtError: unsupported configuration: spice TLS port set in XML configuration, but TLS is disabled in qemu.conf You've requested a secure connection in the guest XML, but the host isn't capable of honoring it. Rather than silently let you boot insecurely, libvirt now rejects this scenario with this error message. *** This bug has been marked as a duplicate of bug 790436 *** |