Bug 890048
| Summary: | integration: vdsm from 6.4 was successfully installed with qemu-kvm-rhev from rhel 6.3 - vm's with spice will crash when run | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Dafna Ron <dron> | ||||||
| Component: | spice-server | Assignee: | Uri Lublin <uril> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Desktop QE <desktop-qa-list> | ||||||
| Severity: | urgent | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 6.4 | CC: | abaron, acathrow, alonbl, areis, bazulay, bsarathy, cfergeau, danken, dblechte, ddumas, dougsland, dyasny, hateya, iheim, juzhang, lpeer, michen, mkenneth, mkrcmari, qzhang, Rhev-m-bugs, virt-maint, xfu, yhalperi, ykaul | ||||||
| Target Milestone: | rc | Keywords: | Regression | ||||||
| Target Release: | 6.4 | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | infra | ||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2013-01-09 14:05:09 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: |
|
||||||||
Created attachment 668534 [details]
vm core log
Dafna,
I am kvm QE, First need to confirm if libvirt(6.4) can install qemu-kvm(6.3.z), right?
Testing this issue use the following steps. 1. install libvirt first in 6.4 host libvirt-0.10.2-12.el6.x86_64 2. install 6.3-z qemu-kvm and spice server qemu-kvm-0.12.1.2-2.295.el6_3.10.x86_64 spice-server-0.12.0-8.el6.x86_64 3. boot qemu in cli with spice /usr/libexec/qemu-kvm -vga qxl -spice port=5901,disable-ticketing (gdb) bt #0 0x00007ffff7fb469f in ?? () #1 0x00007fffd01d80a0 in ?? () #2 0x00007fffd00008c0 in ?? () #3 0x00007ffff5f76068 in ?? () from /usr/lib64/libspice-server.so.1 #4 0x00007ffff5f76930 in ?? () from /usr/lib64/libspice-server.so.1 #5 0x00007ffff5f6aca7 in ?? () from /usr/lib64/libspice-server.so.1 #6 0x00007ffff5f8b9ce in ?? () from /usr/lib64/libspice-server.so.1 #7 0x00007ffff7748851 in start_thread () from /lib64/libpthread.so.0 #8 0x00007ffff580890d in clone () from /lib64/libc.so.6 Please try spice-server >= spice-server-0.12.0-9.el6.x86_64; it includes a patch that handles a crash related to executing qemu <= 6.3 with 6.4 spice-server. Install 6.4 spice server and 6.3z qemu. # rpm -qa|grep spice spice-server-0.12.0-9.el6.x86_64 spice-server-debuginfo-0.12.0-9.el6.x86_64 # rpm -qa|grep qemu qemu-kvm-0.12.1.2-2.295.el6_3.10.x86_64 run qemu with spice # /usr/libexec/qemu-kvm -vga qxl -spice port=5901,disable-ticketing result: no core dump and qemu works well (In reply to comment #8) > Dafna, > I am kvm QE, First need to confirm if libvirt(6.4) can install > qemu-kvm(6.3.z), right? it can, if it can't we would have fail on dependency in yum. (In reply to comment #13) > Install 6.4 spice server and 6.3z qemu. > # rpm -qa|grep spice > spice-server-0.12.0-9.el6.x86_64 > spice-server-debuginfo-0.12.0-9.el6.x86_64 > > # rpm -qa|grep qemu > qemu-kvm-0.12.1.2-2.295.el6_3.10.x86_64 > > run qemu with spice > # /usr/libexec/qemu-kvm -vga qxl -spice port=5901,disable-ticketing > > result: > no core dump and qemu works well did you install 6.3z qemu on rhel6.4? which vdsm/libvirt versions? (In reply to comment #15) > (In reply to comment #13) > > Install 6.4 spice server and 6.3z qemu. > > # rpm -qa|grep spice > > spice-server-0.12.0-9.el6.x86_64 > > spice-server-debuginfo-0.12.0-9.el6.x86_64 > > > > # rpm -qa|grep qemu > > qemu-kvm-0.12.1.2-2.295.el6_3.10.x86_64 > > > > run qemu with spice > > # /usr/libexec/qemu-kvm -vga qxl -spice port=5901,disable-ticketing > > > > result: > > no core dump and qemu works well > > did you install 6.3z qemu on rhel6.4? > which vdsm/libvirt versions? Yes, I install 6.3z qemu on rhel6.4. # uname -r 2.6.32-348.el6.x86_6 libvirt version: # rpm -qa|grep libvirt libvirt-0.10.2-12.el6.x86_64 I don't install vdsm. *** Bug 890033 has been marked as a duplicate of this bug. *** guys, its easly reproduces, please save the below into a file and run using virsh: <domain type="kvm"> <name>VIRT</name> <uuid>6f5c54c3-1018-4dd3-9f0f-93fda9a9cdac</uuid> <memory>524288</memory> <currentMemory>524288</currentMemory> <vcpu>1</vcpu> <devices> <channel type="unix"> <target name="com.redhat.rhevm.vdsm" type="virtio"/> <source mode="bind" path="/var/lib/libvirt/qemu/channels/VIRT.com.redhat.rhevm.vdsm"/> </channel> <channel type="unix"> <target name="org.qemu.guest_agent.0" type="virtio"/> <source mode="bind" path="/var/lib/libvirt/qemu/channels/VIRT.org.qemu.guest_agent.0"/> </channel> <input bus="ps2" type="mouse"/> <channel type="spicevmc"> <target name="com.redhat.spice.0" type="virtio"/> </channel> <graphics autoport="yes" keymap="en-us" listen="0" passwd="*****" passwdValidTo="1970-01-01T00:00:01" port="-1" tlsPort="-1" type="spice"> <channel mode="secure" name="main"/> <channel mode="secure" name="inputs"/> <channel mode="secure" name="cursor"/> <channel mode="secure" name="playback"/> <channel mode="secure" name="record"/> <channel mode="secure" name="display"/> <channel mode="secure" name="usbredir"/> <channel mode="secure" name="smartcard"/> </graphics> <console type="pty"> <target port="0" type="virtio"/> </console> <sound model="ich6"> <address function="0x0" slot="0x04" type="pci" bus="0x00" domain="0x0000"/> </sound> <video> <model heads="1" type="qxl" vram="65536"/> </video> <interface type="bridge"> <address function="0x0" slot="0x03" type="pci" bus="0x00" domain="0x0000"/> <mac address="00:1a:4a:23:61:66"/> <model type="virtio"/> <source bridge="rhevm"/> </interface> <memballoon model="virtio"/> <disk device="cdrom" snapshot="no" type="file"> <address controller="0" target="0" type="drive" unit="0" bus="1"/> <source file="" startupPolicy="optional"/> <target bus="ide" dev="hdc"/> <readonly/> <serial></serial> </disk> <disk device="disk" snapshot="no" type="block"> <address function="0x0" slot="0x06" type="pci" bus="0x00" domain="0x0000"/> <source dev="/rhev/data-center/6c86ed11-daf6-4284-835b-4b108061145a/1ac8d5a2-b00e-42f5-9a99-69c71110c78b/images/335b3c0c-a9f3-42f5-a558-b5915385db95/5713ff54-7a48-485b-aa82-fac6dba9b755"/> <target bus="virtio" dev="vda"/> <serial>335b3c0c-a9f3-42f5-a558-b5915385db95</serial> <driver cache="none" error_policy="stop" io="native" name="qemu" type="raw"/> </disk> </devices> <os> <type arch="x86_64" machine="rhel6.3.0">hvm</type> <smbios mode="sysinfo"/> </os> <sysinfo type="smbios"> <system> <entry name="manufacturer">Red Hat</entry> <entry name="product">RHEV Hypervisor</entry> <entry name="version">6Server-6.4.0.3.el6</entry> <entry name="serial">58BF6CC0-8ED1-11E0-A8E7-CFC2C2C2C2D6</entry> <entry name="uuid">6f5c54c3-1018-4dd3-9f0f-93fda9a9cdac</entry> </system> </sysinfo> <clock adjustment="-43200" offset="variable"> <timer name="rtc" tickpolicy="catchup"/> </clock> <features> <acpi/> </features> <cpu match="exact"> <model>Conroe</model> <topology cores="1" sockets="1" threads="1"/> </cpu> </domain> (In reply to comment #22) > guys, its easly reproduces, please save the below into a file and run using > virsh: > > <domain type="kvm"> > <name>VIRT</name> > <uuid>6f5c54c3-1018-4dd3-9f0f-93fda9a9cdac</uuid> > <memory>524288</memory> > <currentMemory>524288</currentMemory> > <vcpu>1</vcpu> > <devices> > <channel type="unix"> > <target name="com.redhat.rhevm.vdsm" type="virtio"/> > <source mode="bind" > path="/var/lib/libvirt/qemu/channels/VIRT.com.redhat.rhevm.vdsm"/> > </channel> > <channel type="unix"> > <target name="org.qemu.guest_agent.0" type="virtio"/> > <source mode="bind" > path="/var/lib/libvirt/qemu/channels/VIRT.org.qemu.guest_agent.0"/> > </channel> > <input bus="ps2" type="mouse"/> > <channel type="spicevmc"> > <target name="com.redhat.spice.0" type="virtio"/> > </channel> > <graphics autoport="yes" keymap="en-us" listen="0" passwd="*****" > passwdValidTo="1970-01-01T00:00:01" port="-1" tlsPort="-1" type="spice"> > <channel mode="secure" name="main"/> > <channel mode="secure" name="inputs"/> > <channel mode="secure" name="cursor"/> > <channel mode="secure" name="playback"/> > <channel mode="secure" name="record"/> > <channel mode="secure" name="display"/> > <channel mode="secure" name="usbredir"/> > <channel mode="secure" name="smartcard"/> > </graphics> > <console type="pty"> > <target port="0" type="virtio"/> > </console> > <sound model="ich6"> > <address function="0x0" slot="0x04" type="pci" bus="0x00" > domain="0x0000"/> > </sound> > <video> > <model heads="1" type="qxl" vram="65536"/> > </video> > <interface type="bridge"> > <address function="0x0" slot="0x03" type="pci" bus="0x00" > domain="0x0000"/> > <mac address="00:1a:4a:23:61:66"/> > <model type="virtio"/> > <source bridge="rhevm"/> > </interface> > <memballoon model="virtio"/> > <disk device="cdrom" snapshot="no" type="file"> > <address controller="0" target="0" type="drive" unit="0" bus="1"/> > <source file="" startupPolicy="optional"/> > <target bus="ide" dev="hdc"/> > <readonly/> > <serial></serial> > </disk> > <disk device="disk" snapshot="no" type="block"> > <address function="0x0" slot="0x06" type="pci" bus="0x00" > domain="0x0000"/> > <source > dev="/rhev/data-center/6c86ed11-daf6-4284-835b-4b108061145a/1ac8d5a2-b00e- > 42f5-9a99-69c71110c78b/images/335b3c0c-a9f3-42f5-a558-b5915385db95/5713ff54- > 7a48-485b-aa82-fac6dba9b755"/> > <target bus="virtio" dev="vda"/> > <serial>335b3c0c-a9f3-42f5-a558-b5915385db95</serial> > <driver cache="none" error_policy="stop" io="native" name="qemu" > type="raw"/> > </disk> > </devices> > <os> > <type arch="x86_64" machine="rhel6.3.0">hvm</type> > <smbios mode="sysinfo"/> > </os> > <sysinfo type="smbios"> > <system> > <entry name="manufacturer">Red Hat</entry> > <entry name="product">RHEV Hypervisor</entry> > <entry name="version">6Server-6.4.0.3.el6</entry> > <entry name="serial">58BF6CC0-8ED1-11E0-A8E7-CFC2C2C2C2D6</entry> > <entry name="uuid">6f5c54c3-1018-4dd3-9f0f-93fda9a9cdac</entry> > </system> > </sysinfo> > <clock adjustment="-43200" offset="variable"> > <timer name="rtc" tickpolicy="catchup"/> > </clock> > <features> > <acpi/> > </features> > <cpu match="exact"> > <model>Conroe</model> > <topology cores="1" sockets="1" threads="1"/> > </cpu> > </domain> can you confirm that the last version of spice-server-0.12.0-10.el6 or even xxx-9.el6 were used? does not reproduce with spice-server-0.12.0-10.el6.x86_64 Based on the latest comment closing the bug. |
Created attachment 668533 [details] logs from vm crash with wrong qemu and install of host Description of problem: I installed a rhel6.4 host and because the qemu-kvm-rhevm for rhel6.4 was missing from the repo for rhel6.4 engine installed the qemu-kvm-rhev from the 6.3 channel. since vms with spice are crashing when we try to run them with qemu from 6.3 I think we should fail the host install (change the vdsm dependency). Version-Release number of selected component (if applicable): sf1 How reproducible: 100% Steps to Reproduce: 1. install a rhel6.4 host 2. register the host to the 6.3 channel and provide a repo for rhel6.4 that only has qemu-kvm (not qemu-kvm-rhel) 3. install the host Actual results: host is installed successfully. Expected results: we should not succeed with the install. Additional info:logs