[ovirt-devel] Running VM reports error when using qemu-2.5.1 replace qemu-kvm-ev 2.3.0 in vdsm 4.18.11

lifuqiong lifuqiong at cncloudsec.com
Wed Aug 17 02:32:43 UTC 2016


Hi all,

         I installed vdsm 4.18.11 in ovirt engine 4.0.2,  uninstall
qemu-kvm-ev 2.3.0 with rpm -e -nodeps,  and then compile and make install
qemu 2.5.1; 

 

The vdsm host is still up in ovirt engine, but when "Run" Vm in this vdsm
host, it reports an error as:

 

internal error: process exited while connecting to monitor: Could not access
KVM kernel module: Permission denied

failed to initialize KVM: Permission denied

 

Here is the error log in VM:

LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
QEMU_AUDIO_DRV=spice /usr/local/bin/qemu-system-x86_64 -name
vm1111111111111111111111 -S -machine pc-i440fx-2.1,accel=kvm,usb=off -cpu
Conroe -m size=1048576k,slots=16,maxmem=4294967296k -realtime mlock=off -smp
1,maxcpus=16,sockets=16,cores=1,threads=1 -numa
node,nodeid=0,cpus=0,mem=1024 -uuid ba183268-e53c-4c7d-bfa5-1b5c32ab1965
-smbios type=1,manufacturer=oVirt,product=oVirt
Node,version=7-2.1511.el7.centos.2.10,serial=4C4C4544-0031-3510-8059-B5C04F4
E4432,uuid=ba183268-e53c-4c7d-bfa5-1b5c32ab1965 -no-user-config -nodefaults
-chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-vm111111111111111111
1111/monitor.sock,server,nowait -mon
chardev=charmonitor,id=monitor,mode=control -rtc
base=2016-08-17T02:02:48,driftfix=slew -global
kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -boot strict=on
-device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device
virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5 -drive
if=none,id=drive-ide0-1-0,readonly=on,format=raw -device
ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive
file=/rhev/data-center/00000001-0001-0001-0001-0000000003c7/cddc3813-5db5-45
82-a325-08676dc2e44c/images/6068705a-289d-4aef-a847-1c2331e1fe6c/2426ea66-bd
04-494a-afa5-09bdfbc1a17e,if=none,id=drive-virtio-disk0,format=qcow2,serial=
6068705a-289d-4aef-a847-1c2331e1fe6c,cache=none,werror=stop,rerror=stop,aio=
threads -device
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virti
o-disk0,bootindex=1 -netdev tap,fd=27,id=hostnet0,vhost=on,vhostfd=28
-device
virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:16:01:5e,bus=pci.0,addr=
0x3 -chardev
socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/ba183268-e53c-4c7
d-bfa5-1b5c32ab1965.com.redhat.rhevm.vdsm,server,nowait -device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,na
me=com.redhat.rhevm.vdsm -chardev
socket,id=charchannel1,path=/var/lib/libvirt/qemu/channels/ba183268-e53c-4c7
d-bfa5-1b5c32ab1965.org.qemu.guest_agent.0,server,nowait -device
virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,na
me=org.qemu.guest_agent.0 -chardev spicevmc,id=charchannel2,name=vdagent
-device
virtserialport,bus=virtio-serial0.0,nr=3,chardev=charchannel2,id=channel2,na
me=com.redhat.spice.0 -spice
tls-port=5900,addr=192.168.0.115,x509-dir=/etc/pki/vdsm/libvirt-spice,tls-ch
annel=default,tls-channel=main,tls-channel=display,tls-channel=inputs,tls-ch
annel=cursor,tls-channel=playback,tls-channel=record,tls-channel=smartcard,t
ls-channel=usbredir,seamless-migration=on -device
qxl-vga,id=video0,ram_size=67108864,vram_size=33554432,vgamem_mb=16,bus=pci.
0,addr=0x2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 -msg
timestamp=on

Could not access KVM kernel module: Permission denied

failed to initialize KVM: Permission denied

2016-08-17 02:02:48.418+0000: shutting down

 

 

Hope someone help me. Thank you.

Mark

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20160817/434eaded/attachment-0001.html>


More information about the Devel mailing list