<div dir="ltr">Hi,<div><br></div><div><br></div><div style>Thank you for your reponse. It's nice that you fixed the problem. In my opinion it was an easy way to bypass quota limits - as far as number of allowed VMs is concerned.</div>

<div style><br></div><div style><br></div><div style>Unfortunatelly I can not give you now outputs of comamnds you are asking for. I'll try to provide them to you after a maintanance window. I needed to have this working asap so I looked for a workaround. I resigned from the defaultquota/group quota and now sets quota for each user using USER_HOOK (and this works with resize).</div>

<div style><br></div><div style><br></div><div style>I suppose that config files I mentioned in my previous e-mail can be helpful.<br></div><div style><br></div><div style><br></div><div style>Regards,</div><div style>Piotr Kandziora</div>

<div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 22, 2013 at 11:56 AM, Carlos Martín Sánchez <span dir="ltr"><<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</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">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" target="_blank">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"><div><div class="h5">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>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">

<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><font color="#888888"><div>Piotr Kandziora</div></font></span></div>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">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>
</blockquote></div><br></div>