[one-users] libvirt and kvm permission problem.

ignazio.cassano at provincia.torino.it ignazio.cassano at provincia.torino.it
Wed Mar 30 23:36:31 PDT 2011


Yu must set libvirt to run with cloud group permissions in libvirtd.conf

----- Messaggio da idafensp at gmail.com ---------
     Data: Wed, 30 Mar 2011 17:20:41 +0200
     Da: Idafen Santana Pérez <idafensp at gmail.com>
  Oggetto: [one-users] libvirt and kvm permission problem.
       A: users at lists.opennebula.org


> Hi,
>
> I'm having problems with libvirtd and kvm. I can create a host (called
> localhost) and it is on until systems tries to monitorize it. I'm
> executing libvirtd as root (? can not do it as oneadmin) and running
> one under my oneadmin account. This is my oned.log output.
>
>
> Wed Mar 30 17:08:36 2011 [ReM][D]: HostPoolInfo method invoked
> Wed Mar 30 17:08:36 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Wed Mar 30 17:08:36 2011 [InM][I]: Command execution fail: 'if [ -x
> "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm
> localhost; else                              exit 42; fi'
> Wed Mar 30 17:08:36 2011 [InM][I]: STDERR follows.
> Wed Mar 30 17:08:36 2011 [InM][I]: error: unable to connect to
> '/var/run/libvirt/libvirt-sock', libvirtd may need to be started:
> Permission denied
> Wed Mar 30 17:08:36 2011 [InM][I]: error: failed to connect to the hypervisor
> Wed Mar 30 17:08:36 2011 [InM][I]: Error executing kvm.rb
> Wed Mar 30 17:08:36 2011 [InM][I]: ExitCode: 255
> Wed Mar 30 17:08:36 2011 [InM][E]: Error monitoring host 0 : MONITOR
> FAILURE 0 Could not monitor host localhost.
>
>
> Any idea?
>
> Thanks in advance.
> Idafen
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>


----- Fine messaggio da idafensp at gmail.com -----





More information about the Users mailing list