[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] VM creation failed : Permission denied : bind(unix:/var/run/libvirt/qemu//VM.monitor)



Le jeudi 30 juillet 2009 13:22:45, Daniel Veillard a écrit :
> On Thu, Jul 30, 2009 at 10:48:30AM +0200, Daniel Veillard wrote:
> > On Thu, Jul 30, 2009 at 10:33:31AM +0200, Pierre-Gilles Mialon wrote:
> > > 	I use Ovirt under Fedora 11 with the latest developpement package and
> > > the VM creation failed with :
> > > bind(unix:/var/run/libvirt/qemu//VM-4.monitor): Permission denied
> > >
> > > See the logs :
> >
> > [...]
> >
> > > bind(unix:/var/run/libvirt/qemu//VM-4.monitor): Permission denied
> > > qemu: could not open monitor device
> > > 'unix:/var/run/libvirt/qemu//VM-4.monitor,server,nowait'
> > >
> > > ==> # rpm -qa | grep libvirt  <==
> > > libvirt-0.7.0-0.2.gitf055724.fc11.x86_64
> > > libvirt-python-0.7.0-0.2.gitf055724.fc11.x86_64
> > > libvirt-client-0.7.0-0.2.gitf055724.fc11.x86_64
> > > libvirt-qpid-0.2.17-0.fc11.x86_64
> >
> >   Very likely to be the issue this week about qemu domain startup,
> > see
> >     https://www.redhat.com/archives/libvir-list/2009-July/msg00937.html
> > and yesterday's message
> >     https://www.redhat.com/archives/libvir-list/2009-July/msg01002.html
> >
> > so try out the new version please,
>
>   More specifically, could you try to upgrade your libvirt-* rpms to the
> ones there and report if this fixes the issue ?
>  
> http://kojipkgs.fedoraproject.org/packages/libvirt/0.7.0/0.7.gite195b43.fc1
>2/

I am under fedora 11, so I rpmbuild --rebuild 
http://kojipkgs.fedoraproject.org/packages/libvirt/0.7.0/0.7.gite195b43.fc12/src/libvirt-0.7.0-0.7.gite195b43.fc12.src.rpm

I upgraded my ovirt-nodes
rpm -Uvh libvirt-*rpm

restart the libvirtd and libvirt-qpid services and I still have the same error messages. 

Jul 30 12:08:08 node62 libvirtd: 12:08:08.044: info : qemudDispatchSignalEvent:370 : Received unexpected signal 17
Jul 30 12:08:08 node62 kernel: device vnet0 entered promiscuous mode
Jul 30 12:08:08 node62 kernel: breth0: port 2(vnet0) entering learning state
Jul 30 12:08:08 node62 libvirtd: 12:08:08.050: info : qemudDispatchSignalEvent:370 : Received unexpected signal 17
Jul 30 12:08:08 node62 kernel: breth0: port 2(vnet0) entering disabled state
Jul 30 12:08:08 node62 kernel: device vnet0 left promiscuous mode
Jul 30 12:08:08 node62 kernel: breth0: port 2(vnet0) entering disabled state
Jul 30 12:08:08 node62 libvirtd: 12:08:08.150: error : qemudReadLogOutput:816 : internal error Process exited while reading console log output
Jul 30 12:08:08 node62 libvirtd: 12:08:08.151: error : qemudWaitForMonitor:1103 : internal error unable to start guest: bind(unix:/var/run/libvirt/qemu//VM-4.monitor): Permission denied#012qemu: 
could not open monitor device 'unix:/var/run/libvirt/qemu//VM-4.monitor,server,nowait'#012
Jul 30 12:08:08 node62 libvirtd: 12:08:08.249: error : qemudDomainLookupByUUID:2644 : Domain not found: no domain with matching uuid '492f836f-5123-e185-39c2-09c5dd43a7f6'
Jul 30 12:08:08 node62 libvirt-qpid: Error: virDomainLookupByUUIDString Subsystem qemu: Domain not found: no domain with matching uuid '492f836f-5123-e185-39c2-09c5dd43a7f6' in 
NodeWrap.cpp:syncDomains:241 code: 42

but now : 
rpm -qa | grep libvirt
libvirt-0.7.0-0.7.gite195b43.fc11.x86_64
libvirt-qpid-0.2.17-0.fc11.x86_64
libvirt-client-0.7.0-0.7.gite195b43.fc11.x86_64
libvirt-python-0.7.0-0.7.gite195b43.fc11.x86_64

I try to chmod 777 /var/run/libvirt/qemu/
--> same issue 

I try to force the root user in /etc/libvirt/qemu.conf
--> idem

I search a way to cleanly disable SElinux on the ovirt-node to see
what happened in this case.  

-- 
Pierre-Gilles Mialon
Linagora :: http://www.linagora.com
Responsable hébergement :: Head of Hosting services
pmialon linagora com :: +33.1 58 18 65 46



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]