Hi,<div><br></div><div>Since OpenNebula 3.4 you can change the restricted attributes in oned.conf, see [1].</div><div><br></div><div>If for any reason you can't upgrade, the only option you have left is to modify the code. The list of restricted VM attributes is defined in src/vm/VirtualMachineTemplate.cc, VirtualMachineTemplate::RESTRICTED_ATTRIBUTES<br>
<br><br>Regards</div><div><br>[1] <a href="http://opennebula.org/documentation:rel3.4:compatibility#configuration_and_administration">http://opennebula.org/documentation:rel3.4:compatibility#configuration_and_administration</a></div>
<div>--<br>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
<br>
<br><br><div class="gmail_quote">On Mon, Jul 2, 2012 at 11:39 PM, Hyun Woo Kim <span dir="ltr"><<a href="mailto:hyunwoo@fnal.gov" target="_blank">hyunwoo@fnal.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am deploying OpenNebula 3.2 and I am observing a new feature different from ONe 3.0.<br>
<br>
When a normal user in the "users" group wants to use the "files" attribute in CONTEXT<br>
and instantiate a new VM, we are getting the following error message;<br>
[TemplateInstantiate] Error allocating a new virtual machine. VM Template includes a restricted attribute CONTEXT/FILES.<br>
<br>
I know that if the normal user can belong to oneadmin group, this error does not appear.<br>
<br>
If this is actually how ONe3.2 works, can we get around this and let normal users use CONTEXT/FILES<br>
without having to change the user's group to oneadmin?<br>
<br>
Thank you.<br>
Hyunwoo<br>
<br>
<br>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div>