[one-users] Centos 6.2 - Execution errors with libvirt
Snyman, Adrian
adrians at uj.ac.za
Sun Mar 4 22:48:10 PST 2012
Just thought I would post this heads up. I was battling with machines / nodes permissions, and I stumbled onto this page:
http://www.mail-archive.com/users@lists.opennebula.org/msg05465.html
Turns out that the policykit on Centos6.2 blocks the oneadmin user from doing certain tasks, and my adding the following:
# content of file: /etc/polkit-1/localauthority/50-local.d/50-org.libvirt.unix.manage-opennebula.pkla
[Allow oneadmin user to manage virtual machines]
Identity=unix-user:oneadmin
Action=org.libvirt.unix.manage
ResultAny=yes
ResultInactive=yes
ResultActive=yes
I can now see the resources (ie: the node can be monitored).
Regards,
Adrian Snyman
Linux Systems Administrator
Tel: 011-559-4929
Cell: 082-600-1211
________________________________
This email and all contents are subject to the following disclaimer:
http://disclaimer.uj.ac.za
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120305/64b471b8/attachment-0002.htm>
More information about the Users
mailing list