<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi.<div><br></div><div>I try to create VM in oVirt interface.</div><div>New VM failed to start</div><div><br></div><div>In oVirt interface Tasks log:</div><div><br></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande', 'Luxi Sans', 'Bitstream Vera Sans', 'Trebuchet MS', helvetica, verdana, arial, sans-serif; font-size: 12px; line-height: 16px; white-space: nowrap; ">Error creating virtual machine: Error: Error creating new domain (virDomainCreate). Subsystem qemu: internal error unable to start guest: </span></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande', 'Luxi Sans', 'Bitstream Vera Sans', 'Trebuchet MS', helvetica, verdana, arial, sans-serif; font-size: 12px; line-height: 16px; white-space: nowrap; ">bind(unix:/var/lib/libvirt/qemu/test.monitor): Permission denied qemu: could not open monitor device 'unix:/var/lib/libvirt/qemu/test.monitor,server,nowait' in </span></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande', 'Luxi Sans', 'Bitstream Vera Sans', 'Trebuchet MS', helvetica, verdana, arial, sans-serif; font-size: 12px; line-height: 16px; white-space: nowrap; ">DomainWrap.cpp:ManagementMethod:115</span></div><div><font class="Apple-style-span" face="'Lucida Grande', 'Luxi Sans', 'Bitstream Vera Sans', 'Trebuchet MS', helvetica, verdana, arial, sans-serif"><span class="Apple-style-span" style="line-height: 16px; white-space: nowrap;"><br></span></font></div><div><font class="Apple-style-span" face="'Lucida Grande', 'Luxi Sans', 'Bitstream Vera Sans', 'Trebuchet MS', helvetica, verdana, arial, sans-serif"><span class="Apple-style-span" style="line-height: 16px; white-space: nowrap;">What rights should be on <span class="Apple-style-span" style="font-size: 12px; ">/var/lib/libvirt/qemu/ ?</span></span></font></div><div><font class="Apple-style-span" face="'Lucida Grande', 'Luxi Sans', 'Bitstream Vera Sans', 'Trebuchet MS', helvetica, verdana, arial, sans-serif"><span class="Apple-style-span" style="line-height: 16px; white-space: nowrap;">Default is:</span></font></div><div><font class="Apple-style-span" face="'Lucida Grande', 'Luxi Sans', 'Bitstream Vera Sans', 'Trebuchet MS', helvetica, verdana, arial, sans-serif"><span class="Apple-style-span" style="line-height: 16px; white-space: nowrap;">drwx------.  2 root root 4096 2009-08-19 20:16 quemu</span></font></div><div><font class="Apple-style-span" face="'Lucida Grande', 'Luxi Sans', 'Bitstream Vera Sans', 'Trebuchet MS', helvetica, verdana, arial, sans-serif"><span class="Apple-style-span" style="line-height: 16px; white-space: nowrap;"><br></span></font></div><div><br></div><div>/var/log/ovirt-server/taskomatic.log</div><div><br></div><div><div><div>INFO Wed Sep 30 17:42:21 +0300 2009 (1991) starting task_create_vm</div><div>INFO Wed Sep 30 17:42:21 +0300 2009 (1991) done</div><div>INFO Wed Sep 30 17:42:21 +0300 2009 (1991) starting task_start_vm</div><div>INFO Wed Sep 30 17:42:22 +0300 2009 (1991) VM will be started on node node3.ovirt.priv</div><div>DEBUG Wed Sep 30 17:42:22 +0300 2009 (1991) Connecting volumes: </div><div>DEBUG Wed Sep 30 17:42:22 +0300 2009 (1991) XML Domain definition: <domain type='kvm'><name>test</name><uuid>fa0d237d-2e2a-7dba-9524-3ca452b917f1</uuid><memory>262144</memory><currentMemory></currentMemory><vcpu>1</vcpu><os><type>hvm</type><boot dev='network'/></os><clock offset='utc'/><on_poweroff>destroy</on_poweroff><on_reboot>restart</on_reboot><on_crash>destroy</on_crash><devices><emulator>/usr/bin/qemu-kvm</emulator><interface type='bridge'><mac address='00:16:3e:03:de:23'/><source bridge='breth0'/></interface><input bus='ps2' type='mouse'/><graphics type='vnc' port='-1' listen='0.0.0.0'/><serial type='pty'><target port='0'/></serial></devices><features><acpi/><apic/></features></domain></div><div>ERROR Wed Sep 30 17:42:22 +0300 2009 (1991) Task action processing failed: RuntimeError: Error creating virtual machine: Error: Error creating new domain (virDomainCreate). Subsystem qemu: internal error unable to start guest: bind(unix:/var/lib/libvirt/qemu/test.monitor): Permission denied</div><div>qemu: could not open monitor device 'unix:/var/lib/libvirt/qemu/test.monitor,server,nowait'</div><div> in DomainWrap.cpp:ManagementMethod:115</div><div>ERROR Wed Sep 30 17:42:22 +0300 2009 (1991) /usr/share/ovirt-server/task-omatic/taskomatic.rb:403:in `task_start_vm'/usr/share/ovirt-server/task-omatic/taskomatic.rb:904:in `mainloop'/usr/share/ovirt-server/task-omatic/taskomatic.rb:890:in `each'/usr/share/ovirt-server/task-omatic/taskomatic.rb:890:in `mainloop'/usr/share/ovirt-server/task-omatic/taskomatic.rb:856:in `loop'/usr/share/ovirt-server/task-omatic/taskomatic.rb:856:in `mainloop'/usr/share/ovirt-server/task-omatic/taskomatic.rb:957</div><div>INFO Wed Sep 30 17:42:22 +0300 2009 (1991) done</div><div><br></div></div></div></body></html>