<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Segoe UI";
panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Dear Openstack community,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I often have nova complaining that I have exceeded my quota, these normally happens when I node deployment fails and the resources allocated hasn’t been released. Before Rocky I used to run the command below to resync, however it looks
like it has been removed from Rocky. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-family:Consolas">[root@TEST-openstack-controller ~]# docker exec -it -u root nova_scheduler nova-manage project quota_usage_refresh --project abc29399b91d423088549d7446766573 --user 02132c31dafa4d1d939bd52e0420b975<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">usage: nova-manage [-h] [--config-dir DIR] [--config-file PATH] [--debug]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> [--log-config-append PATH] [--log-date-format DATE_FORMAT]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> [--log-dir LOG_DIR] [--log-file PATH] [--nodebug]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> [--nopost-mortem] [--nouse-journal] [--nouse-json]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> [--nouse-syslog] [--nowatch-log-file] [--post-mortem]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> [--syslog-log-facility SYSLOG_LOG_FACILITY] [--use-journal]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> [--use-json] [--use-syslog] [--version] [--watch-log-file]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> [--remote_debug-host REMOTE_DEBUG_HOST]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> [--remote_debug-port REMOTE_DEBUG_PORT]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> {version,bash-completion,placement,network,cell_v2,db,cell,floating,api_db}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> ...<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">nova-manage: error: argument category: invalid choice: 'project' (choose from 'version', 'bash-completion', 'placement', 'network', 'cell_v2', 'db', 'cell', 'floating', 'api_db')</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any idea how can I refresh the quota usage in Rocky?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you very much <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b><span style="color:#333333;background:white">Manuel Sopena Ballesteros </span></b><span style="color:#333333;background:white">|<b> </b>Big data Engineer</span><span style="color:#333333"><br>
<b><span style="background:white">Garvan Institute of Medical Research </span></b><br>
<span style="background:white">The Kinghorn Cancer Centre,<b> </b>370 Victoria Street, Darlinghurst, NSW 2010</span><br>
<b><span style="background:white">T:</span></b><span style="background:white"> + 61 (0)2 9355 5760 | <b>F:</b> +61 (0)2 9295 8507 | <b>E:</b> </span></span><span style="color:black"><a href="mailto:manuel.sb@garvan.org.au"><span style="color:blue">manuel.sb@garvan.org.au</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div style="font-size:8pt; font-family: Arial">NOTICE</div>
<div style="font-size:8pt; font-family: Arial">Please consider the environment before printing this email. This message and any attachments are intended for the addressee named and may contain legally privileged/confidential/copyright information. If you are
not the intended recipient, you should not read, use, disclose, copy or distribute this communication. If you have received this message in error please notify us at once by return email and then delete both messages. We accept no liability for the distribution
of viruses or similar in electronic communications. This notice should not be removed.
</div>
</body>
</html>