<div dir="ltr">Hi,<div><br></div><div>Looks like you've found a bug, I can confirm it. If the resize operation fails because of the group limits, the user's VM usage is decremented [1].</div><div>Can you share a bit more about your quotas? At least the output of oneuser/onegroup show/defaultquota.</div>
<div><br></div><div>Regards</div><div>[1] <a href="http://dev.opennebula.org/issues/2200">http://dev.opennebula.org/issues/2200</a><br></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">--<br>Join us at <a href="http://opennebulaconf.com" target="_blank">OpenNebulaConf2013</a> in Berlin, 24-26 September, 2013<br>
--<div>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>
</div></div></div>
<br><br><div class="gmail_quote">On Wed, Jul 17, 2013 at 11:37 PM, Piotr Kandziora <span dir="ltr"><<a href="mailto:raveenpl@gmail.com" target="_blank">raveenpl@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Hi,</div><div><br></div><div>I try to resize VM capacity (add 0.5 CPU and 1GB RAM). According to the available quota resources this action should succeed,</div><div><br></div><div>
but</div><div><br></div><div>every time I try to change VM capacity via Sunstone this action fails due to exceeded quota (FAILURE [VirtualMachineResize] group [1] limit of 2.5 reached for CPU quota in VM) and number of VMS gets incremental negative value.</div>
<div><br></div><div>oneadmin@master:~$ oneuser list</div><div> ID NAME GROUP AUTH VMS MEMORY CPU</div><div> 0 oneadmin oneadmin core - - -</div>
<div> 1 serveradmin oneadmin server_c - - -</div><div> 2 pkandziora users ldap -7 / 5 3.5G / 5G 1.0 / 2</div><div><br></div><div><br></div><div>My quota configuration:</div>
<div><br></div><div># oneuser defaultquota userquota.def</div><div><br></div><div>VM=[</div><div> CPU="2.5", (here's another issue, oneuser list displays integer value of CPU)</div><div> MEMORY="5120",</div>
<div> VMS="5"</div><div>]</div><div><br></div><div># onegroup quota users groupquota.def</div><div><br></div><div>VM=[</div><div> CPU="-1",</div><div> MEMORY="-1",</div><div> VMS="-1"</div>
<div>]</div><div><br></div><div>DATASTORE=[</div><div> ID="101",</div><div> IMAGES="-1",</div><div> SIZE="1024000"</div><div>]</div><div><br></div><div><br></div><div>Is there any interpretation of this negative value of VMS or this is a bug? If you see any mistakes in my configuration that makes VM capacity change impossible please let me know.</div>
<div><br></div><div>Thanks in advance</div><span class="HOEnZb"><font color="#888888"><div>Piotr Kandziora</div></font></span></div>
<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>