The nova client is the command-line interface (CLI) for the Compute service API and its extensions.
This chapter documents nova version 6.0.0
.
For help on a specific nova command, enter:
$ nova help COMMAND
usage: nova [--version] [--debug] [--os-cache] [--timings]
[--os-region-name <region-name>] [--service-type <service-type>]
[--service-name <service-name>]
[--os-endpoint-type <endpoint-type>]
[--os-compute-api-version <compute-api-ver>]
[--bypass-url <bypass-url>] [--insecure]
[--os-cacert <ca-certificate>] [--os-cert <certificate>]
[--os-key <key>] [--timeout <seconds>] [--os-auth-type <name>]
[--os-auth-url OS_AUTH_URL] [--os-domain-id OS_DOMAIN_ID]
[--os-domain-name OS_DOMAIN_NAME] [--os-project-id OS_PROJECT_ID]
[--os-project-name OS_PROJECT_NAME]
[--os-project-domain-id OS_PROJECT_DOMAIN_ID]
[--os-project-domain-name OS_PROJECT_DOMAIN_NAME]
[--os-trust-id OS_TRUST_ID]
[--os-default-domain-id OS_DEFAULT_DOMAIN_ID]
[--os-default-domain-name OS_DEFAULT_DOMAIN_NAME]
[--os-user-id OS_USER_ID] [--os-username OS_USERNAME]
[--os-user-domain-id OS_USER_DOMAIN_ID]
[--os-user-domain-name OS_USER_DOMAIN_NAME]
[--os-password OS_PASSWORD]
<subcommand> ...
Subcommands:
absolute-limits
add-fixed-ip
add-floating-ip
add-secgroup
agent-create
agent-delete
agent-list
agent-modify
aggregate-add-host
aggregate-create
aggregate-delete
aggregate-details
aggregate-list
aggregate-remove-host
aggregate-set-metadata
aggregate-show
aggregate-update
availability-zone-list
backup
boot
clear-password
cloudpipe-configure
cloudpipe-create
cloudpipe-list
console-log
credentials
delete
diagnostics
dns-create
dns-create-private-domain
dns-create-public-domain
dns-delete
dns-delete-domain
dns-domains
dns-list
endpoints
evacuate
fixed-ip-get
fixed-ip-reserve
fixed-ip-unreserve
flavor-access-add
flavor-access-list
flavor-access-remove
flavor-create
flavor-delete
flavor-key
flavor-list
flavor-show
floating-ip-associate
floating-ip-bulk-create
floating-ip-bulk-delete
floating-ip-bulk-list
floating-ip-create
floating-ip-delete
floating-ip-disassociate
floating-ip-list
floating-ip-pool-list
get-mks-console
--os-compute-api-version
‘ flag to show help
message for proper version]get-password
get-rdp-console
get-serial-console
get-spice-console
get-vnc-console
host-action
host-describe
host-list
host-update
hypervisor-list
--os-compute-
api-version’ flag to show help message for
proper version]hypervisor-servers
hypervisor-show
hypervisor-stats
hypervisor-uptime
image-create
image-delete
image-list
image-meta
image-show
interface-attach
interface-detach
interface-list
keypair-add
keypair-delete
--os-compute-api-version
‘ flag to show help
message for proper version]keypair-list
--os-compute-api-version
‘ flag to show help
message for proper version]keypair-show
--os-compute-api-version
‘ flag to
show help message for proper version]limits
list
list-secgroup
live-migration
live-migration-abort
--os-compute-api-version
‘ flag to show
help message for proper version]live-migration-force-complete
--os-compute-api-
version’ flag to show help message for proper
version]lock
meta
migrate
network-associate-host
network-associate-project
network-create
network-delete
network-disassociate
network-list
network-show
pause
quota-class-show
quota-class-update
--os-compute-api-version
‘ flag to
show help message for proper version]quota-defaults
quota-delete
quota-show
quota-update
--os-compute-api-version
‘ flag to
show help message for proper version]rate-limits
reboot
rebuild
refresh-network
remove-fixed-ip
remove-floating-ip
remove-secgroup
rename
rescue
reset-network
reset-state
resize
resize-confirm
resize-revert
resume
root-password
scrub
secgroup-add-default-rule
secgroup-add-group-rule
secgroup-add-rule
secgroup-create
secgroup-delete
secgroup-delete-default-rule
secgroup-delete-group-rule
secgroup-delete-rule
secgroup-list
secgroup-list-default-rules
secgroup-list-rules
secgroup-update
server-group-create
server-group-delete
server-group-get
server-group-list
server-migration-list
--os-compute-api-
version’ flag to show help message for proper
version]server-migration-show
--os-compute-api-
version’ flag to show help message for proper
version]server-tag-add
--os-compute-api-version
‘ flag to show help
message for proper version]server-tag-delete
--os-compute-api-version
‘ flag to show help
message for proper version]server-tag-delete-all
--os-compute-api-version
‘ flag to show help
message for proper version]server-tag-list
--os-compute-api-version
‘ flag to show help
message for proper version]server-tag-set
--os-compute-api-version
‘ flag to show help
message for proper version]service-delete
service-disable
service-enable
service-force-down
--os-compute-api-version
‘ flag to show help
message for proper version]service-list
set-password
shelve
shelve-offload
show
ssh
start
stop
suspend
trigger-crash-dump
--os-compute-api-version
‘ flag to show
help message for proper version]unlock
unpause
unrescue
unshelve
update
usage
usage-list
version-list
virtual-interface-list
volume-attach
volume-attachments
volume-detach
volume-update
x509-create-cert
x509-get-root-cert
bash-completion
help
force-delete
restore
host-servers-migrate
instance-action
instance-action-list
host-meta
cell-capacities
cell-show
host-evacuate
net
net-create
net-delete
net-list
tenant-network-create
tenant-network-delete
tenant-network-list
tenant-network-show
baremetal-interface-list
baremetal-node-list
baremetal-node-show
host-evacuate-live
migration-list
list-extensions
--version
--debug
--os-cache
env[OS_CACHE]
is not set.--timings
--os-region-name <region-name>
env[OS_REGION_NAME]
.--service-type <service-type>
--service-name <service-name>
env[NOVA_SERVICE_NAME]
.--os-endpoint-type <endpoint-type>
env[NOVA_ENDPOINT_TYPE]
,
env[OS_ENDPOINT_TYPE]
or publicURL.--os-compute-api-version <compute-api-ver>
env[OS_COMPUTE_API_VERSION]
.--bypass-url <bypass-url>
env[NOVACLIENT_BYPASS_URL]
.--os-auth-type <name>, --os-auth-plugin <name>
usage: nova add-fixed-ip <server> <network-id>
Add new IP address on a network to server.
Positional arguments:
<server>
<network-id>
usage: nova add-secgroup <server> <secgroup>
Add a Security Group to a server.
Positional arguments:
<server>
<secgroup>
usage: nova agent-create <os> <architecture> <version> <url> <md5hash>
<hypervisor>
Create new agent build.
Positional arguments:
<os>
<architecture>
<version>
<url>
<md5hash>
<hypervisor>
usage: nova agent-delete <id>
Delete existing agent build.
Positional arguments:
<id>
usage: nova agent-list [--hypervisor <hypervisor>]
List all builds.
Optional arguments:
--hypervisor <hypervisor>
usage: nova agent-modify <id> <version> <url> <md5hash>
Modify existing agent build.
Positional arguments:
<id>
<version>
<url>
<md5hash>
usage: nova aggregate-add-host <aggregate> <host>
Add the host to the specified aggregate.
Positional arguments:
<aggregate>
<host>
usage: nova aggregate-create <name> [<availability-zone>]
Create a new aggregate with the specified details.
Positional arguments:
<name>
<availability-zone>
usage: nova aggregate-delete <aggregate>
Delete the aggregate.
Positional arguments:
<aggregate>
usage: nova aggregate-remove-host <aggregate> <host>
Remove the specified host from the specified aggregate.
Positional arguments:
<aggregate>
<host>
usage: nova aggregate-set-metadata <aggregate> <key=value> [<key=value> ...]
Update the metadata associated with the aggregate.
Positional arguments:
<aggregate>
<key=value>
usage: nova aggregate-show <aggregate>
Show details of the specified aggregate.
Positional arguments:
<aggregate>
usage: nova aggregate-update [--name NAME]
[--availability-zone <availability-zone>]
<aggregate>
Update the aggregate’s name and optionally availability zone.
Positional arguments:
<aggregate>
Optional arguments:
--name NAME
--availability-zone <availability-zone>
usage: nova backup <server> <name> <backup-type> <rotation>
Backup a server by creating a ‘backup’ type snapshot.
Positional arguments:
<server>
<name>
<backup-type>
<rotation>
usage: nova boot [--flavor <flavor>] [--image <image>]
[--image-with <key=value>] [--boot-volume <volume_id>]
[--snapshot <snapshot_id>] [--min-count <number>]
[--max-count <number>] [--meta <key=value>]
[--file <dst-path=src-path>] [--key-name <key-name>]
[--user-data <user-data>]
[--availability-zone <availability-zone>]
[--security-groups <security-groups>]
[--block-device-mapping <dev-name=mapping>]
[--block-device key1=value1[,key2=value2...]]
[--swap <swap_size>]
[--ephemeral size=<size>[,format=<format>]]
[--hint <key=value>]
[--nic <auto,none,net-id=net-uuid,net-name=network-name,port-id=port-uuid,v4-fixed-ip=ip-addr,v6-fixed-ip=ip-addr,tag=tag>]
[--config-drive <value>] [--poll] [--admin-pass <value>]
[--access-ip-v4 <value>] [--access-ip-v6 <value>]
[--description <description>]
<name>
Boot a new server.
Positional arguments:
<name>
Optional arguments:
--flavor <flavor>
--image <image>
--image-with <key=value>
--boot-volume <volume_id>
--snapshot <snapshot_id>
--min-count <number>
--max-count <number>
--meta <key=value>
--file <dst-path=src-path>
--key-name <key-name>
--user-data <user-data>
--availability-zone <availability-zone>
--security-groups <security-groups>
--block-device-mapping <dev-name=mapping>
--block-device
--swap <swap_size>
--ephemeral
--hint <key=value>
--nic <auto,none,net-id=net-uuid,net-name=network-name,port-id=port-uuid,v4-fixed-ip=ip-addr,v6-fixed-ip=ip-addr,tag=tag>
--config-drive <value>
--poll
--admin-pass <value>
--access-ip-v4 <value>
--access-ip-v6 <value>
--description <description>
usage: nova cell-capacities [--cell <cell-name>]
Get cell capacities for all cells or a given cell.
Optional arguments:
--cell <cell-name>
usage: nova cell-show <cell-name>
Show details of a given cell.
Positional arguments:
<cell-name>
usage: nova clear-password <server>
Clear the admin password for a server from the metadata server. This action does not actually change the instance server password.
Positional arguments:
<server>
usage: nova cloudpipe-configure <ip address> <port>
Update the VPN IP/port of a cloudpipe instance.
Positional arguments:
<ip address>
<port>
usage: nova cloudpipe-create <project_id>
Create a cloudpipe instance for the given project.
Positional arguments:
<project_id>
usage: nova console-log [--length <length>] <server>
Get console log output of a server.
Positional arguments:
<server>
Optional arguments:
--length <length>
usage: nova credentials [--wrap <integer>]
Show user credentials returned from auth.
Optional arguments:
--wrap <integer>
usage: nova delete [--all-tenants] <server> [<server> ...]
Immediately shut down and delete specified server(s).
Positional arguments:
<server>
Optional arguments:
--all-tenants
usage: nova diagnostics <server>
Retrieve server diagnostics.
Positional arguments:
<server>
usage: nova endpoints
Discover endpoints that get returned from the authenticate services.
usage: nova evacuate [--password <password>] [--force] <server> [<host>]
Evacuate server from failed host.
Positional arguments:
<server>
<host>
Optional arguments:
--password <password>
--force
usage: nova flavor-access-add <flavor> <tenant_id>
Add flavor access for the given tenant.
Positional arguments:
<flavor>
<tenant_id>
usage: nova flavor-access-list [--flavor <flavor>] [--tenant <tenant_id>]
Print access information about the given flavor.
Optional arguments:
--flavor <flavor>
--tenant <tenant_id>
usage: nova flavor-access-remove <flavor> <tenant_id>
Remove flavor access for the given tenant.
Positional arguments:
<flavor>
<tenant_id>
usage: nova flavor-create [--ephemeral <ephemeral>] [--swap <swap>]
[--rxtx-factor <factor>] [--is-public <is-public>]
<name> <id> <ram> <disk> <vcpus>
Create a new flavor.
Positional arguments:
<name>
<id>
<ram>
<disk>
<vcpus>
Optional arguments:
--ephemeral <ephemeral>
--swap <swap>
--rxtx-factor <factor>
--is-public <is-public>
usage: nova flavor-delete <flavor>
Delete a specific flavor
Positional arguments:
<flavor>
usage: nova flavor-key <flavor> <action> <key=value> [<key=value> ...]
Set or unset extra_spec for a flavor.
Positional arguments:
<flavor>
<action>
<key=value>
usage: openstack flavor list [-h]
[-f {csv,html,json,json,table,value,yaml,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--public | --private | --all] [--long]
[--marker <marker>] [--limit <limit>]
Print a list of available ‘flavors’ (sizes of servers).
Optional arguments:
--extra-specs
--all
--marker <marker>
--limit <limit>
usage: nova flavor-show <flavor>
Show details about the given flavor.
Positional arguments:
<flavor>
usage: nova floating-ip-associate [--fixed-address <fixed_address>]
<server> <address>
Associate a floating IP address to a server.
Positional arguments:
<server>
<address>
Optional arguments:
--fixed-address <fixed_address>
usage: nova floating-ip-disassociate <server> <address>
Disassociate a floating IP address from a server.
Positional arguments:
<server>
<address>
usage: nova force-delete <server>
Force delete a server.
Positional arguments:
<server>
usage: nova get-mks-console <server>
Get an MKS console to a server. (Supported by API versions ‘2.8’ - ‘2.latest’)
[hint:
use
‘--os-compute-api-version
‘
flag
to
show
help
message
for
proper
version]
Positional arguments:
<server>
usage: nova get-password <server> [<private-key>]
Get the admin password for a server. This operation calls the metadata service to query metadata information and does not read password information from the server itself.
Positional arguments:
<server>
<private-key>
usage: nova get-rdp-console <server> <console-type>
Get a rdp console to a server.
Positional arguments:
<server>
<console-type>
usage: nova get-serial-console [--console-type CONSOLE_TYPE] <server>
Get a serial console to a server.
Positional arguments:
<server>
Optional arguments:
--console-type CONSOLE_TYPE
usage: nova get-spice-console <server> <console-type>
Get a spice console to a server.
Positional arguments:
<server>
<console-type>
usage: nova get-vnc-console <server> <console-type>
Get a vnc console to a server.
Positional arguments:
<server>
<console-type>
usage: nova host-action [--action <action>] <hostname>
Perform a power action on a host.
Positional arguments:
<hostname>
Optional arguments:
--action <action>
usage: nova host-describe <hostname>
Describe a specific host.
Positional arguments:
<hostname>
usage: nova host-evacuate [--target_host <target_host>] [--force] <host>
Evacuate all instances from failed host.
Positional arguments:
<host>
Optional arguments:
--target_host <target_host>
--force
usage: nova host-evacuate-live [--target-host <target_host>] [--block-migrate]
[--max-servers <max_servers>] [--force]
<host>
Live migrate all instances of the specified host to other available hosts.
Positional arguments:
<host>
Optional arguments:
--target-host <target_host>
--block-migrate
--max-servers <max_servers>
--force
usage: nova host-list [--zone <zone>]
List all hosts by service.
Optional arguments:
--zone <zone>
usage: nova host-meta <host> <action> <key=value> [<key=value> ...]
Set or Delete metadata on all instances of a host.
Positional arguments:
<host>
<action>
<key=value>
usage: nova host-servers-migrate <host>
Cold migrate all instances off the specified host to other available hosts.
Positional arguments:
<host>
usage: nova host-update [--status <enable|disable>]
[--maintenance <enable|disable>]
<hostname>
Update host settings.
Positional arguments:
<hostname>
Optional arguments:
--status <enable|disable>
--maintenance <enable|disable>
usage: nova hypervisor-list [--matching <hostname>] [--marker <marker>]
[--limit <limit>]
List hypervisors. (Supported by API versions ‘2.0’ - ‘2.latest’) [hint: use
‘--os-compute-api-version
‘
flag
to
show
help
message
for
proper
version]
Optional arguments:
--matching <hostname>
--marker <marker>
--limit <limit>
usage: nova hypervisor-servers <hostname>
List servers belonging to specific hypervisors.
Positional arguments:
<hostname>
usage: nova hypervisor-show [--wrap <integer>] <hypervisor>
Display the details of the specified hypervisor.
Positional arguments:
<hypervisor>
Optional arguments:
--wrap <integer>
usage: nova hypervisor-stats
Get hypervisor statistics over all compute nodes.
usage: nova hypervisor-uptime <hypervisor>
Display the uptime of the specified hypervisor.
Positional arguments:
<hypervisor>
usage: nova image-create [--metadata <key=value>] [--show] [--poll]
<server> <name>
Create a new image by taking a snapshot of a running server.
Positional arguments:
<server>
<name>
Optional arguments:
--metadata <key=value>
--show
--poll
usage: nova instance-action <server> <request_id>
Show an action.
Positional arguments:
<server>
<request_id>
usage: nova instance-action-list <server>
List actions on a server.
Positional arguments:
<server>
usage: nova interface-attach [--port-id <port_id>] [--net-id <net_id>]
[--fixed-ip <fixed_ip>]
<server>
Attach a network interface to a server.
Positional arguments:
<server>
Optional arguments:
--port-id <port_id>
--net-id <net_id>
--fixed-ip <fixed_ip>
usage: nova interface-detach <server> <port_id>
Detach a network interface from a server.
Positional arguments:
<server>
<port_id>
usage: nova interface-list <server>
List interfaces attached to a server.
Positional arguments:
<server>
usage: nova keypair-add [--pub-key <pub-key>] [--key-type <key-type>]
[--user <user-id>]
<name>
Create a new key pair for use with servers.
Positional arguments:
<name>
Optional arguments:
--pub-key <pub-key>
--key-type <key-type>
--user <user-id>
usage: nova keypair-delete [--user <user-id>] <name>
Delete keypair given by its name. (Supported by API versions ‘2.0’ -
‘2.latest’)
[hint:
use
‘--os-compute-api-version
‘
flag
to
show
help
message
for proper version]
Positional arguments:
<name>
Optional arguments:
--user <user-id>
usage: nova keypair-list [--user <user-id>] [--marker <marker>]
[--limit <limit>]
Print a list of keypairs for a user (Supported by API versions ‘2.0’ -
‘2.latest’)
[hint:
use
‘--os-compute-api-version
‘
flag
to
show
help
message
for proper version]
Optional arguments:
--user <user-id>
--marker <marker>
--limit <limit>
usage: nova keypair-show [--user <user-id>] <keypair>
Show details about the given keypair. (Supported by API versions ‘2.0’ -
‘2.latest’)
[hint:
use
‘--os-compute-api-version
‘
flag
to
show
help
message
for proper version]
Positional arguments:
<keypair>
Optional arguments:
--user <user-id>
usage: nova limits [--tenant [<tenant>]] [--reserved]
Print rate and absolute limits.
Optional arguments:
--tenant [<tenant>]
--reserved
usage: nova list [--reservation-id <reservation-id>] [--ip <ip-regexp>]
[--ip6 <ip6-regexp>] [--name <name-regexp>]
[--instance-name <name-regexp>] [--status <status>]
[--flavor <flavor>] [--image <image>] [--host <hostname>]
[--all-tenants [<0|1>]] [--tenant [<tenant>]]
[--user [<user>]] [--deleted] [--fields <fields>] [--minimal]
[--sort <key>[:<direction>]] [--marker <marker>]
[--limit <limit>] [--changes-since <changes_since>]
[--tags <tags>] [--tags-any <tags-any>]
[--not-tags <not-tags>] [--not-tags-any <not-tags-any>]
List active servers.
Optional arguments:
--reservation-id <reservation-id>
--ip <ip-regexp>
--ip6 <ip6-regexp>
--name <name-regexp>
--instance-name <name-regexp>
--status <status>
--flavor <flavor>
--image <image>
--host <hostname>
--all-tenants [<0|1>]
--tenant [<tenant>]
--user [<user>]
--deleted
--fields <fields>
--minimal
--sort <key>[:<direction>]
--marker <marker>
--limit <limit>
--changes-since <changes_since>
--tags <tags>
--tags
<tag1,tag2> (Supported by API versions ‘2.26’
- ‘2.latest’)--tags-any <tags-any>
--tags-any
<tag1,tag2> (Supported by API versions ‘2.26’
- ‘2.latest’)--not-tags <not-tags>
--not-tags
<tag1,tag2> (Supported by
API versions ‘2.26’ - ‘2.latest’)--not-tags-any <not-tags-any>
--not-tags-any
<tag1,tag2> (Supported
by API versions ‘2.26’ - ‘2.latest’)usage: nova list-extensions
List all the os-api extensions that are available.
usage: nova list-secgroup <server>
List Security Group(s) of a server.
Positional arguments:
<server>
usage: nova live-migration [--block-migrate] [--force] <server> [<host>]
Migrate running server to a new machine.
Positional arguments:
<server>
<host>
Optional arguments:
--block-migrate
--force
usage: nova live-migration-abort <server> <migration>
Abort an on-going live migration. (Supported by API versions ‘2.24’ -
‘2.latest’)
[hint:
use
‘--os-compute-api-version
‘
flag
to
show
help
message
for proper version]
Positional arguments:
<server>
<migration>
usage: nova live-migration-force-complete <server> <migration>
Force on-going live migration to complete. (Supported by API versions ‘2.22’ -
‘2.latest’)
[hint:
use
‘--os-compute-api-version
‘
flag
to
show
help
message
for proper version]
Positional arguments:
<server>
<migration>
usage: nova lock <server>
Lock a server. A normal (non-admin) user will not be able to execute actions on a locked server.
Positional arguments:
<server>
usage: nova meta <server> <action> <key=value> [<key=value> ...]
Set or delete metadata on a server.
Positional arguments:
<server>
<action>
<key=value>
usage: nova migrate [--poll] <server>
Migrate a server. The new host will be selected by the scheduler.
Positional arguments:
<server>
Optional arguments:
--poll
usage: nova migration-list [--host <host>] [--status <status>]
[--cell_name <cell_name>]
Print a list of migrations.
Optional arguments:
--host <host>
--status <status>
--cell_name <cell_name>
usage: nova pause <server>
Pause a server.
Positional arguments:
<server>
usage: nova quota-class-show <class>
List the quotas for a quota class.
Positional arguments:
<class>
usage: nova quota-class-update [--instances <instances>] [--cores <cores>]
[--ram <ram>]
[--metadata-items <metadata-items>]
[--injected-files <injected-files>]
[--injected-file-content-bytes <injected-file-content-bytes>]
[--injected-file-path-bytes <injected-file-path-bytes>]
[--key-pairs <key-pairs>]
[--server-groups <server-groups>]
[--server-group-members <server-group-members>]
<class>
Update the quotas for a quota class. (Supported by API versions ‘2.0’ -
‘2.latest’)
[hint:
use
‘--os-compute-api-version
‘
flag
to
show
help
message
for proper version]
Positional arguments:
<class>
Optional arguments:
--instances <instances>
--cores <cores>
--ram <ram>
--metadata-items <metadata-items>
--injected-files <injected-files>
--injected-file-content-bytes <injected-file-content-bytes>
--injected-file-path-bytes <injected-file-path-bytes>
--key-pairs <key-pairs>
--server-groups <server-groups>
--server-group-members <server-group-members>
usage: nova quota-defaults [--tenant <tenant-id>]
List the default quotas for a tenant.
Optional arguments:
--tenant <tenant-id>
usage: nova quota-delete --tenant <tenant-id> [--user <user-id>]
Delete quota for a tenant/user so their quota will Revert back to default.
Optional arguments:
--tenant <tenant-id>
--user <user-id>
usage: nova quota-show [--tenant <tenant-id>] [--user <user-id>] [--detail]
List the quotas for a tenant/user.
Optional arguments:
--tenant <tenant-id>
--user <user-id>
--detail
usage: nova quota-update [--user <user-id>] [--instances <instances>]
[--cores <cores>] [--ram <ram>]
[--metadata-items <metadata-items>]
[--injected-files <injected-files>]
[--injected-file-content-bytes <injected-file-content-bytes>]
[--injected-file-path-bytes <injected-file-path-bytes>]
[--key-pairs <key-pairs>]
[--server-groups <server-groups>]
[--server-group-members <server-group-members>]
[--force]
<tenant-id>
Update the quotas for a tenant/user. (Supported by API versions ‘2.0’ -
‘2.latest’)
[hint:
use
‘--os-compute-api-version
‘
flag
to
show
help
message
for proper version]
Positional arguments:
<tenant-id>
Optional arguments:
--user <user-id>
--instances <instances>
--cores <cores>
--ram <ram>
--metadata-items <metadata-items>
--injected-files <injected-files>
--injected-file-content-bytes <injected-file-content-bytes>
--injected-file-path-bytes <injected-file-path-bytes>
--key-pairs <key-pairs>
--server-groups <server-groups>
--server-group-members <server-group-members>
--force
usage: nova reboot [--hard] [--poll] <server> [<server> ...]
Reboot a server.
Positional arguments:
<server>
Optional arguments:
--hard
--poll
usage: nova rebuild [--rebuild-password <rebuild-password>] [--poll]
[--minimal] [--preserve-ephemeral] [--name <name>]
[--description <description>] [--meta <key=value>]
[--file <dst-path=src-path>]
<server> <image>
Shutdown, re-image, and re-boot a server.
Positional arguments:
<server>
<image>
Optional arguments:
--rebuild-password <rebuild-password>
--poll
--minimal
--preserve-ephemeral
--name <name>
--description <description>
--meta <key=value>
--file <dst-path=src-path>
usage: nova refresh-network <server>
Refresh server network information.
Positional arguments:
<server>
usage: nova remove-fixed-ip <server> <address>
Remove an IP address from a server.
Positional arguments:
<server>
<address>
usage: nova remove-secgroup <server> <secgroup>
Remove a Security Group from a server.
Positional arguments:
<server>
<secgroup>
usage: nova rescue [--password <password>] [--image <image>] <server>
Reboots a server into rescue mode, which starts the machine from either the initial image or a specified image, attaching the current boot disk as secondary.
Positional arguments:
<server>
Optional arguments:
--password <password>
--image <image>
usage: nova reset-network <server>
Reset network of a server.
Positional arguments:
<server>
usage: nova reset-state [--all-tenants] [--active] <server> [<server> ...]
Reset the state of a server.
Positional arguments:
<server>
Optional arguments:
--all-tenants
--active
usage: nova resize [--poll] <server> <flavor>
Resize a server.
Positional arguments:
<server>
<flavor>
Optional arguments:
--poll
usage: nova resize-confirm <server>
Confirm a previous resize.
Positional arguments:
<server>
usage: nova resize-revert <server>
Revert a previous resize (and return to the previous VM).
Positional arguments:
<server>
usage: nova restore <server>
Restore a soft-deleted server.
Positional arguments:
<server>
usage: nova resume <server>
Resume a server.
Positional arguments:
<server>
usage: nova server-group-create <name> [<policy> [<policy> ...]]
Create a new server group with the specified details.
Positional arguments:
<name>
<policy>
usage: nova server-group-delete <id> [<id> ...]
Delete specific server group(s).
Positional arguments:
<id>
usage: nova server-group-get <id>
Get a specific server group.
Positional arguments:
<id>
usage: nova server-group-list [--all-projects]
Print a list of all server groups.
Optional arguments:
--all-projects
usage: nova server-migration-list <server>
Get the migrations list of specified server. (Supported by API versions ‘2.23’
-
‘2.latest’)
[hint:
use
‘--os-compute-api-version
‘
flag
to
show
help
message
for proper version]
Positional arguments:
<server>
usage: nova server-migration-show <server> <migration>
Get the migration of specified server. (Supported by API versions ‘2.23’ -
‘2.latest’)
[hint:
use
‘--os-compute-api-version
‘
flag
to
show
help
message
for proper version]
Positional arguments:
<server>
<migration>
usage: nova server-tag-add <server> <tag>
Add single tag to a server. (Supported by API versions ‘2.26’ - ‘2.latest’)
[hint:
use
‘--os-compute-api-version
‘
flag
to
show
help
message
for
proper
version]
Positional arguments:
<server>
<tag>
usage: nova server-tag-delete <server> <tag>
Delete single tag from a server. (Supported by API versions ‘2.26’ -
‘2.latest’)
[hint:
use
‘--os-compute-api-version
‘
flag
to
show
help
message
for proper version]
Positional arguments:
<server>
<tag>
usage: nova server-tag-delete-all <server>
Delete all tags from a server. (Supported by API versions ‘2.26’ - ‘2.latest’)
[hint:
use
‘--os-compute-api-version
‘
flag
to
show
help
message
for
proper
version]
Positional arguments:
<server>
usage: nova server-tag-list <server>
Get list of tags from a server. (Supported by API versions ‘2.26’ -
‘2.latest’)
[hint:
use
‘--os-compute-api-version
‘
flag
to
show
help
message
for proper version]
Positional arguments:
<server>
usage: nova server-tag-set <server> <tags> [<tags> ...]
Set list of tags to a server. (Supported by API versions ‘2.26’ - ‘2.latest’)
[hint:
use
‘--os-compute-api-version
‘
flag
to
show
help
message
for
proper
version]
Positional arguments:
<server>
<tags>
usage: nova service-delete <id>
Delete the service.
Positional arguments:
<id>
usage: nova service-disable [--reason <reason>] <hostname> <binary>
Disable the service.
Positional arguments:
<hostname>
<binary>
Optional arguments:
--reason <reason>
usage: nova service-enable <hostname> <binary>
Enable the service.
Positional arguments:
<hostname>
<binary>
usage: nova service-force-down [--unset] <hostname> <binary>
Force service to down. (Supported by API versions ‘2.11’ - ‘2.latest’) [hint:
use
‘--os-compute-api-version
‘
flag
to
show
help
message
for
proper
version]
Positional arguments:
<hostname>
<binary>
Optional arguments:
--unset
usage: nova service-list [--host <hostname>] [--binary <binary>]
Show a list of all running services. Filter by host & binary.
Optional arguments:
--host <hostname>
--binary <binary>
usage: nova set-password <server>
Change the admin password for a server.
Positional arguments:
<server>
usage: nova shelve <server>
Shelve a server.
Positional arguments:
<server>
usage: nova shelve-offload <server>
Remove a shelved server from the compute node.
Positional arguments:
<server>
usage: nova show [--minimal] <server>
Show details about the given server.
Positional arguments:
<server>
Optional arguments:
--minimal
usage: nova ssh [--port PORT] [--address-type ADDRESS_TYPE]
[--network <network>] [--ipv6] [--login <login>] [-i IDENTITY]
[--extra-opts EXTRA]
<server>
SSH into a server.
Positional arguments:
<server>
Optional arguments:
--port PORT
--address-type ADDRESS_TYPE
--network <network>
--ipv6
--login <login>
-i IDENTITY, --identity IDENTITY
--extra-opts EXTRA
usage: nova start [--all-tenants] <server> [<server> ...]
Start the server(s).
Positional arguments:
<server>
Optional arguments:
--all-tenants
usage: nova stop [--all-tenants] <server> [<server> ...]
Stop the server(s).
Positional arguments:
<server>
Optional arguments:
--all-tenants
usage: nova suspend <server>
Suspend a server.
Positional arguments:
<server>
usage: nova trigger-crash-dump <server>
Trigger crash dump in an instance. (Supported by API versions ‘2.17’ -
‘2.latest’)
[hint:
use
‘--os-compute-api-version
‘
flag
to
show
help
message
for proper version]
Positional arguments:
<server>
usage: nova unlock <server>
Unlock a server.
Positional arguments:
<server>
usage: nova unpause <server>
Unpause a server.
Positional arguments:
<server>
usage: nova unrescue <server>
Restart the server from normal boot disk again.
Positional arguments:
<server>
usage: nova unshelve <server>
Unshelve a server.
Positional arguments:
<server>
usage: nova update [--name <name>] [--description <description>] <server>
Update the name or the description for a server.
Positional arguments:
<server>
Optional arguments:
--name <name>
--description <description>
usage: nova usage [--start <start>] [--end <end>] [--tenant <tenant-id>]
Show usage data for a single tenant.
Optional arguments:
--start <start>
--end <end>
--tenant <tenant-id>
usage: nova usage-list [--start <start>] [--end <end>]
List usage data for all tenants.
Optional arguments:
--start <start>
--end <end>
usage: nova virtual-interface-list <server>
Show virtual interface info about the given server.
Positional arguments:
<server>
usage: nova volume-attach <server> <volume> [<device>]
Attach a volume to a server.
Positional arguments:
<server>
<volume>
<device>
usage: nova volume-attachments <server>
List all the volumes attached to a server.
Positional arguments:
<server>
usage: nova volume-detach <server> <volume>
Detach a volume from a server.
Positional arguments:
<server>
<volume>
usage: nova volume-update <server> <attachment> <volume>
Update volume attachment.
Positional arguments:
<server>
<attachment>
<volume>
usage: nova x509-create-cert [<private-key-filename>] [<x509-cert-filename>]
Create x509 cert for a user in tenant.
Positional arguments:
<private-key-filename>
<x509-cert-filename>
usage: nova x509-get-root-cert [<filename>]
Fetch the x509 root cert.
Positional arguments:
<filename>
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.