Hi. I try to create VM in oVirt interface. New VM failed to start In oVirt interface Tasks log: 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 qemu: could not open monitor device 'unix:/var/lib/libvirt/qemu/ test.monitor,server,nowait' in DomainWrap.cpp:ManagementMethod:115 What rights should be on /var/lib/libvirt/qemu/ ? Default is: drwx------. 2 root root 4096 2009-08-19 20:16 quemu /var/log/ovirt-server/taskomatic.log INFO Wed Sep 30 17:42:21 +0300 2009 (1991) starting task_create_vm INFO Wed Sep 30 17:42:21 +0300 2009 (1991) done INFO Wed Sep 30 17:42:21 +0300 2009 (1991) starting task_start_vm INFO Wed Sep 30 17:42:22 +0300 2009 (1991) VM will be started on node node3.ovirt.priv DEBUG Wed Sep 30 17:42:22 +0300 2009 (1991) Connecting volumes: 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> 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 qemu: could not open monitor device 'unix:/var/lib/libvirt/qemu/ test.monitor,server,nowait' in DomainWrap.cpp:ManagementMethod:115 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 INFO Wed Sep 30 17:42:22 +0300 2009 (1991) done -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20090930/e640395a/attachment.htm>
On Wed, Sep 30, 2009 at 4:47 PM, Pavel Sabirjanov <pavel.sab at gmail.com> wrote:> In oVirt interface Tasks log: > 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 qemu: could > not open monitor device > 'unix:/var/lib/libvirt/qemu/test.monitor,server,nowait' in > DomainWrap.cpp:ManagementMethod:115 > What rights should be on?/var/lib/libvirt/qemu/ ? > Default is: > drwx------. ?2 root root 4096 2009-08-19 20:16 quemuIt's selinux issue but it should fixed in selinux-policy-3.6.12-83 Which oVirt Node version do you have - could you send srpm-manifest.txt or check rpm -q selinux-policy on the running node? Alan
Apparently Analagous Threads
- Error starting a virtual machine
- taskomatic.rb : set_vm_vnc_port
- Error creating virtual machine: Error: Error creating new domain (virDomainCreate). Subsystem qemu: internal error
- Few questions about oVirt install.
- [PATCH server] Update daemons to use new QMF.