[one-users] virsh permission problem over CentOS 6.2

Ruben Diez rdiez at cesga.es
Thu Feb 2 01:50:25 PST 2012


Seems to be a problem related to a new security stuff named "PolicyKit". 
It is used by default in CentOS 6....

Here the references:

http://wiki.libvirt.org/page/SSHPolicyKitSetup
http://practicallyvirtual.wordpress.com/2011/12/17/authentication-failed-when-running-virsh-as-non-root/

Regards


Ruben Diez escribió:
> Hi:
>
> We just reinstall a node with CentOS 6.2....
>
> After add the host to OpenNebula, the host state is "error"
>
> The problem seems to be a permission issue:
>
> This is the result when we run "virsh list" command with the user 
> oneadmin in this node:
>
> [oneadmin at nubacesga-01-2 libvirt]$ virsh list
> error: Failed to reconnect to the hypervisor
> error: no valid connection
> error: Failed to connect socket to 
> '@/srv/cloud/one/.libvirt/libvirt-sock': Connection refused
>
>
>
> Any ideas about how to repair this???
>
> Regards
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




More information about the Users mailing list