The nova client is the command-line interface (CLI) for the Compute service (nova) API and its extensions.
This chapter documents nova version 9.0.1.
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>]
[--endpoint-override <bypass-url>] [--profile HMAC_KEY]
[--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:
add-fixed-ipadd-secgroupagent-createagent-deleteagent-listagent-modifyaggregate-add-hostaggregate-createaggregate-deleteaggregate-listaggregate-remove-hostaggregate-set-metadataaggregate-showaggregate-updateavailability-zone-listbackupbootcell-capacitiescell-showclear-passwordcloudpipe-configurecloudpipe-createcloudpipe-listconsole-logdeletediagnosticsevacuateflavor-access-addflavor-access-listflavor-access-removeflavor-createflavor-deleteflavor-keyflavor-listflavor-showfloating-ip-associatefloating-ip-disassociateforce-deleteget-mks-consoleget-passwordget-rdp-consoleget-serial-consoleget-spice-consoleget-vnc-consolehost-actionhost-describehost-evacuatehost-evacuate-livehost-listhost-metahost-servers-migratehost-updatehypervisor-listhypervisor-servershypervisor-showhypervisor-statshypervisor-uptimeimage-createinstance-actioninstance-action-listinterface-attachinterface-detachinterface-listkeypair-addkeypair-deletekeypair-listkeypair-showlimitslistlist-extensionslist-secgrouplive-migrationlive-migration-abortlive-migration-force-completelockmetamigratemigration-listpausequota-class-showquota-class-updatequota-defaultsquota-deletequota-showquota-updaterebootrebuildrefresh-networkremove-fixed-ipremove-secgrouprescuereset-networkreset-stateresizeresize-confirmresize-revertrestoreresumeserver-group-createserver-group-deleteserver-group-getserver-group-listserver-migration-listserver-migration-showserver-tag-addserver-tag-deleteserver-tag-delete-allserver-tag-listserver-tag-setservice-deleteservice-disableservice-enableservice-force-downservice-listset-passwordshelveshelve-offloadshowsshstartstopsuspendtrigger-crash-dumpunlockunpauseunrescueunshelveupdateusageusage-listversion-listvirtual-interface-listvolume-attachvolume-attachmentsvolume-detachvolume-updatex509-create-certx509-get-root-certbash-completionhelp--version--debug--os-cacheenv[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].--endpoint-override <bypass-url>env[NOVACLIENT_ENDPOINT_OVERRIDE].--profile HMAC_KEY--os-auth-type <name>, --os-auth-plugin <name>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 console-log [--length <length>] <server>
Get console log output of a server.
Positional arguments:
<server>Optional arguments:
--length <length>usage: nova delete [--all-tenants] <server> [<server> ...]
Immediately shut down and delete specified server(s).
Positional arguments:
<server>Optional arguments:
--all-tenantsusage: nova diagnostics <server>
Retrieve server diagnostics.
Positional arguments:
<server>usage: nova evacuate [--password <password>] [--force] <server> [<host>]
Evacuate server from failed host.
Positional arguments:
<server><host>Optional arguments:
--password <password>--forceusage: 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>]
Print access information about the given flavor.
Optional arguments:
--flavor <flavor>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: nova flavor-list [--extra-specs] [--all] [--marker <marker>]
[--min-disk <min-disk>] [--min-ram <min-ram>]
[--limit <limit>] [--sort-key <sort-key>]
[--sort-dir <sort-dir>]
Print a list of available 'flavors' (sizes of servers).
Optional arguments:
--extra-specs--all--marker <marker>--min-disk <min-disk>--min-ram <min-ram>--limit <limit>--sort-key <sort-key>--sort-dir <sort-dir>usage: nova flavor-show <flavor>
Show details about the given flavor.
Positional arguments:
<flavor>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_TYPEusage: 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-evacuate [--target_host <target_host>] [--force] <host>
Evacuate all instances from failed host.
Positional arguments:
<host>Optional arguments:
--target_host <target_host>--forceusage: 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>--forceusage: 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 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--pollusage: 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>]--reservedusage: 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 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-any <tags-any>--not-tags <not-tags>--not-tags-any <not-tags-any>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--forceusage: 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:
--pollusage: nova migration-list [--instance-uuid <instance_uuid>] [--host <host>]
[--status <status>]
Print a list of migrations.
Optional arguments:
--instance-uuid <instance_uuid>--host <host>--status <status>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>--detailusage: 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>--forceusage: nova reboot [--hard] [--poll] <server> [<server> ...]
Reboot a server.
Positional arguments:
<server>Optional arguments:
--hard--pollusage: 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-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--activeusage: nova resize [--poll] <server> <flavor>
Resize a server.
Positional arguments:
<server><flavor>Optional arguments:
--pollusage: 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 [--limit <limit>] [--offset <offset>]
[--all-projects]
Print a list of all server groups.
Optional arguments:
--limit <limit>--offset <offset>--all-projectsusage: 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> [<tag> ...]
Add one or more 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><tag>usage: nova server-tag-delete <server> <tag> [<tag> ...]
Delete one or more 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><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:
--unsetusage: 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] [--wrap <integer>] <server>
Show details about the given server.
Positional arguments:
<server>Optional arguments:
--minimal--wrap <integer>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 EXTRAusage: nova start [--all-tenants] <server> [<server> ...]
Start the server(s).
Positional arguments:
<server>Optional arguments:
--all-tenantsusage: nova stop [--all-tenants] <server> [<server> ...]
Stop the server(s).
Positional arguments:
<server>Optional arguments:
--all-tenantsusage: 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 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> <src_volid> <dest_volid>
Update the attachment on the server. Migrates the data from an attached volume to the specified available volume and swaps out the active attachment to the new volume.
Positional arguments:
<server><src_volid><dest_volid>
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.