<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">I'm not sure on question 1, but the behavior you're seeing for question 2 is due to "nova quota-update" expecting the tenant ID and not the tenant name.</div><div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;"><br></div><div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;"><p style="margin: 0px; font-size: 11px; font-family: Menlo;">$ nova help quota-update</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">usage: nova quota-update [--user <user-id>] [--instances <instances>]</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">                         [--cores <cores>] [--ram <ram>]</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">                         [--floating-ips <floating-ips>]</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">                         [--fixed-ips <fixed-ips>]</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">                         [--metadata-items <metadata-items>]</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">                         [--injected-files <injected-files>]</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">                         [--injected-file-content-bytes <injected-file-content-bytes>]</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">                         [--injected-file-path-bytes <injected-file-path-bytes>]</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">                         [--key-pairs <key-pairs>]</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">                         [--security-groups <security-groups>]</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">                         [--security-group-rules <security-group-rules>]</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">                         [--server-groups <server-groups>]</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">                         [--server-group-members <server-group-members>]</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">                         [--force]</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">                         <tenant-id></p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"><br></p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">Update the quotas for a tenant/user.</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"><br></p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">Positional arguments:</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">  <tenant-id>                   ID of tenant to set the quotas for.</p></div><div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;"><br></div><div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;"><br></div><div><font face="Calibri,sans-serif">So if you specify "</font><b style="color: rgb(0, 0, 0); font-family: Calibri; font-size: medium;">nova quota-update --floating_ip 12 [ID of tenant1]</b><span style="color: rgb(0, 0, 0); font-family: Calibri; font-size: medium;">", it </span>should work as you expect it.</div><div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;"><br></div><div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;"><br></div><span id="OLK_SRC_BODY_SECTION" style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> mad Engineer <<a href="mailto:themadengin33r@gmail.com">themadengin33r@gmail.com</a>><br><span style="font-weight:bold">Date: </span> Sunday, October 12, 2014 at 7:58 AM<br><span style="font-weight:bold">To: </span> "<a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>" <<a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>><br><span style="font-weight:bold">Subject: </span> [Openstack] used floating_ip counter not decreasing even after  removing instance<br></div><div><br></div><div dir="ltr">hi <div>   in my setup i have created 10 instances each with floating_ip and deleted all instances,<b>with out disassociating floating ip.</b> </div><div>Now when i try to associate floating ip with new instance,it shows "unable to associate floating ip" and in dashboard used floating_ip is 10/10 even with only 5 instance and 5 floating_ip actually being used.</div><div><br></div><div>i just increased quota to make it work now,but there also encountered few issues:</div><div><br></div><div>tried </div><div><b>nova quota-update --floating_ip 12 tenant1</b></div><div><b><br></b></div><div> it successfully updated the count to 12 (as per nova quota-show tenant1 but on dashboard value remained the same).</div><div>until i  used </div><div><span style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; line-height: 22.3999996185303px; white-space: nowrap; background-color: rgb(255, 255, 255);"><font color="#000000"><b>nova-manage project quota </b></font></span></div><div><span style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; line-height: 22.3999996185303px; white-space: nowrap; background-color: rgb(255, 255, 255);"><font color="#000000">to fix this:</font></span></div><div><span style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; line-height: 22.3999996185303px; white-space: nowrap; background-color: rgb(255, 255, 255);"><font color="#000000"><br></font></span></div><div><span style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; line-height: 22.3999996185303px; white-space: nowrap; background-color: rgb(255, 255, 255);"><font color="#000000">1.How can i make floating ip quota to decrement when one instance is deleted (with floating ip still associated in it )</font></span></div><div><span style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; line-height: 22.3999996185303px; white-space: nowrap; background-color: rgb(255, 255, 255);"><font color="#000000">2.how to Update quota so that its reflected in dashboard (</font></span><b>nova quota-update ,</b>successfully updated the variable but still dashboard was showing old value until used <b>nova-manage project quota</b>)</div><div>Thanks</div><div><span style="color: rgb(0, 0, 0); font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; line-height: 22.3999996185303px; white-space: nowrap;"><br></span></div><div><span style="color: rgb(0, 0, 0); font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; line-height: 22.3999996185303px; white-space: nowrap;"> </span></div></div></span></body></html>