Dear Openstack community,

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.

[root@TEST-openstack-controller ~]# docker exec -it -u root nova_scheduler 
nova-manage project quota_usage_refresh --project 
abc29399b91d423088549d7446766573 --user 02132c31dafa4d1d939bd52e0420b975
usage: nova-manage [-h] [--config-dir DIR] [--config-file PATH] [--debug]
                   [--log-config-append PATH] [--log-date-format DATE_FORMAT]
                   [--log-dir LOG_DIR] [--log-file PATH] [--nodebug]
                   [--nopost-mortem] [--nouse-journal] [--nouse-json]
                   [--nouse-syslog] [--nowatch-log-file] [--post-mortem]
                   [--syslog-log-facility SYSLOG_LOG_FACILITY] [--use-journal]
                   [--use-json] [--use-syslog] [--version] [--watch-log-file]
                   [--remote_debug-host REMOTE_DEBUG_HOST]
                   [--remote_debug-port REMOTE_DEBUG_PORT]

                   
{version,bash-completion,placement,network,cell_v2,db,cell,floating,api_db}
                   ...
nova-manage: error: argument category: invalid choice: 'project' (choose from 
'version', 'bash-completion', 'placement', 'network', 'cell_v2', 'db', 'cell', 
'floating', 'api_db')

Any idea how can I refresh the quota usage in Rocky?

Thank you very much

Manuel Sopena Ballesteros | Big data Engineer
Garvan Institute of Medical Research
The Kinghorn Cancer Centre, 370 Victoria Street, Darlinghurst, NSW 2010
T: + 61 (0)2 9355 5760 | F: +61 (0)2 9295 8507 | E: 
manuel...@garvan.org.au<mailto:manuel...@garvan.org.au>

NOTICE
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.
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to