This is a multipart message in MIME format.
------=_NextPart_000_0031_01D1F872.B0E01250
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
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
------=_NextPart_000_0031_01D1F872.B0E01250
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:10.5pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
/* Page Definitions */
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DZH-CN
link=3Dblue =
vlink=3Dpurple style=3D'text-justify-trim:punctuation'><div =
class=3DWordSection1><p class=3DMsoNormal><span lang=3DEN-US>Hi =
all,<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>
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; <o:p></o:p></span></p><p
=
class=3DMsoNormal><span
lang=3DEN-US><o:p> </o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US>The vdsm host is still up in ovirt =
engine, but when “Run” Vm in this vdsm host, it reports an =
error as:<o:p></o:p></span></p><p class=3DMsoNormal><span
=
lang=3DEN-US><o:p> </o:p></span></p><p
class=3DMsoNormal><span =
lang=3DEN-US>internal error: process exited while connecting to monitor: =
Could not access KVM kernel module: Permission =
denied<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>failed to initialize KVM: Permission =
denied<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p> </o:p></span></p><p
class=3DMsoNormal><span =
lang=3DEN-US>Here is the error log in
VM:<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US>LC_ALL=3DC =
PATH=3D/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin =
QEMU_AUDIO_DRV=3Dspice /usr/local/bin/qemu-system-x86_64 -name =
vm1111111111111111111111 -S -machine pc-i440fx-2.1,accel=3Dkvm,usb=3Doff =
-cpu Conroe -m size=3D1048576k,slots=3D16,maxmem=3D4294967296k -realtime =
mlock=3Doff -smp 1,maxcpus=3D16,sockets=3D16,cores=3D1,threads=3D1 -numa =
node,nodeid=3D0,cpus=3D0,mem=3D1024 -uuid =
ba183268-e53c-4c7d-bfa5-1b5c32ab1965 -smbios =
type=3D1,manufacturer=3DoVirt,product=3DoVirt =
Node,version=3D7-2.1511.el7.centos.2.10,serial=3D4C4C4544-0031-3510-8059-=
B5C04F4E4432,uuid=3Dba183268-e53c-4c7d-bfa5-1b5c32ab1965 -no-user-config =
-nodefaults -chardev =
socket,id=3Dcharmonitor,path=3D/var/lib/libvirt/qemu/domain-vm11111111111=
11111111111/monitor.sock,server,nowait -mon =
chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol -rtc =
base=3D2016-08-17T02:02:48,driftfix=3Dslew -global =
kvm-pit.lost_tick_policy=3Ddiscard -no-hpet -no-shutdown -boot =
strict=3Don -device piix3-usb-uhci,id=3Dusb,bus=3Dpci.0,addr=3D0x1.0x2 =
-device =
virtio-serial-pci,id=3Dvirtio-serial0,max_ports=3D16,bus=3Dpci.0,addr=3D0=
x5 -drive if=3Dnone,id=3Ddrive-ide0-1-0,readonly=3Don,format=3Draw =
-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0 =
-drive =
file=3D/rhev/data-center/00000001-0001-0001-0001-0000000003c7/cddc3813-5d=
b5-4582-a325-08676dc2e44c/images/6068705a-289d-4aef-a847-1c2331e1fe6c/242=
6ea66-bd04-494a-afa5-09bdfbc1a17e,if=3Dnone,id=3Ddrive-virtio-disk0,forma=
t=3Dqcow2,serial=3D6068705a-289d-4aef-a847-1c2331e1fe6c,cache=3Dnone,werr=
or=3Dstop,rerror=3Dstop,aio=3Dthreads -device =
virtio-blk-pci,scsi=3Doff,bus=3Dpci.0,addr=3D0x6,drive=3Ddrive-virtio-dis=
k0,id=3Dvirtio-disk0,bootindex=3D1 -netdev =
tap,fd=3D27,id=3Dhostnet0,vhost=3Don,vhostfd=3D28 -device =
virtio-net-pci,netdev=3Dhostnet0,id=3Dnet0,mac=3D00:1a:4a:16:01:5e,bus=3D=
pci.0,addr=3D0x3 -chardev =
socket,id=3Dcharchannel0,path=3D/var/lib/libvirt/qemu/channels/ba183268-e=
53c-4c7d-bfa5-1b5c32ab1965.com.redhat.rhevm.vdsm,server,nowait -device =
virtserialport,bus=3Dvirtio-serial0.0,nr=3D1,chardev=3Dcharchannel0,id=3D=
channel0,name=3Dcom.redhat.rhevm.vdsm -chardev =
socket,id=3Dcharchannel1,path=3D/var/lib/libvirt/qemu/channels/ba183268-e=
53c-4c7d-bfa5-1b5c32ab1965.org.qemu.guest_agent.0,server,nowait -device =
virtserialport,bus=3Dvirtio-serial0.0,nr=3D2,chardev=3Dcharchannel1,id=3D=
channel1,name=3Dorg.qemu.guest_agent.0 -chardev =
spicevmc,id=3Dcharchannel2,name=3Dvdagent -device =
virtserialport,bus=3Dvirtio-serial0.0,nr=3D3,chardev=3Dcharchannel2,id=3D=
channel2,name=3Dcom.redhat.spice.0 -spice =
tls-port=3D5900,addr=3D192.168.0.115,x509-dir=3D/etc/pki/vdsm/libvirt-spi=
ce,tls-channel=3Ddefault,tls-channel=3Dmain,tls-channel=3Ddisplay,tls-cha=
nnel=3Dinputs,tls-channel=3Dcursor,tls-channel=3Dplayback,tls-channel=3Dr=
ecord,tls-channel=3Dsmartcard,tls-channel=3Dusbredir,seamless-migration=3D=
on -device =
qxl-vga,id=3Dvideo0,ram_size=3D67108864,vram_size=3D33554432,vgamem_mb=3D=
16,bus=3Dpci.0,addr=3D0x2 -device =
virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x7 -msg =
timestamp=3Don<o:p></o:p></span></p><p
class=3DMsoNormal><span =
lang=3DEN-US>Could not access KVM kernel module: Permission =
denied<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>failed to initialize KVM: Permission =
denied<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>2016-08-17 02:02:48.418+0000: shutting =
down<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p> </o:p></span></p><p
class=3DMsoNormal><span =
lang=3DEN-US><o:p> </o:p></span></p><p
class=3DMsoNormal><span =
lang=3DEN-US>Hope someone help me. Thank
you.<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US>Mark</span><span =
lang=3DEN-US><o:p></o:p></span></p></div></body></html>
------=_NextPart_000_0031_01D1F872.B0E01250--