Author: | openstack@lists.openstack.org |
---|---|
Date: | 2017-01-15 |
Copyright: | OpenStack Foundation |
Version: | 15.0.0 |
Manual section: | 1 |
Manual group: | cloud computing |
nova-manage <category> <action> [<args>]
nova-manage controls cloud computing instances by managing shell selection, vpn connections, and floating IP address configuration. More information about OpenStack Nova is at http://nova.openstack.org.
The standard pattern for executing a nova-manage command is: nova-manage <category> <command> [<args>]
Run without arguments to see a list of available command categories: nova-manage
You can also run with a category argument such as user to see a list of all commands in that category: nova-manage db
These sections describe the available categories and arguments for nova-manage.
nova-manage db version
Print the current main database version.
nova-manage db sync
Sync the main database up to the most recent version. This is the standard way to create the db as well.
nova-manage db archive_deleted_rows [--max_rows <number>] [--verbose]
Move deleted rows from production tables to shadow tables. Specifying –verbose will print the results of the archive operation for any tables that were changed.
nova-manage db null_instance_uuid_scan [--delete]
Lists and optionally deletes database records where instance_uuid is NULL.
nova-manage api_db version
Print the current cells api database version.
nova-manage api_db sync
Sync the api cells database up to the most recent version. This is the standard way to create the db as well.
nova-manage cell_v2 simple_cell_setup [--transport-url <transport_url>]
Setup a fresh cells v2 environment; this should not be used if you currently have a cells v1 environment. Returns 0 if setup is completed (or has already been done), 1 if no hosts are reporting (and cannot be mapped), 1 if no transport url is provided for the cell message queue, and 2 if run in a cells v1 environment.
nova-manage logs errors
Displays nova errors from log files.
nova-manage logs syslog <number>
Displays nova alerts from syslog.
nova-manage shell bpython
Starts a new bpython shell.
nova-manage shell ipython
Starts a new ipython shell.
nova-manage shell python
Starts a new python shell.
nova-manage shell run
Starts a new shell using python.
nova-manage shell script <path/scriptname>
Runs the named script from the specified path with flags set.
nova-manage project quota <project_id> [--user <user_id>] [--key <key>] [--value <value>]
Create, update or display quotas for project/user. If a key is not specified then the current usages are displayed.
nova-manage project quota_usage_refresh <project_id> [--user <user_id>] [--key <key>]
Refresh the quota usages for the project/user so that the usage record matches the actual used. If a key is not specified then all quota usages relevant to the project/user are refreshed.