Re: [one-users] How can I allow members of a group to RUN a persistent vm?

2015-01-08 Thread Carlos Martín Sánchez
Hi,

On Mon, Dec 22, 2014 at 7:46 PM, Mr Sensible 
wrote:

> So, the question. How can I allow members of a group to RUN a persistent
> vm?
>
> Current Setup
>
> OpenNebula 4.10.1
>
> SO I have a VM, that :
> - is running in an SSH system datastore.
> - has an image marked as persistent
> - set to group infAdmins
>
> Current permissions
> - imageUse : NOManage : YESAdmin : YES
> - networkUse : YESManage : YESAdmin : YES
> - template  Use : YESManage : YESAdmin : YES
> - vm Use : YESManage : YESAdmin : YES
>
>
> I find that admins in the group can not run this VM. I checked the vm
> permissions, and yes, group run permission was unchecked. However, I am
> unable to allow Group Run privilege, as "A persistent image cannot be made
> public".
>
> So I am a bit stuck. I need the vm to be persistent (in case of hardware
> failure) but I need the ssh local system datastore  for performance, and I
> really need a small group other than me to be able to run up VMs, either
> pre-created by me, or from scratch. I also create VMs for project teams,
> and need them to be able to run up their own VMs (at the group level).
>
>
> Apologies if I am trying to do something stupid (or missing something
> obvious).
>
> Thanks and seasons greetings
>
> Peter
>

This limitation is there for legacy reasons, and because of your mail we
have decided to remove it in the next maintenance release [1].
Meanwhile, you can give USE permissions to the group through an ACL rule
[2].

In any case, please be aware that a persistent Image can only be used by 1
VM at a time.

Best regards.

[1] http://dev.opennebula.org/issues/3494
[2]
http://docs.opennebula.org/4.10/administration/users_and_groups/manage_acl.html

--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org  | cmar...@opennebula.org |
@OpenNebula  
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] How can I allow members of a group to RUN a persistent vm?

2014-12-22 Thread Mr Sensible
So, the question. How can I allow members of a group to RUN a persistent 
vm?


Current Setup

OpenNebula 4.10.1

SO I have a VM, that :
- is running in an SSH system datastore.
- has an image marked as persistent
- set to group infAdmins

Current permissions
- imageUse : NOManage : YESAdmin : YES
- networkUse : YESManage : YESAdmin : YES
- template  Use : YESManage : YESAdmin : YES
- vm Use : YESManage : YESAdmin : YES


I find that admins in the group can not run this VM. I checked the vm 
permissions, and yes, group run permission was unchecked. However, I am 
unable to allow Group Run privilege, as "A persistent image cannot be 
made public".


So I am a bit stuck. I need the vm to be persistent (in case of hardware 
failure) but I need the ssh local system datastore  for performance, and 
I really need a small group other than me to be able to run up VMs, 
either pre-created by me, or from scratch. I also create VMs for project 
teams, and need them to be able to run up their own VMs (at the group 
level).



Apologies if I am trying to do something stupid (or missing something 
obvious).


Thanks and seasons greetings

Peter
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org