This is a multipart message in MIME format.
------=_NextPart_000_0050_01D1F8B4.53BCD120
Content-Type: text/plain;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable
=20
Hi all,
I installed vdsm 4.18.11 in ovirt engine 4.0.2, uninstall
qemu-kvm-ev 2.3.0 with rpm =A8Ce =A8Cnodeps, and then compile and make =
install
qemu 2.5.1;=20
=20
The vdsm host is still up in ovirt engine, but when =A1=B0Run=A1=B1 Vm =
in this vdsm
host, it reports an error as:
=20
internal error: process exited while connecting to monitor: Could not =
access
KVM kernel module: Permission denied
failed to initialize KVM: Permission denied
=20
Here is the error log in VM:
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-=
B5C04F4
E4432,uuid=3Dba183268-e53c-4c7d-bfa5-1b5c32ab1965 -no-user-config =
-nodefaults
-chardev
socket,id=3Dcharmonitor,path=3D/var/lib/libvirt/qemu/domain-vm11111111111=
1111111
1111/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-45
82-a325-08676dc2e44c/images/6068705a-289d-4aef-a847-1c2331e1fe6c/2426ea66=
-bd
04-494a-afa5-09bdfbc1a17e,if=3Dnone,id=3Ddrive-virtio-disk0,format=3Dqcow=
2,serial=3D
6068705a-289d-4aef-a847-1c2331e1fe6c,cache=3Dnone,werror=3Dstop,rerror=3D=
stop,aio=3D
threads -device
virtio-blk-pci,scsi=3Doff,bus=3Dpci.0,addr=3D0x6,drive=3Ddrive-virtio-dis=
k0,id=3Dvirti
o-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=3D
0x3 -chardev
socket,id=3Dcharchannel0,path=3D/var/lib/libvirt/qemu/channels/ba183268-e=
53c-4c7
d-bfa5-1b5c32ab1965.com.redhat.rhevm.vdsm,server,nowait -device
virtserialport,bus=3Dvirtio-serial0.0,nr=3D1,chardev=3Dcharchannel0,id=3D=
channel0,na
me=3Dcom.redhat.rhevm.vdsm -chardev
socket,id=3Dcharchannel1,path=3D/var/lib/libvirt/qemu/channels/ba183268-e=
53c-4c7
d-bfa5-1b5c32ab1965.org.qemu.guest_agent.0,server,nowait -device
virtserialport,bus=3Dvirtio-serial0.0,nr=3D2,chardev=3Dcharchannel1,id=3D=
channel1,na
me=3Dorg.qemu.guest_agent.0 -chardev =
spicevmc,id=3Dcharchannel2,name=3Dvdagent
-device
virtserialport,bus=3Dvirtio-serial0.0,nr=3D3,chardev=3Dcharchannel2,id=3D=
channel2,na
me=3Dcom.redhat.spice.0 -spice
tls-port=3D5900,addr=3D192.168.0.115,x509-dir=3D/etc/pki/vdsm/libvirt-spi=
ce,tls-ch
annel=3Ddefault,tls-channel=3Dmain,tls-channel=3Ddisplay,tls-channel=3Din=
puts,tls-ch
annel=3Dcursor,tls-channel=3Dplayback,tls-channel=3Drecord,tls-channel=3D=
smartcard,t
ls-channel=3Dusbredir,seamless-migration=3Don -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
Could not access KVM kernel module: Permission denied
failed to initialize KVM: Permission denied
2016-08-17 02:02:48.418+0000: shutting down
=20
=20
Hope someone help me. Thank you.
Mark
------=_NextPart_000_0050_01D1F8B4.53BCD120
Content-Type: text/html;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dgb2312">
<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
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;
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;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@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 align=3Dleft =
style=3D'text-align:left'><span =
lang=3DEN-US><o:p> </o:p></span></p><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 =A8Ce =A8Cnodeps, 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 =A1=B0Run=A1=B1 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<o:p></o:p></span></p></div></body></html>
------=_NextPart_000_0050_01D1F8B4.53BCD120--