On Wed, Jun 10, 2015 at 06:02:01PM +0800, 肖力 wrote:
Hi My versions of your kernel, qemu-kvm, libvirt, and vdsm is:
Thanks. I don't really have a clue, but I have further question, that
may help qemu/libvirt identify the bug:
Kernel 2.6.32-504.16.2.el6.x86_64
qemu-kvm qemu-kvm qemu-kvm-rhev-0.12.1.2-2.448.el6_6.2
libvirt 0.10.2
can you share the complete `rpm -q libvirt`?
vdsm 3.5.2
This is an ovirt version, not a vdsm version.
Can you see something interesting in libvirtd.log? Can you share
/var/log/libvirt/qemu/yourvm.log ?
Does this happen with more than one VM? On different hosts?
vm xml:
<domain type='kvm' id='7'>
<name>ubuntu1410-72</name>
<uuid>4db31f4b-db2e-4b26-b23a-52ca62edb945</uuid>
<memory unit='KiB'>8388608</memory>
<currentMemory unit='KiB'>8388608</currentMemory>
<vcpu placement='static' current='8'>16</vcpu>
<cputune>
<shares>1020</shares>
<period>12500</period>
<quota>12500</quota>
</cputune>
<sysinfo type='smbios'>
<system>
<entry name='manufacturer'>oVirt</entry>
<entry name='product'>oVirt Node</entry>
<entry name='version'>6-6.el6.centos.12.2</entry>
<entry
name='serial'>00000000-0000-3032-3142-413956574530</entry>
<entry
name='uuid'>4db31f4b-db2e-4b26-b23a-52ca62edb945</entry>
</system>
</sysinfo>
<os>
<type arch='x86_64' machine='rhel6.5.0'>hvm</type>
<smbios mode='sysinfo'/>
</os>
<features>
<acpi/>
</features>
<cpu mode='custom' match='exact'>
<model fallback='allow'>Penryn</model>
<topology sockets='16' cores='1' threads='1'/>
</cpu>
<clock offset='variable' adjustment='0' basis='utc'>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/libexec/qemu-kvm</emulator>
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
<source startupPolicy='optional'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<serial></serial>
<alias name='ide0-1-0'/>
<address type='drive' controller='0' bus='1'
target='0' unit='0'/>
</disk>
<disk type='block' device='disk' snapshot='no'>
<driver name='qemu' type='raw' cache='none'
error_policy='stop' io='native'/>
<source
dev='/rhev/data-center/d8dadd26-ce25-4d46-8e4a-b033cc01415f/4a12bcb7-1498-4321-bdd1-37481b106f11/images/58e47d6d-4202-40d6-a224-daddbe232deb/003af864-5ff8-46f2-96e8-8327d3d91eb7'/>
<target dev='vda' bus='virtio'/>
<serial>58e47d6d-4202-40d6-a224-daddbe232deb</serial>
<boot order='1'/>
<alias name='virtio-disk0'/>
<address type='pci' domain='0x0000' bus='0x00'
slot='0x05' function='0x0'/>
</disk>
<controller type='scsi' index='0' model='virtio-scsi'>
<alias name='scsi0'/>
<address type='pci' domain='0x0000' bus='0x00'
slot='0x03' function='0x0'/>
</controller>
<controller type='virtio-serial' index='0' ports='16'>
<alias name='virtio-serial0'/>
<address type='pci' domain='0x0000' bus='0x00'
slot='0x04' function='0x0'/>
</controller>
<controller type='usb' index='0'>
<alias name='usb0'/>
<address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x2'/>
</controller>
<controller type='ide' index='0'>
<alias name='ide0'/>
<address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/>
</controller>
<interface type='bridge'>
<mac address='00:1a:4a:43:e8:0c'/>
<source bridge='ovirtmgmt'/>
<bandwidth>
</bandwidth>
<target dev='vnet6'/>
<model type='virtio'/>
<filterref filter='vdsm-no-mac-spoofing'/>
<link state='up'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00'
slot='0x07' function='0x0'/>
</interface>
<channel type='unix'>
<source mode='bind'
path='/var/lib/libvirt/qemu/channels/4db31f4b-db2e-4b26-b23a-52ca62edb945.com.redhat.rhevm.vdsm'/>
<target type='virtio' name='com.redhat.rhevm.vdsm'/>
<alias name='channel0'/>
<address type='virtio-serial' controller='0' bus='0'
port='1'/>
</channel>
<channel type='unix'>
<source mode='bind'
path='/var/lib/libvirt/qemu/channels/4db31f4b-db2e-4b26-b23a-52ca62edb945.org.qemu.guest_agent.0'/>
<target type='virtio' name='org.qemu.guest_agent.0'/>
<alias name='channel1'/>
<address type='virtio-serial' controller='0' bus='0'
port='2'/>
</channel>
<channel type='spicevmc'>
<target type='virtio' name='com.redhat.spice.0'/>
<alias name='channel2'/>
<address type='virtio-serial' controller='0' bus='0'
port='3'/>
</channel>
<input type='mouse' bus='ps2'/>
<graphics type='spice' tlsPort='5906' autoport='yes'
keymap='en-us' passwdValidTo='1970-01-01T00:00:01'>
<listen type='network' address='10.20.122.14'
network='vdsm-ovirtmgmt'/>
<channel name='main' mode='secure'/>
<channel name='display' mode='secure'/>
<channel name='inputs' mode='secure'/>
<channel name='cursor' mode='secure'/>
<channel name='playback' mode='secure'/>
<channel name='record' mode='secure'/>
<channel name='smartcard' mode='secure'/>
<channel name='usbredir' mode='secure'/>
</graphics>
<video>
<model type='qxl' ram='65536' vram='32768'
heads='1'/>
<alias name='video0'/>
<address type='pci' domain='0x0000' bus='0x00'
slot='0x02' function='0x0'/>
</video>
<memballoon model='virtio'>
<alias name='balloon0'/>
<address type='pci' domain='0x0000' bus='0x00'
slot='0x06' function='0x0'/>
</memballoon>
</devices>
</domain>
tks!
At 2015-06-10 16:06:54, "Dan Kenigsberg" <danken(a)redhat.com> wrote:
>On Wed, Jun 10, 2015 at 09:06:43AM +0800, 肖力 wrote:
>> Hi
>> I can not kill by oVirt.
>> When i power off vm by oVirt web ,It is failed.
>> And i use virsh destroy vm, failed too,and have list info:
>> error: Failed to destroy domain 1
>> error: operation failed: failed to kill qemu process with SIGTERM
>> What can i do,ths!
>
>It smells like a qemu bug. We recently seen a similar behavior while
>attaching host devices to the VM, but I assume this is not your case.
>
>Please share the versions of your kernel, qemu-kvm, libvirt, and vdsm.
>Include your
>
> virsh -r dumpxml <vm_name>
>
>Does this happen with more than one VM? On different hosts?
>
>Dan.