RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 890048 - integration: vdsm from 6.4 was successfully installed with qemu-kvm-rhev from rhel 6.3 - vm's with spice will crash when run
Summary: integration: vdsm from 6.4 was successfully installed with qemu-kvm-rhev from...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: spice-server
Version: 6.4
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: rc
: 6.4
Assignee: Uri Lublin
QA Contact: Desktop QE
URL:
Whiteboard: infra
: 890033 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-24 16:24 UTC by Dafna Ron
Modified: 2013-01-09 19:04 UTC (History)
25 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-09 14:05:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
logs from vm crash with wrong qemu and install of host (358.96 KB, application/x-gzip)
2012-12-24 16:24 UTC, Dafna Ron
no flags Details
vm core log (596.20 KB, application/x-xz)
2012-12-24 16:25 UTC, Dafna Ron
no flags Details

Description Dafna Ron 2012-12-24 16:24:50 UTC
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

Comment 1 Dafna Ron 2012-12-24 16:25:44 UTC
Created attachment 668534 [details]
vm core log

Comment 8 FuXiangChun 2012-12-31 07:57:28 UTC
Dafna,
      I am kvm QE, First need to confirm if libvirt(6.4) can install qemu-kvm(6.3.z), right?

Comment 10 FuXiangChun 2013-01-04 01:40:06 UTC
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

Comment 11 Yonit Halperin 2013-01-04 15:00:42 UTC
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.

Comment 13 FuXiangChun 2013-01-05 04:56:24 UTC
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

Comment 14 Dafna Ron 2013-01-06 08:49:43 UTC
(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.

Comment 15 Dafna Ron 2013-01-06 09:29:15 UTC
(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?

Comment 16 FuXiangChun 2013-01-07 01:42:43 UTC
(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.

Comment 20 Yonit Halperin 2013-01-08 16:07:13 UTC
*** Bug 890033 has been marked as a duplicate of this bug. ***

Comment 22 Haim 2013-01-08 16:28:26 UTC
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>

Comment 23 David Blechter 2013-01-08 17:05:17 UTC
(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?

Comment 25 Dafna Ron 2013-01-09 07:55:04 UTC
does not reproduce with spice-server-0.12.0-10.el6.x86_64

Comment 26 David Blechter 2013-01-09 14:05:09 UTC
Based on the latest comment closing the bug.


Note You need to log in before you can comment on or make changes to this bug.