[Openstack] how to sync quota usage our of sync in Rocky release
Sam Morrison
sorrison at gmail.com
Tue Nov 20 22:52:02 UTC 2018
Starting I think in Pike or Queens nova no longer caches quota usages and calculates it on the fly so there is now no need to the command as quotas can’t get out of sync anymore.
Cheers,
Sam
> On 20 Nov 2018, at 4:49 pm, Manuel Sopena Ballesteros <manuel.sb at garvan.org.au> wrote:
>
> 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 at 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 <tel:+%2061%202%209355%205760> | F: +61 (0)2 9295 8507 <tel:+61%202%209295%208507> | E: manuel.sb at garvan.org.au <mailto:manuel.sb at 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 <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
> Post to : openstack at lists.openstack.org <mailto:openstack at lists.openstack.org>
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20181121/a26324f8/attachment.html>
More information about the Openstack
mailing list