1NOVA(1)                        python-novaclient                       NOVA(1)
2
3
4

NAME

6       nova - OpenStack Nova command line client
7
8       The  nova  client  is  the command-line interface (CLI) for the Compute
9       service (nova) API and its extensions.
10
11       For help on a specific nova command, enter:
12
13          $ nova help COMMAND
14
15       Deprecated since version 17.8.0: The nova CLI has  been  deprecated  in
16       favour of the unified openstack CLI. For information on using the open‐
17       stack CLI, see OpenStackClient.
18
19

NOVA USAGE

21          usage: nova [--version] [--debug] [--os-cache] [--timings]
22                      [--os-region-name <region-name>] [--service-type <service-type>]
23                      [--service-name <service-name>]
24                      [--os-endpoint-type <endpoint-type>]
25                      [--os-compute-api-version <compute-api-ver>]
26                      [--os-endpoint-override <bypass-url>] [--profile HMAC_KEY]
27                      [--insecure] [--os-cacert <ca-certificate>]
28                      [--os-cert <certificate>] [--os-key <key>] [--timeout <seconds>]
29                      [--collect-timing] [--os-auth-type <name>]
30                      [--os-auth-url OS_AUTH_URL] [--os-system-scope OS_SYSTEM_SCOPE]
31                      [--os-domain-id OS_DOMAIN_ID] [--os-domain-name OS_DOMAIN_NAME]
32                      [--os-project-id OS_PROJECT_ID]
33                      [--os-project-name OS_PROJECT_NAME]
34                      [--os-project-domain-id OS_PROJECT_DOMAIN_ID]
35                      [--os-project-domain-name OS_PROJECT_DOMAIN_NAME]
36                      [--os-trust-id OS_TRUST_ID]
37                      [--os-default-domain-id OS_DEFAULT_DOMAIN_ID]
38                      [--os-default-domain-name OS_DEFAULT_DOMAIN_NAME]
39                      [--os-user-id OS_USER_ID] [--os-username OS_USERNAME]
40                      [--os-user-domain-id OS_USER_DOMAIN_ID]
41                      [--os-user-domain-name OS_USER_DOMAIN_NAME]
42                      [--os-password OS_PASSWORD]
43                      <subcommand> ...
44
45       Subcommands:
46
47       add-fixed-ip
48              DEPRECATED Add new IP address on a network to server.
49
50       add-secgroup
51              Add a Security Group to a server.
52
53       agent-create
54              Create new agent build.
55
56       agent-delete
57              Delete existing agent build.
58
59       agent-list
60              List all builds.
61
62       agent-modify
63              Modify existing agent build.
64
65       aggregate-add-host
66              Add the host to the specified aggregate.
67
68       aggregate-cache-images
69              Request images be  pre-cached  on  hosts  within  an  aggregate.
70              (Supported by API versions '2.81' - '2.latest')
71
72       aggregate-create
73              Create a new aggregate with the specified details.
74
75       aggregate-delete
76              Delete the aggregate.
77
78       aggregate-list
79              Print a list of all aggregates.
80
81       aggregate-remove-host
82              Remove the specified host from the specified aggregate.
83
84       aggregate-set-metadata
85              Update the metadata associated with the aggregate.
86
87       aggregate-show
88              Show details of the specified aggregate.
89
90       aggregate-update
91              Update the aggregate's name and optionally availability zone.
92
93       availability-zone-list
94              List all the availability zones.
95
96       backup Backup a server by creating a 'backup' type snapshot.
97
98       boot   Boot a new server.
99
100       clear-password
101              Clear  the admin password for a server from the metadata server.
102              This action does not actually change the instance  server  pass‐
103              word.
104
105       cloudpipe-configure
106              DEPRECATED Update the VPN IP/port of a cloudpipe instance.
107
108       cloudpipe-create
109              DEPRECATED Create a cloudpipe instance for the given project.
110
111       cloudpipe-list
112              DEPRECATED Print a list of all cloudpipe instances.
113
114       console-log
115              Get console log output of a server.
116
117       delete Immediately shut down and delete specified server(s).
118
119       diagnostics
120              Retrieve server diagnostics.
121
122       evacuate
123              Evacuate server from failed host.
124
125       flavor-access-add
126              Add flavor access for the given tenant.
127
128       flavor-access-list
129              Print access information about the given flavor.
130
131       flavor-access-remove
132              Remove flavor access for the given tenant.
133
134       flavor-create
135              Create a new flavor.
136
137       flavor-delete
138              Delete a specific flavor
139
140       flavor-key
141              Set or unset extra_spec for a flavor.
142
143       flavor-list
144              Print a list of available 'flavors' (sizes of servers).
145
146       flavor-show
147              Show details about the given flavor.
148
149       flavor-update
150              Update the description of an existing flavor.  (Supported by API
151              versions '2.55' - '2.latest') [hint: use  '--os-compute-api-ver‐
152              sion' flag to show help message for proper version]
153
154       floating-ip-associate
155              DEPRECATED Associate a floating IP address to a server.
156
157       floating-ip-disassociate
158              DEPRECATED Disassociate a floating IP address from a server.
159
160       force-delete
161              Force delete a server.
162
163       get-mks-console
164              Get an MKS console to a server. (Supported by API versions '2.8'
165              - '2.latest') [hint: use '--os-compute-api-version' flag to show
166              help message for proper version]
167
168       get-password
169              Get  the  admin  password for a server. This operation calls the
170              metadata service to query metadata information and does not read
171              password information from the server itself.
172
173       get-rdp-console
174              Get a rdp console to a server.
175
176       get-serial-console
177              Get a serial console to a server.
178
179       get-spice-console
180              Get a spice console to a server.
181
182       get-vnc-console
183              Get a vnc console to a server.
184
185       host-action
186              DEPRECATED Perform a power action on a host.
187
188       host-describe
189              DEPRECATED Describe a specific host.
190
191       host-evacuate
192              Evacuate all instances from failed host.
193
194       host-evacuate-live
195              Live  migrate  all  instances  off  the  specified host to other
196              available hosts.
197
198       host-list
199              DEPRECATED List all hosts by service.
200
201       host-meta
202              Set or Delete metadata on all instances of a host.
203
204       host-servers-migrate
205              Cold migrate all instances  off  the  specified  host  to  other
206              available hosts.
207
208       host-update
209              DEPRECATED Update host settings.
210
211       hypervisor-list
212              List hypervisors. (Supported by API versions '2.0' - '2.latest')
213              [hint: use '--os-compute-api-version' flag to show help  message
214              for proper version]
215
216       hypervisor-servers
217              List servers belonging to specific hypervisors.
218
219       hypervisor-show
220              Display the details of the specified hypervisor.
221
222       hypervisor-stats
223              Get hypervisor statistics over all compute nodes.
224
225       hypervisor-uptime
226              Display the uptime of the specified hypervisor.
227
228       image-create
229              Create a new image by taking a snapshot of a running server.
230
231       instance-action
232              Show an action.
233
234       instance-action-list
235              List actions on a server.
236
237       instance-usage-audit-log
238              List/Get server usage audits.
239
240       interface-attach
241              Attach a network interface to a server.
242
243       interface-detach
244              Detach a network interface from a server.
245
246       interface-list
247              List interfaces attached to a server.
248
249       keypair-add
250              Create a new key pair for use with servers.
251
252       keypair-delete
253              Delete  keypair  given  by  its name. (Supported by API versions
254              '2.0' - '2.latest') [hint: use  '--os-compute-api-version'  flag
255              to show help message for proper version]
256
257       keypair-list
258              Print  a  list of keypairs for a user (Supported by API versions
259              '2.0' - '2.latest') [hint: use  '--os-compute-api-version'  flag
260              to show help message for proper version]
261
262       keypair-show
263              Show  details  about  the given keypair.  (Supported by API ver‐
264              sions '2.0' - '2.latest') [hint: use  '--os-compute-api-version'
265              flag to show help message for proper version]
266
267       limits Print rate and absolute limits.
268
269       list   List servers.
270
271       list-secgroup
272              List Security Group(s) of a server.
273
274       live-migration
275              Migrate running server to a new machine.
276
277       live-migration-abort
278              Abort  an  on-going  live  migration. (Supported by API versions
279              '2.24' - '2.latest') [hint: use '--os-compute-api-version'  flag
280              to show help message for proper version]
281
282       live-migration-force-complete
283              Force  on-going  live  migration to complete.  (Supported by API
284              versions '2.22' - '2.latest') [hint: use  '--os-compute-api-ver‐
285              sion' flag to show help message for proper version]
286
287       lock   Lock a server. A normal (non-admin) user will not be able to ex‐
288              ecute actions on a locked server.
289
290       meta   Set or delete metadata on a server.
291
292       migrate
293              Migrate a server. The new host will be selected  by  the  sched‐
294              uler.
295
296       migration-list
297              Print a list of migrations.
298
299       pause  Pause a server.
300
301       quota-class-show
302              List the quotas for a quota class.
303
304       quota-class-update
305              Update the quotas for a quota class.  (Supported by API versions
306              '2.0' - '2.latest') [hint: use  '--os-compute-api-version'  flag
307              to show help message for proper version]
308
309       quota-defaults
310              List the default quotas for a tenant.
311
312       quota-delete
313              Delete  quota  for a tenant/user so their quota will Revert back
314              to default.
315
316       quota-show
317              List the quotas for a tenant/user.
318
319       quota-update
320              Update the quotas for a tenant/user.  (Supported by API versions
321              '2.0'  -  '2.latest') [hint: use '--os-compute-api-version' flag
322              to show help message for proper version]
323
324       reboot Reboot a server.
325
326       rebuild
327              Shutdown, re-image, and re-boot a server.
328
329       refresh-network
330              Refresh server network information.
331
332       remove-fixed-ip
333              DEPRECATED Remove an IP address from a server.
334
335       remove-secgroup
336              Remove a Security Group from a server.
337
338       rescue Reboots a server into rescue mode, which starts the machine from
339              either  the  initial  image  or a specified image, attaching the
340              current boot disk as secondary.
341
342       reset-network
343              Reset network of a server.
344
345       reset-state
346              Reset the state of a server.
347
348       resize Resize a server.
349
350       resize-confirm
351              Confirm a previous resize.
352
353       resize-revert
354              Revert a previous resize (and return to the previous VM).
355
356       restore
357              Restore a soft-deleted server.
358
359       resume Resume a server.
360
361       server-group-create
362              Create a new server group with the specified details.
363
364       server-group-delete
365              Delete specific server group(s).
366
367       server-group-get
368              Get a specific server group.
369
370       server-group-list
371              Print a list of all server groups.
372
373       server-migration-list
374              Get the migrations list of specified server.  (Supported by  API
375              versions  '2.23' - '2.latest') [hint: use '--os-compute-api-ver‐
376              sion' flag to show help message for proper version]
377
378       server-migration-show
379              Get the migration of specified server.  (Supported by  API  ver‐
380              sions '2.23' - '2.latest') [hint: use '--os-compute-api-version'
381              flag to show help message for proper version]
382
383       server-tag-add
384              Add one or more tags to a server.  (Supported  by  API  versions
385              '2.26'  - '2.latest') [hint: use '--os-compute-api-version' flag
386              to show help message for proper version]
387
388       server-tag-delete
389              Delete one or more tags from a server.  (Supported by  API  ver‐
390              sions '2.26' - '2.latest') [hint: use '--os-compute-api-version'
391              flag to show help message for proper version]
392
393       server-tag-delete-all
394              Delete all tags from a server. (Supported by API versions '2.26'
395              - '2.latest') [hint: use '--os-compute-api-version' flag to show
396              help message for proper version]
397
398       server-tag-list
399              Get list of tags from  a  server.  (Supported  by  API  versions
400              '2.26'  - '2.latest') [hint: use '--os-compute-api-version' flag
401              to show help message for proper version]
402
403       server-tag-set
404              Set list of tags to a server. (Supported by API versions  '2.26'
405              - '2.latest') [hint: use '--os-compute-api-version' flag to show
406              help message for proper version]
407
408       server-topology
409              Retrieve NUMA topology of the given server.  (Supported  by  API
410              versions '2.78' - '2.latest')
411
412       service-delete
413              Delete the service.
414
415       service-disable
416              Disable the service.
417
418       service-enable
419              Enable the service.
420
421       service-force-down
422              Force  service  to  down.  (Supported  by  API versions '2.11' -
423              '2.latest') [hint: use '--os-compute-api-version' flag  to  show
424              help message for proper version]
425
426       service-list
427              Show a list of all running services. Filter by host & binary.
428
429       set-password
430              Change the admin password for a server.
431
432       shelve Shelve a server.
433
434       shelve-offload
435              Remove a shelved server from the compute node.
436
437       show   Show details about the given server.
438
439       ssh    SSH into a server.
440
441       start  Start the server(s).
442
443       stop   Stop the server(s).
444
445       suspend
446              Suspend a server.
447
448       trigger-crash-dump
449              Trigger  crash  dump  in an instance. (Supported by API versions
450              '2.17' - '2.latest') [hint: use '--os-compute-api-version'  flag
451              to show help message for proper version]
452
453       unlock Unlock a server.
454
455       unpause
456              Unpause a server.
457
458       unrescue
459              Restart the server from normal boot disk again.
460
461       unshelve
462              Unshelve a server.
463
464       update Update the name or the description for a server.
465
466       usage  Show usage data for a single tenant.
467
468       usage-list
469              List usage data for all tenants.
470
471       version-list
472              List all API versions.
473
474       virtual-interface-list
475              DEPRECATED Show virtual interface info about the given server.
476
477       volume-attach
478              Attach a volume to a server.
479
480       volume-attachments
481              List all the volumes attached to a server.
482
483       volume-detach
484              Detach a volume from a server.
485
486       volume-update
487              Update  the  attachment on the server. Migrates the data from an
488              attached volume to the specified available volume and swaps  out
489              the  active  attachment  to  the new volume.  Since microversion
490              2.85, support  for  updating  the  delete_on_termination  delete
491              flag,  which  allows changing the behavior of volume deletion on
492              instance deletion.
493
494       x509-create-cert
495              DEPRECATED Create x509 cert for a user in tenant.
496
497       x509-get-root-cert
498              DEPRECATED Fetch the x509 root cert.
499
500       bash-completion
501              Prints all of the commands and options to  stdout  so  that  the
502              nova.bash_completion script doesn't have to hard code them.
503
504       help   Display help about this program or one of its subcommands.
505

NOVA OPTIONAL ARGUMENTS

507       --version
508              show program's version number and exit
509
510       --debug
511              Print debugging output.
512
513       --os-cache
514              Use  the auth token cache. Defaults to False if env[OS_CACHE] is
515              not set.
516
517       --timings
518              Print call timing info.
519
520       --os-region-name <region-name>
521              Defaults to env[OS_REGION_NAME].
522
523       --service-type <service-type>
524              Defaults to compute for most actions.
525
526       --service-name <service-name>
527              Defaults to env[NOVA_SERVICE_NAME].
528
529       --os-endpoint-type <endpoint-type>
530              Defaults to  env[NOVA_ENDPOINT_TYPE],  env[OS_ENDPOINT_TYPE]  or
531              publicURL.
532
533       --os-compute-api-version <compute-api-ver>
534              Accepts X, X.Y (where X is major and Y is minor part) or "X.lat‐
535              est", defaults to env[OS_COMPUTE_API_VERSION].
536
537       --os-endpoint-override <bypass-url>
538              Use this API endpoint instead of the Service  Catalog.  Defaults
539              to env[OS_ENDPOINT_OVERRIDE].
540
541       --profile HMAC_KEY
542              HMAC key to use for encrypting context data for performance pro‐
543              filing of operation. This key should be the value  of  the  HMAC
544              key  configured  for  the  OSprofiler  middleware in nova; it is
545              specified    in    the    Nova     configuration     file     at
546              "/etc/nova/nova.conf".   Without  the key, profiling will not be
547              triggered even if OSprofiler is enabled on the server side.
548
549       --os-auth-type <name>, --os-auth-plugin <name>
550              Authentication type to use
551
552   nova add-secgroup
553          usage: nova add-secgroup <server> <secgroup>
554
555       Add a Security Group to a server.
556
557       Positional arguments:
558
559       <server>
560              Name or ID of server.
561
562       <secgroup>
563              Name or ID of Security Group.
564
565   nova agent-create
566          usage: nova agent-create <os> <architecture> <version> <url> <md5hash>
567                                   <hypervisor>
568
569       Create new agent build.
570
571       Positional arguments:
572
573       <os>   Type of OS.
574
575       <architecture>
576              Type of architecture.
577
578       <version>
579              Version.
580
581       <url>  URL.
582
583       <md5hash>
584              MD5 hash.
585
586       <hypervisor>
587              Type of hypervisor.
588
589   nova agent-delete
590          usage: nova agent-delete <id>
591
592       Delete existing agent build.
593
594       Positional arguments:
595
596       <id>   ID of the agent-build.
597
598   nova agent-list
599          usage: nova agent-list [--hypervisor <hypervisor>]
600
601       List all builds.
602
603       Optional arguments:
604
605       --hypervisor <hypervisor>
606              Type of hypervisor.
607
608   nova agent-modify
609          usage: nova agent-modify <id> <version> <url> <md5hash>
610
611       Modify existing agent build.
612
613       Positional arguments:
614
615       <id>   ID of the agent-build.
616
617       <version>
618              Version.
619
620       <url>  URL
621
622       <md5hash>
623              MD5 hash.
624
625   nova aggregate-add-host
626          usage: nova aggregate-add-host <aggregate> <host>
627
628       Add the host to the specified aggregate.
629
630       Positional arguments:
631
632       <aggregate>
633              Name or ID of aggregate.
634
635       <host> The host to add to the aggregate.
636
637   nova aggregate-cache-images
638          usage: nova aggregate-cache-images <aggregate> <image> [<image> ..]
639
640       Request image(s) be pre-cached on hosts within  the  aggregate.   (Sup‐
641       ported by API versions '2.81' - '2.latest')
642
643       New in version 16.0.0.
644
645
646       Positional arguments:
647
648       <aggregate>
649              Name or ID of aggregate.
650
651       <image>
652              Name or ID of image(s) to cache.
653
654   nova aggregate-create
655          usage: nova aggregate-create <name> [<availability-zone>]
656
657       Create a new aggregate with the specified details.
658
659       Positional arguments:
660
661       <name> Name of aggregate.
662
663       <availability-zone>
664              The availability zone of the aggregate (optional).
665
666   nova aggregate-delete
667          usage: nova aggregate-delete <aggregate>
668
669       Delete the aggregate.
670
671       Positional arguments:
672
673       <aggregate>
674              Name or ID of aggregate to delete.
675
676   nova aggregate-list
677          usage: nova aggregate-list
678
679       Print a list of all aggregates.
680
681   nova aggregate-remove-host
682          usage: nova aggregate-remove-host <aggregate> <host>
683
684       Remove the specified host from the specified aggregate.
685
686       Positional arguments:
687
688       <aggregate>
689              Name or ID of aggregate.
690
691       <host> The host to remove from the aggregate.
692
693   nova aggregate-set-metadata
694          usage: nova aggregate-set-metadata <aggregate> <key=value> [<key=value> ...]
695
696       Update the metadata associated with the aggregate.
697
698       Positional arguments:
699
700       <aggregate>
701              Name or ID of aggregate to update.
702
703       <key=value>
704              Metadata  to  add/update  to  aggregate. Specify only the key to
705              delete a metadata item.
706
707   nova aggregate-show
708          usage: nova aggregate-show <aggregate>
709
710       Show details of the specified aggregate.
711
712       Positional arguments:
713
714       <aggregate>
715              Name or ID of aggregate.
716
717   nova aggregate-update
718          usage: nova aggregate-update [--name NAME]
719                                       [--availability-zone <availability-zone>]
720                                       <aggregate>
721
722       Update the aggregate's name and optionally availability zone.
723
724       Positional arguments:
725
726       <aggregate>
727              Name or ID of aggregate to update.
728
729       Optional arguments:
730
731       --name NAME
732              New name for aggregate.
733
734       --availability-zone <availability-zone>
735              New availability zone for aggregate.
736
737   nova availability-zone-list
738          usage: nova availability-zone-list
739
740       List all the availability zones.
741
742   nova backup
743          usage: nova backup <server> <name> <backup-type> <rotation>
744
745       Backup a server by creating a 'backup' type snapshot.
746
747       Positional arguments:
748
749       <server>
750              Name or ID of server.
751
752       <name> Name of the backup image.
753
754       <backup-type>
755              The backup type, like "daily" or "weekly".
756
757       <rotation>
758              Int parameter representing how many backups to keep around.
759
760   nova boot
761          usage: nova boot [--flavor <flavor>] [--image <image>]
762                           [--image-with <key=value>] [--boot-volume <volume_id>]
763                           [--snapshot <snapshot_id>] [--min-count <number>]
764                           [--max-count <number>] [--meta <key=value>]
765                           [--key-name <key-name>] [--user-data <user-data>]
766                           [--availability-zone <availability-zone>]
767                           [--security-groups <security-groups>]
768                           [--block-device-mapping <dev-name=mapping>]
769                           [--block-device key1=value1[,key2=value2...]]
770                           [--swap <swap_size>]
771                           [--ephemeral size=<size>[,format=<format>]]
772                           [--hint <key=value>]
773                           [--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>]
774                           [--config-drive <value>] [--poll] [--admin-pass <value>]
775                           [--access-ip-v4 <value>] [--access-ip-v6 <value>]
776                           [--description <description>] [--tags <tags>]
777                           [--return-reservation-id]
778                           [--trusted-image-certificate-id <trusted-image-certificate-id>]
779                           [--host <host>]
780                           [--hypervisor-hostname <hypervisor-hostname>]
781                           [--hostname <hostname>]
782                           <name>
783
784       Boot a new server.
785
786       In order to create a server with pre-existing ports that contain a  re‐
787       source_request  value, such as for guaranteed minimum bandwidth quality
788       of service support, microversion 2.72 is required.
789
790       Positional arguments:
791
792       <name> Name for the new server.
793
794       Optional arguments:
795
796       --flavor <flavor>
797              Name or ID of flavor (see 'nova flavor-list').
798
799       --image <image>
800              Name or ID of image (see 'glance image-list').
801
802       --image-with <key=value>
803              Image metadata property (see 'glance image-show').
804
805       --boot-volume <volume_id>
806              Volume ID to boot from.
807
808       --snapshot <snapshot_id>
809              Snapshot ID to boot from (will create a volume).
810
811       --min-count <number>
812              Boot at least <number> servers (limited by quota).
813
814       --max-count <number>
815              Boot up to <number> servers (limited by quota).
816
817       --meta <key=value>
818              Record arbitrary key/value metadata to  /meta_data.json  on  the
819              metadata server. Can be specified multiple times.
820
821       --key-name <key-name>
822              Key name of keypair that should be created earlier with the com‐
823              mand keypair-add.
824
825       --user-data <user-data>
826              user data file to pass to be exposed by the metadata server.
827
828       --availability-zone <availability-zone>
829              The availability zone for server placement.
830
831       --security-groups <security-groups>
832              Comma separated list of security group names.
833
834       --block-device-mapping <dev-name=mapping>
835              Block       device       mapping       in       the       format
836              <dev-name>=<id>:<type>:<size(GiB)>:<delete-on-terminate>.
837
838       --block-device
839              key1=value1[,key2=value2...]   Block  device  mapping  with  the
840              keys: id=UUID (image_id, snapshot_id or volume_id only if  using
841              source  image,  snapshot  or  volume) source=source type (image,
842              snapshot, volume or blank), dest=destination type of  the  block
843              device  (volume or local), bus=device's bus (e.g. uml, lxc, vir‐
844              tio, ...; if omitted, hypervisor driver chooses a  suitable  de‐
845              fault,  honoured  only  if  device type is supplied) type=device
846              type (e.g. disk, cdrom, ...; defaults to 'disk') device=name  of
847              the  device  (e.g.  vda, xda, ...; if omitted, hypervisor driver
848              chooses suitable device depending on selected bus; note the lib‐
849              virt  driver always uses default device names), size=size of the
850              block device in MiB(for swap) and in GiB(for other formats)  (if
851              omitted,  hypervisor driver calculates size), format=device will
852              be formatted (e.g. swap, ntfs, ...; optional), bootindex=integer
853              used  for ordering the boot disks (for image backed instances it
854              is equal to 0, for others need to be specified),  shutdown=shut‐
855              down behaviour (either preserve or remove, for local destination
856              set to remove), tag=device metadata tag (optional; supported  by
857              API  versions '2.42' - '2.latest'), and volume_type=type of vol‐
858              ume to create (either ID or name) when source is blank, image or
859              snapshot and dest is volume (optional; supported by API versions
860              '2.67' - '2.latest').
861
862       --swap <swap_size>
863              Create and attach a local swap block device of <swap_size> MiB.
864
865       --ephemeral
866              size=<size>[,format=<format>]  Create   and   attach   a   local
867              ephemeral block device of <size> GiB and format it to <format>.
868
869       --hint <key=value>
870              Send arbitrary key/value pairs to the scheduler for custom use.
871
872       --nic                          <auto,none,net-id=net-uuid,net-name=net‐
873       work-name,port-id=port-uuid,v4-fixed-ip=ip-addr,v6-fixed-ip=ip-addr,tag=tag>
874              Create  a  NIC  on  the server. Specify option multiple times to
875              create multiple nics unless using the special 'auto'  or  'none'
876              values.   auto: automatically allocate network resources if none
877              are available. This cannot be specified with any other nic value
878              and  cannot  be  specified multiple times. none: do not attach a
879              NIC at all. This cannot be specified with any  other  nic  value
880              and  cannot  be  specified multiple times. net-id: attach NIC to
881              network with a specific UUID. net-name: attach  NIC  to  network
882              with  this  name  (either  port-id or net-id or net-name must be
883              provided), v4-fixed-ip: IPv4 fixed address for  NIC  (optional),
884              v6-fixed-ip: IPv6 fixed address for NIC (optional), port-id: at‐
885              tach NIC to port with this UUID tag: interface metadata tag (op‐
886              tional)  (either port-id or net-id must be provided). (Supported
887              by API versions '2.42' - '2.latest')
888
889       --config-drive <value>
890              Enable config drive. The value must be a boolean value.
891
892       --poll Report the new server boot progress until it completes.
893
894       --admin-pass <value>
895              Admin password for the instance.
896
897       --access-ip-v4 <value>
898              Alternative access IPv4 of the instance.
899
900       --access-ip-v6 <value>
901              Alternative access IPv6 of the instance.
902
903       --description <description>
904              Description for the server. (Supported by API versions '2.19'  -
905              '2.latest')
906
907       --tags <tags>
908              Tags  for  the  server.Tags  must be separated by commas: --tags
909              <tag1,tag2> (Supported by API versions '2.52' - '2.latest')
910
911       --return-reservation-id
912              Return a reservation id bound to created servers.
913
914       --trusted-image-certificate-id <trusted-image-certificate-id>
915              Trusted image certificate IDs used to validate certificates dur‐
916              ing  the  image  signature  verification  process.   Defaults to
917              env[OS_TRUSTED_IMAGE_CERTIFICATE_IDS].  May be specified  multi‐
918              ple  times to pass multiple trusted image certificate IDs. (Sup‐
919              ported by API versions '2.63' - '2.latest')
920
921       --host <host>
922              Requested host to create servers. Admin only by default.   (Sup‐
923              ported by API versions '2.74' - '2.latest')
924
925       --hypervisor-hostname <hypervisor-hostname>
926              Requested  hypervisor  hostname to create servers. Admin only by
927              default.  (Supported by API versions '2.74' - '2.latest')
928
929       --hostname <hostname>
930              Hostname for the instance. This sets the hostname stored in  the
931              metadata  server:  a  utility  such as cloud-init running on the
932              guest is required to  propagate  these  changes  to  the  guest.
933              (Supported by API versions '2.90' - '2.latest')
934
935   nova clear-password
936          usage: nova clear-password <server>
937
938       Clear  the  admin  password for a server from the metadata server. This
939       action does not actually change the instance server password.
940
941       Positional arguments:
942
943       <server>
944              Name or ID of server.
945
946   nova console-log
947          usage: nova console-log [--length <length>] <server>
948
949       Get console log output of a server.
950
951       Locale encoding issues
952
953       If you encounter an error such as:
954
955          UnicodeEncodeError: 'ascii' codec can't encode characters in position
956
957       The solution to these problems is different depending on  which  locale
958       your computer is running in.
959
960       For instance, if you have a German Linux machine, you can fix the prob‐
961       lem by exporting the locale to de_DE.utf-8:
962
963          export LC_ALL=de_DE.utf-8
964          export LANG=de_DE.utf-8
965
966       If you are on a US machine, en_US.utf-8 is the encoding of  choice.  On
967       some newer Linux systems, you could also try C.UTF-8 as the locale:
968
969          export LC_ALL=C.UTF-8
970          export LANG=C.UTF-8
971
972       Positional arguments:
973
974       <server>
975              Name or ID of server.
976
977       Optional arguments:
978
979       --length <length>
980              Length in lines to tail.
981
982   nova delete
983          usage: nova delete [--all-tenants] <server> [<server> ...]
984
985       Immediately shut down and delete specified server(s).
986
987       Positional arguments:
988
989       <server>
990              Name or ID of server(s).
991
992       Optional arguments:
993
994       --all-tenants
995              Delete server(s) in another tenant by name (Admin only).
996
997   nova diagnostics
998          usage: nova diagnostics <server>
999
1000       Retrieve server diagnostics.
1001
1002       Positional arguments:
1003
1004       <server>
1005              Name or ID of server.
1006
1007   nova evacuate
1008          usage: nova evacuate [--password <password>] [--on-shared-storage] [--force] <server> [<host>]
1009
1010       Evacuate server from failed host.
1011
1012       Positional arguments:
1013
1014       <server>
1015              Name or ID of server.
1016
1017       <host> Name  or  ID  of  the  target host. If no host is specified, the
1018              scheduler will choose one.
1019
1020       Optional arguments:
1021
1022       --password <password>
1023              Set the provided admin password on the evacuated server. Not ap‐
1024              plicable if the server is on shared storage.
1025
1026       --on-shared-storage
1027              Specifies  whether  server  files are located on shared storage.
1028              (Supported by API versions '2.0' - '2.13')
1029
1030       --force
1031              Force an evacuation by not verifying  the  provided  destination
1032              host  by  the  scheduler.  (Supported  by  API versions '2.29' -
1033              '2.67')
1034
1035              WARNING:
1036                 This could result in failures to actually evacuate the server
1037                 to  the specified host. It is recommended to either not spec‐
1038                 ify a host so that the scheduler will pick one, or specify  a
1039                 host without --force.
1040
1041   nova flavor-access-add
1042          usage: nova flavor-access-add <flavor> <tenant_id>
1043
1044       Add flavor access for the given tenant.
1045
1046       Positional arguments:
1047
1048       <flavor>
1049              Flavor name or ID to add access for the given tenant.
1050
1051       <tenant_id>
1052              Tenant ID to add flavor access for.
1053
1054   nova flavor-access-list
1055          usage: nova flavor-access-list [--flavor <flavor>]
1056
1057       Print access information about the given flavor.
1058
1059       Optional arguments:
1060
1061       --flavor <flavor>
1062              Filter results by flavor name or ID.
1063
1064   nova flavor-access-remove
1065          usage: nova flavor-access-remove <flavor> <tenant_id>
1066
1067       Remove flavor access for the given tenant.
1068
1069       Positional arguments:
1070
1071       <flavor>
1072              Flavor name or ID to remove access for the given tenant.
1073
1074       <tenant_id>
1075              Tenant ID to remove flavor access for.
1076
1077   nova flavor-create
1078          usage: nova flavor-create [--ephemeral <ephemeral>] [--swap <swap>]
1079                                    [--rxtx-factor <factor>] [--is-public <is-public>]
1080                                    [--description <description>]
1081                                    <name> <id> <ram> <disk> <vcpus>
1082
1083       Create a new flavor.
1084
1085       Positional arguments:
1086
1087       <name> Unique name of the new flavor.
1088
1089       <id>   Unique  ID of the new flavor. Specifying 'auto' will generated a
1090              UUID for the ID.
1091
1092       <ram>  Memory size in MiB.
1093
1094       <disk> Disk size in GiB.
1095
1096       <vcpus>
1097              Number of vcpus
1098
1099       Optional arguments:
1100
1101       --ephemeral <ephemeral>
1102              Ephemeral space size in GiB (default 0).
1103
1104       --swap <swap>
1105              Swap space size in MiB (default 0).
1106
1107       --rxtx-factor <factor>
1108              RX/TX factor (default 1).
1109
1110       --is-public <is-public>
1111              Make flavor accessible to the public (default true).
1112
1113       --description <description>
1114              A free form description of the flavor. Limited to 65535  charac‐
1115              ters  in  length.  Only printable characters are allowed.  (Sup‐
1116              ported by API versions '2.55' - '2.latest')
1117
1118   nova flavor-delete
1119          usage: nova flavor-delete <flavor>
1120
1121       Delete a specific flavor
1122
1123       Positional arguments:
1124
1125       <flavor>
1126              Name or ID of the flavor to delete.
1127
1128   nova flavor-key
1129          usage: nova flavor-key <flavor> <action> <key=value> [<key=value> ...]
1130
1131       Set or unset extra_spec for a flavor.
1132
1133       Positional arguments:
1134
1135       <flavor>
1136              Name or ID of flavor.
1137
1138       <action>
1139              Actions: 'set' or 'unset'.
1140
1141       <key=value>
1142              Extra_specs to set/unset (only key is necessary on unset).
1143
1144   nova flavor-list
1145          usage: nova flavor-list [--extra-specs] [--all] [--marker <marker>]
1146                                  [--min-disk <min-disk>] [--min-ram <min-ram>]
1147                                  [--limit <limit>] [--sort-key <sort-key>]
1148                                  [--sort-dir <sort-dir>]
1149
1150       Print a list of available 'flavors' (sizes of servers).
1151
1152       Optional arguments:
1153
1154       --extra-specs
1155              Get extra-specs of each flavor.
1156
1157       --all  Display all flavors (Admin only).
1158
1159       --marker <marker>
1160              The last flavor ID of the previous page; displays list  of  fla‐
1161              vors after "marker".
1162
1163       --min-disk <min-disk>
1164              Filters the flavors by a minimum disk space, in GiB.
1165
1166       --min-ram <min-ram>
1167              Filters the flavors by a minimum RAM, in MiB.
1168
1169       --limit <limit>
1170              Maximum  number  of  flavors to display. If limit is bigger than
1171              'CONF.api.max_limit'    option    of     Nova     API,     limit
1172              'CONF.api.max_limit' will be used instead.
1173
1174       --sort-key <sort-key>
1175              Flavors list sort key.
1176
1177       --sort-dir <sort-dir>
1178              Flavors list sort direction.
1179
1180   nova flavor-show
1181          usage: nova flavor-show <flavor>
1182
1183       Show details about the given flavor.
1184
1185       Positional arguments:
1186
1187       <flavor>
1188              Name or ID of flavor.
1189
1190   nova flavor-update
1191          usage: nova flavor-update <flavor> <description>
1192
1193       Update  the  description of an existing flavor.  (Supported by API ver‐
1194       sions '2.55' - '2.latest') [hint: use  '--os-compute-api-version'  flag
1195       to show help message for proper version]
1196
1197       New in version 10.0.0.
1198
1199
1200       Positional arguments
1201
1202       <flavor>
1203              Name or ID of the flavor to update.
1204
1205       <description>
1206              A  free form description of the flavor. Limited to 65535 charac‐
1207              ters in length. Only printable characters are allowed.
1208
1209   nova force-delete
1210          usage: nova force-delete <server>
1211
1212       Force delete a server.
1213
1214       Positional arguments:
1215
1216       <server>
1217              Name or ID of server.
1218
1219   nova get-mks-console
1220          usage: nova get-mks-console <server>
1221
1222       Get an MKS console to a server. (Supported  by  API  versions  '2.8'  -
1223       '2.latest')  [hint:  use  '--os-compute-api-version'  flag to show help
1224       message for proper version]
1225
1226       New in version 3.0.0.
1227
1228
1229       Positional arguments:
1230
1231       <server>
1232              Name or ID of server.
1233
1234   nova get-password
1235          usage: nova get-password <server> [<private-key>]
1236
1237       Get the admin password for a server. This operation calls the  metadata
1238       service to query metadata information and does not read password infor‐
1239       mation from the server itself.
1240
1241       Positional arguments:
1242
1243       <server>
1244              Name or ID of server.
1245
1246       <private-key>
1247              Private key (used locally to decrypt password) (Optional).  When
1248              specified,  the  command displays the clear (decrypted) VM pass‐
1249              word. When not specified, the ciphered VM password is displayed.
1250
1251   nova get-rdp-console
1252          usage: nova get-rdp-console <server> <console-type>
1253
1254       Get a rdp console to a server.
1255
1256       Positional arguments:
1257
1258       <server>
1259              Name or ID of server.
1260
1261       <console-type>
1262              Type of rdp console ("rdp-html5").
1263
1264   nova get-serial-console
1265          usage: nova get-serial-console [--console-type CONSOLE_TYPE] <server>
1266
1267       Get a serial console to a server.
1268
1269       Positional arguments:
1270
1271       <server>
1272              Name or ID of server.
1273
1274       Optional arguments:
1275
1276       --console-type CONSOLE_TYPE
1277              Type of serial console, default="serial".
1278
1279   nova get-spice-console
1280          usage: nova get-spice-console <server> <console-type>
1281
1282       Get a spice console to a server.
1283
1284       Positional arguments:
1285
1286       <server>
1287              Name or ID of server.
1288
1289       <console-type>
1290              Type of spice console ("spice-html5").
1291
1292   nova get-vnc-console
1293          usage: nova get-vnc-console <server> <console-type>
1294
1295       Get a vnc console to a server.
1296
1297       Positional arguments:
1298
1299       <server>
1300              Name or ID of server.
1301
1302       <console-type>
1303              Type of vnc console ("novnc" or "xvpvnc").
1304
1305   nova host-evacuate
1306          usage: nova host-evacuate [--target_host <target_host>] [--force] [--strict]
1307                                    <host>
1308
1309       Evacuate all instances from failed host.
1310
1311       Positional arguments:
1312
1313       <host> The hypervisor hostname (or pattern) to search for.
1314
1315              WARNING:
1316                 Use a fully qualified domain name if you only want to  evacu‐
1317                 ate from a specific host.
1318
1319       Optional arguments:
1320
1321       --target_host <target_host>
1322              Name  of target host. If no host is specified the scheduler will
1323              select a target.
1324
1325       --force
1326              Force an evacuation by not verifying  the  provided  destination
1327              host  by  the  scheduler.  (Supported  by  API versions '2.29' -
1328              '2.67')
1329
1330              WARNING:
1331                 This could result in failures to actually evacuate the server
1332                 to  the specified host. It is recommended to either not spec‐
1333                 ify a host so that the scheduler will pick one, or specify  a
1334                 host without --force.
1335
1336       --strict
1337              Evacuate host with exact hypervisor hostname match
1338
1339   nova host-evacuate-live
1340          usage: nova host-evacuate-live [--target-host <target_host>] [--block-migrate]
1341                                         [--max-servers <max_servers>] [--force]
1342                                         [--strict]
1343                                         <host>
1344
1345       Live  migrate  all  instances off the specified host to other available
1346       hosts.
1347
1348       Positional arguments:
1349
1350       <host> Name of host.  The hypervisor hostname (or  pattern)  to  search
1351              for.
1352
1353              WARNING:
1354                 Use  a  fully  qualified domain name if you only want to live
1355                 migrate from a specific host.
1356
1357       Optional arguments:
1358
1359       --target-host <target_host>
1360              Name of target host. If no host is specified, the scheduler will
1361              choose one.
1362
1363       --block-migrate
1364              Enable  block  migration.  (Default=auto) (Supported by API ver‐
1365              sions '2.25' - '2.latest')
1366
1367       --max-servers <max_servers>
1368              Maximum number of servers to live migrate simultaneously
1369
1370       --force
1371              Force a live-migration by not verifying the provided destination
1372              host  by  the  scheduler.  (Supported  by  API versions '2.30' -
1373              '2.67')
1374
1375              WARNING:
1376                 This could result in failures to actually  live  migrate  the
1377                 servers  to  the  specified host. It is recommended to either
1378                 not specify a host so that the scheduler will  pick  one,  or
1379                 specify a host without --force.
1380
1381       --strict
1382              live Evacuate host with exact hypervisor hostname match
1383
1384   nova host-meta
1385          usage: nova host-meta [--strict] <host> <action> <key=value> [<key=value> ...]
1386
1387       Set or Delete metadata on all instances of a host.
1388
1389       Positional arguments:
1390
1391       <host> The hypervisor hostname (or pattern) to search for.
1392
1393              WARNING:
1394                 Use  a fully qualified domain name if you only want to update
1395                 metadata for servers on a specific host.
1396
1397       <action>
1398              Actions: 'set' or 'delete'
1399
1400       <key=value>
1401              Metadata to set or delete (only key is necessary on delete)
1402
1403       Optional arguments:
1404
1405       --strict
1406              Set host-meta to the hypervisor with exact hostname match
1407
1408   nova host-servers-migrate
1409          usage: nova host-servers-migrate [--strict] <host>
1410
1411       Cold migrate all instances off the specified host  to  other  available
1412       hosts.
1413
1414       Positional arguments:
1415
1416       <host> Name  of  host.   The hypervisor hostname (or pattern) to search
1417              for.
1418
1419              WARNING:
1420                 Use a fully qualified domain name if you only  want  to  cold
1421                 migrate from a specific host.
1422
1423       Optional arguments:
1424
1425       --strict
1426              Migrate host with exact hypervisor hostname match
1427
1428   nova hypervisor-list
1429          usage: nova hypervisor-list [--matching <hostname>] [--marker <marker>]
1430                                      [--limit <limit>]
1431
1432       List hypervisors. (Supported by API versions '2.0' - '2.latest') [hint:
1433       use '--os-compute-api-version' flag to show  help  message  for  proper
1434       version]
1435
1436       Optional arguments:
1437
1438       --matching <hostname>
1439              List  hypervisors  matching the given <hostname>. If matching is
1440              used limit and marker options will be ignored.
1441
1442       --marker <marker>
1443              The last hypervisor of the previous page; displays list  of  hy‐
1444              pervisors  after  "marker".  (Supported by API versions '2.33' -
1445              '2.latest')
1446
1447       --limit <limit>
1448              Maximum number of hypervisors to display.  If  limit  is  bigger
1449              than    'CONF.api.max_limit'   option   of   Nova   API,   limit
1450              'CONF.api.max_limit' will be used instead.   (Supported  by  API
1451              versions '2.33' - '2.latest')
1452
1453   nova hypervisor-servers
1454          usage: nova hypervisor-servers <hostname>
1455
1456       List servers belonging to specific hypervisors.
1457
1458       Positional arguments:
1459
1460       <hostname>
1461              The hypervisor hostname (or pattern) to search for.
1462
1463   nova hypervisor-show
1464          usage: nova hypervisor-show [--wrap <integer>] <hypervisor>
1465
1466       Display the details of the specified hypervisor.
1467
1468       Positional arguments:
1469
1470       <hypervisor>
1471              Name  or  ID of the hypervisor.  Starting with microversion 2.53
1472              the ID must be a UUID.
1473
1474       Optional arguments:
1475
1476       --wrap <integer>
1477              Wrap the output to a specified length. Default is  40  or  0  to
1478              disable
1479
1480   nova hypervisor-stats
1481          usage: nova hypervisor-stats
1482
1483       Get hypervisor statistics over all compute nodes.
1484
1485   nova hypervisor-uptime
1486          usage: nova hypervisor-uptime <hypervisor>
1487
1488       Display the uptime of the specified hypervisor.
1489
1490       Positional arguments:
1491
1492       <hypervisor>
1493              Name  or  ID of the hypervisor.  Starting with microversion 2.53
1494              the ID must be a UUID.
1495
1496   nova image-create
1497          usage: nova image-create [--metadata <key=value>] [--show] [--poll]
1498                                   <server> <name>
1499
1500       Create a new image by taking a snapshot of a running server.
1501
1502       Positional arguments:
1503
1504       <server>
1505              Name or ID of server.
1506
1507       <name> Name of snapshot.
1508
1509       Optional arguments:
1510
1511       --metadata <key=value>
1512              Record arbitrary key/value metadata to  /meta_data.json  on  the
1513              metadata server. Can be specified multiple times.
1514
1515       --show Print image info.
1516
1517       --poll Report  the  snapshot  progress and poll until image creation is
1518              complete.
1519
1520   nova instance-action
1521          usage: nova instance-action <server> <request_id>
1522
1523       Show an action.
1524
1525       Positional arguments:
1526
1527       <server>
1528              Name or UUID of the server to show actions for. Only UUID can be
1529              used  to  show  actions  for a deleted server. (Supported by API
1530              versions '2.21' - '2.latest')
1531
1532       <request_id>
1533              Request ID of the action to get.
1534
1535   nova instance-action-list
1536          usage: nova instance-action-list [--marker <marker>] [--limit <limit>]
1537                                           [--changes-since <changes_since>]
1538                                           [--changes-before <changes_before>]
1539                                           <server>
1540
1541       List actions on a server.
1542
1543       Positional arguments:
1544
1545       <server>
1546              Name or UUID of the server to list actions for. Only UUID can be
1547              used to list actions on a deleted server. (Supported by API ver‐
1548              sions '2.21' - '2.latest')
1549
1550       Optional arguments:
1551
1552       --marker <marker>
1553              The last instance action of the previous page; displays list  of
1554              actions  after  "marker".  (Supported  by  API versions '2.58' -
1555              '2.latest')
1556
1557       --limit <limit>
1558              Maximum number of instance actions to display. Note  that  there
1559              is a configurable max limit on the server, and the limit that is
1560              used will be the minimum of what is requested here and  what  is
1561              configured  in  the  server. (Supported by API versions '2.58' -
1562              '2.latest')
1563
1564       --changes-since <changes_since>
1565              List only instance actions changed later or equal to  a  certain
1566              point of time. The provided time should be an ISO 8061 formatted
1567              time.  e.g. 2016-03-04T06:27:59Z.  (Supported  by  API  versions
1568              '2.58' - '2.latest')
1569
1570       --changes-before <changes_before>
1571              List only instance actions changed earlier or equal to a certain
1572              point of time. The provided time should be an ISO 8061 formatted
1573              time.   e.g.  2016-03-04T06:27:59Z.  (Supported  by API versions
1574              '2.66' - '2.latest')
1575
1576   nova instance-usage-audit-log
1577          usage: nova instance-usage-audit-log [--before <before>]
1578
1579       List/Get server usage audits.
1580
1581       Optional arguments:
1582
1583       --before <before>
1584              Filters the response by the date and time before which  to  list
1585              usage  audits.   The  date  and time stamp format is as follows:
1586              CCYY-MM-DD hh:mm:ss.NNNNNN ex 2015-08-27 09:49:58 or  2015-08-27
1587              09:49:58.123456.
1588
1589   nova interface-attach
1590          usage: nova interface-attach [--port-id <port_id>] [--net-id <net_id>]
1591                                       [--fixed-ip <fixed_ip>] [--tag <tag>]
1592                                       <server>
1593
1594       Attach a network interface to a server.
1595
1596       Positional arguments:
1597
1598       <server>
1599              Name or ID of server.
1600
1601       Optional arguments:
1602
1603       --port-id <port_id>
1604              Port ID.
1605
1606       --net-id <net_id>
1607              Network ID
1608
1609       --fixed-ip <fixed_ip>
1610              Requested fixed IP.
1611
1612       --tag <tag>
1613              Tag  for  the  attached  interface.   (Supported by API versions
1614              '2.49' - '2.latest')
1615
1616   nova interface-detach
1617          usage: nova interface-detach <server> <port_id>
1618
1619       Detach a network interface from a server.
1620
1621       Positional arguments:
1622
1623       <server>
1624              Name or ID of server.
1625
1626       <port_id>
1627              Port ID.
1628
1629   nova interface-list
1630          usage: nova interface-list <server>
1631
1632       List interfaces attached to a server.
1633
1634       Positional arguments:
1635
1636       <server>
1637              Name or ID of server.
1638
1639   nova keypair-add
1640          usage: nova keypair-add [--pub-key <pub-key>] [--key-type <key-type>]
1641                                  [--user <user-id>]
1642                                  <name>
1643
1644       Create a new key pair for use with servers.
1645
1646       Positional arguments:
1647
1648       <name> Name of key.
1649
1650       Optional arguments:
1651
1652       --pub-key <pub-key>
1653              Path to a public ssh key.
1654
1655       --key-type <key-type>
1656              Keypair type. Can be ssh or x509.  (Supported  by  API  versions
1657              '2.2' - '2.latest')
1658
1659       --user <user-id>
1660              ID  of user to whom to add key-pair (Admin only).  (Supported by
1661              API versions '2.10' - '2.latest')
1662
1663   nova keypair-delete
1664          usage: nova keypair-delete [--user <user-id>] <name>
1665
1666       Delete keypair given by its name. (Supported by API  versions  '2.0'  -
1667       '2.latest')  [hint:  use  '--os-compute-api-version'  flag to show help
1668       message for proper version]
1669
1670       Positional arguments:
1671
1672       <name> Keypair name to delete.
1673
1674       Optional arguments:
1675
1676       --user <user-id>
1677              ID of key-pair owner (Admin only).
1678
1679   nova keypair-list
1680          usage: nova keypair-list [--user <user-id>] [--marker <marker>]
1681                                   [--limit <limit>]
1682
1683       Print a list of keypairs for a user (Supported by API versions '2.0'  -
1684       '2.latest')  [hint:  use  '--os-compute-api-version'  flag to show help
1685       message for proper version]
1686
1687       Optional arguments:
1688
1689       --user <user-id>
1690              List key-pairs of specified user ID (Admin only).
1691
1692       --marker <marker>
1693              The last keypair of the previous page; displays list of keypairs
1694              after "marker".
1695
1696       --limit <limit>
1697              Maximum  number  of keypairs to display. If limit is bigger than
1698              'CONF.api.max_limit'    option    of     Nova     API,     limit
1699              'CONF.api.max_limit' will be used instead.
1700
1701   nova keypair-show
1702          usage: nova keypair-show [--user <user-id>] <keypair>
1703
1704       Show  details about the given keypair. (Supported by API versions '2.0'
1705       - '2.latest') [hint: use '--os-compute-api-version' flag to  show  help
1706       message for proper version]
1707
1708       Positional arguments:
1709
1710       <keypair>
1711              Name of keypair.
1712
1713       Optional arguments:
1714
1715       --user <user-id>
1716              ID of key-pair owner (Admin only).
1717
1718   nova limits
1719          usage: nova limits [--tenant [<tenant>]] [--reserved]
1720
1721       Print rate and absolute limits.
1722
1723       Optional arguments:
1724
1725       --tenant [<tenant>]
1726              Display information from single tenant (Admin only).
1727
1728       --reserved
1729              Include reservations count.
1730
1731   nova list
1732          usage: nova list [--reservation-id <reservation-id>] [--ip <ip-regexp>]
1733                           [--ip6 <ip6-regexp>] [--name <name-regexp>]
1734                           [--status <status>] [--flavor <flavor>] [--image <image>]
1735                           [--host <hostname>] [--all-tenants [<0|1>]]
1736                           [--tenant [<tenant>]] [--user [<user>]] [--deleted]
1737                           [--fields <fields>] [--minimal]
1738                           [--sort <key>[:<direction>]] [--marker <marker>]
1739                           [--limit <limit>] [--availability-zone <availability_zone>]
1740                           [--key-name <key_name>] [--[no-]config-drive]
1741                           [--progress <progress>] [--vm-state <vm_state>]
1742                           [--task-state <task_state>] [--power-state <power_state>]
1743                           [--changes-since <changes_since>]
1744                           [--changes-before <changes_before>]
1745                           [--tags <tags>] [--tags-any <tags-any>]
1746                           [--not-tags <not-tags>] [--not-tags-any <not-tags-any>]
1747                           [--locked]
1748
1749       List servers.
1750
1751       Note  that  from microversion 2.69, during partial infrastructure fail‐
1752       ures in the deployment, the output of this command may  return  partial
1753       results for the servers present in the failure domain.
1754
1755       Optional arguments:
1756
1757       --reservation-id <reservation-id>
1758              Only return servers that match reservation-id.
1759
1760       --ip <ip-regexp>
1761              Search with regular expression match by IP address.
1762
1763       --ip6 <ip6-regexp>
1764              Search with regular expression match by IPv6 address.
1765
1766       --name <name-regexp>
1767              Search with regular expression match by name.
1768
1769       --status <status>
1770              Search by server status.
1771
1772       --flavor <flavor>
1773              Search by flavor name or ID.
1774
1775       --image <image>
1776              Search by image name or ID.
1777
1778       --host <hostname>
1779              Search  servers  by  hostname  to which they are assigned (Admin
1780              only).
1781
1782       --all-tenants [<0|1>]
1783              Display information from all tenants (Admin only).
1784
1785       --tenant [<tenant>]
1786              Display information from single tenant (Admin only).
1787
1788       --user [<user>]
1789              Display information from single user (Admin only until microver‐
1790              sion 2.82).
1791
1792       --deleted
1793              Only display deleted servers (Admin only).
1794
1795       --fields <fields>
1796              Comma-separated  list of fields to display. Use the show command
1797              to see which fields are available.
1798
1799       --minimal
1800              Get only UUID and name.
1801
1802       --sort <key>[:<direction>]
1803              Comma-separated list of sort keys and directions in the form  of
1804              <key>[:<asc|desc>].  The direction defaults to descending if not
1805              specified.
1806
1807       --marker <marker>
1808              The last server UUID of the  previous  page;  displays  list  of
1809              servers after "marker".
1810
1811       --limit <limit>
1812              Maximum  number  of  servers  to  display.  If  limit == -1, all
1813              servers  will  be   displayed.   If   limit   is   bigger   than
1814              'CONF.api.max_limit'     option     of     Nova    API,    limit
1815              'CONF.api.max_limit' will be used instead.
1816
1817       --availability-zone <availability_zone>
1818              Display servers based on their availability zone (Admin only un‐
1819              til microversion 2.82).
1820
1821       --key-name <key_name>
1822              Display  servers  based  on their keypair name (Admin only until
1823              microversion 2.82).
1824
1825       --config-drive
1826              Display servers that have a config drive attached.  It is  mutu‐
1827              ally  exclusive with '--no-config-drive'.  (Admin only until mi‐
1828              croversion 2.82).
1829
1830       --no-config-drive
1831              Display servers that do not have a config drive attached.  It is
1832              mutually exclusive with '--config-drive'.  (Admin only until mi‐
1833              croversion 2.82).
1834
1835       --progress <progress>
1836              Display servers based on their progress value (Admin only  until
1837              microversion 2.82).
1838
1839       --vm-state <vm_state>
1840              Display  servers based on their vm_state value (Admin only until
1841              microversion 2.82).
1842
1843       --task-state <task_state>
1844              Display servers based on their task_state value (Admin only  un‐
1845              til microversion 2.82).
1846
1847       --power-state <power_state>
1848              Display servers based on their power_state value (Admin only un‐
1849              til microversion 2.82).
1850
1851       --changes-since <changes_since>
1852              List only servers changed later or equal to a certain  point  of
1853              time.  The  provided  time should be an ISO 8061 formatted time.
1854              e.g.  2016-03-04T06:27:59Z .
1855
1856       --changes-before <changes_before>
1857              List only servers changed earlier or equal to a certain point of
1858              time.  The  provided  time should be an ISO 8061 formatted time.
1859              e.g.  2016-03-05T06:27:59Z . (Supported by API versions '2.66' -
1860              '2.latest')
1861
1862       --tags <tags>
1863              The  given  tags must all be present for a server to be included
1864              in the list result.  Boolean expression in this case is 't1  AND
1865              t2'.  Tags must be separated by commas: --tags <tag1,tag2> (Sup‐
1866              ported by API versions '2.26' - '2.latest')
1867
1868       --tags-any <tags-any>
1869              If one of the given tags is present the server will be  included
1870              in  the  list  result. Boolean expression in this case is 't1 OR
1871              t2'. Tags must be separated by  commas:  --tags-any  <tag1,tag2>
1872              (Supported by API versions '2.26' - '2.latest')
1873
1874       --not-tags <not-tags>
1875              Only  the servers that do not have any of the given tags will be
1876              included in the list results. Boolean expression in this case is
1877              'NOT(t1  AND  t2)'. Tags must be separated by commas: --not-tags
1878              <tag1,tag2> (Supported by API versions '2.26' - '2.latest')
1879
1880       --not-tags-any <not-tags-any>
1881              Only the servers that do not have at least one of the given tags
1882              will  be included in the list result. Boolean expression in this
1883              case is 'NOT(t1 OR t2)'.  Tags  must  be  separated  by  commas:
1884              --not-tags-any  <tag1,tag2>  (Supported by API versions '2.26' -
1885              '2.latest')
1886
1887       --locked <locked>
1888              Display servers based on their locked value.  A  value  must  be
1889              specified;  eg. 'true' will list only locked servers and 'false'
1890              will list only unlocked  servers.  (Supported  by  API  versions
1891              '2.73' - '2.latest')
1892
1893   nova list-secgroup
1894          usage: nova list-secgroup <server>
1895
1896       List Security Group(s) of a server.
1897
1898       Positional arguments:
1899
1900       <server>
1901              Name or ID of server.
1902
1903   nova live-migration
1904          usage: nova live-migration [--block-migrate] [--force] <server> [<host>]
1905
1906       Migrate running server to a new machine.
1907
1908       Positional arguments:
1909
1910       <server>
1911              Name or ID of server.
1912
1913       <host> Destination  host  name.  If no host is specified, the scheduler
1914              will choose one.
1915
1916       Optional arguments:
1917
1918       --block-migrate
1919              True in case of block_migration.   (Default=auto:live_migration)
1920              (Supported by API versions '2.25' - '2.latest')
1921
1922       --force
1923              Force a live-migration by not verifying the provided destination
1924              host by the scheduler.  (Supported  by  API  versions  '2.30'  -
1925              '2.67')
1926
1927              WARNING:
1928                 This  could  result  in failures to actually live migrate the
1929                 server to the specified host. It is recommended to either not
1930                 specify  a host so that the scheduler will pick one, or spec‐
1931                 ify a host without --force.
1932
1933   nova live-migration-abort
1934          usage: nova live-migration-abort <server> <migration>
1935
1936       Abort an on-going live migration. (Supported by API versions  '2.24'  -
1937       '2.latest')  [hint:  use  '--os-compute-api-version'  flag to show help
1938       message for proper version]
1939
1940       For microversions from 2.24 to 2.64 the migration status must  be  run‐
1941       ning;  for microversion 2.65 and greater, the migration status can also
1942       be queued and preparing.
1943
1944       New in version 3.3.0.
1945
1946
1947       Positional arguments:
1948
1949       <server>
1950              Name or ID of server.
1951
1952       <migration>
1953              ID of migration.
1954
1955   nova live-migration-force-complete
1956          usage: nova live-migration-force-complete <server> <migration>
1957
1958       Force on-going live migration to complete. (Supported by  API  versions
1959       '2.22' - '2.latest') [hint: use '--os-compute-api-version' flag to show
1960       help message for proper version]
1961
1962       New in version 3.3.0.
1963
1964
1965       Positional arguments:
1966
1967       <server>
1968              Name or ID of server.
1969
1970       <migration>
1971              ID of migration.
1972
1973   nova lock
1974          usage: nova lock [--reason <reason>] <server>
1975
1976       Lock a server. A normal (non-admin) user will not be  able  to  execute
1977       actions on a locked server.
1978
1979       Positional arguments:
1980
1981       <server>
1982              Name or ID of server.
1983
1984       Optional arguments:
1985
1986       --reason <reason>
1987              Reason for locking the server. (Supported by API versions '2.73'
1988              - '2.latest')
1989
1990   nova meta
1991          usage: nova meta <server> <action> <key=value> [<key=value> ...]
1992
1993       Set or delete metadata on a server.
1994
1995       Positional arguments:
1996
1997       <server>
1998              Name or ID of server.
1999
2000       <action>
2001              Actions: 'set' or 'delete'.
2002
2003       <key=value>
2004              Metadata to set or delete (only key is necessary on delete).
2005
2006   nova migrate
2007          usage: nova migrate [--host <host>] [--poll] <server>
2008
2009       Migrate a server. The new host will be selected by the scheduler.
2010
2011       Positional arguments:
2012
2013       <server>
2014              Name or ID of server.
2015
2016       Optional arguments:
2017
2018       --host <host>
2019              Destination host name.  (Supported  by  API  versions  '2.56'  -
2020              '2.latest')
2021
2022       --poll Report the server migration progress until it completes.
2023
2024   nova migration-list
2025          usage: nova migration-list [--instance-uuid <instance_uuid>]
2026                                     [--host <host>]
2027                                     [--status <status>]
2028                                     [--migration-type <migration_type>]
2029                                     [--source-compute <source_compute>]
2030                                     [--marker <marker>]
2031                                     [--limit <limit>]
2032                                     [--changes-since <changes_since>]
2033                                     [--changes-before <changes_before>]
2034                                     [--project-id <project_id>]
2035                                     [--user-id <user_id>]
2036
2037       Print a list of migrations.
2038
2039       Examples
2040
2041       To see the list of evacuation operations from a compute service host:
2042
2043          nova migration-list --migration-type evacuation --source-compute host.foo.bar
2044
2045       Optional arguments:
2046
2047       --instance-uuid <instance_uuid>
2048              Fetch migrations for the given instance.
2049
2050       --host <host>
2051              Fetch migrations for the given source or destination host.
2052
2053       --status <status>
2054              Fetch migrations for the given status.
2055
2056       --migration-type <migration_type>
2057              Filter migrations by type. Valid values are:
2058
2059              • evacuation
2060
2061              • live-migration
2062
2063              • migration
2064
2065                NOTE:
2066                   This is a cold migration.
2067
2068              • resize
2069
2070       --source-compute <source_compute>
2071              Filter migrations by source compute host name.
2072
2073       --marker <marker>
2074              The last migration of the previous page; displays list of migra‐
2075              tions after "marker". Note that  the  marker  is  the  migration
2076              UUID.  (Supported by API versions '2.59' - '2.latest')
2077
2078       --limit <limit>
2079              Maximum  number  of  migrations to display. Note that there is a
2080              configurable max limit on the server, and the limit that is used
2081              will  be  the minimum of what is requested here and what is con‐
2082              figured in the server.  (Supported  by  API  versions  '2.59'  -
2083              '2.latest')
2084
2085       --changes-since <changes_since>
2086              List  only  migrations changed later or equal to a certain point
2087              of time. The provided time should be an ISO 8061 formatted time.
2088              e.g.  2016-03-04T06:27:59Z . (Supported by API versions '2.59' -
2089              '2.latest')
2090
2091       --changes-before <changes_before>
2092              List only migrations changed earlier or equal to a certain point
2093              of time. The provided time should be an ISO 8061 formatted time.
2094              e.g. 2016-03-04T06:27:59Z . (Supported by API versions '2.66'  -
2095              '2.latest')
2096
2097       --project-id <project_id>
2098              Filter  the  migrations  by the given project ID.  (Supported by
2099              API versions '2.80' - '2.latest')
2100
2101       --user-id <user_id>
2102              Filter the migrations by the given user ID.  (Supported  by  API
2103              versions '2.80' - '2.latest')
2104
2105   nova pause
2106          usage: nova pause <server>
2107
2108       Pause a server.
2109
2110       Positional arguments:
2111
2112       <server>
2113              Name or ID of server.
2114
2115   nova quota-class-show
2116          usage: nova quota-class-show <class>
2117
2118       List the quotas for a quota class.
2119
2120       Positional arguments:
2121
2122       <class>
2123              Name of quota class to list the quotas for.
2124
2125   nova quota-class-update
2126          usage: nova quota-class-update [--instances <instances>] [--cores <cores>]
2127                                         [--ram <ram>]
2128                                         [--metadata-items <metadata-items>]
2129                                         [--key-pairs <key-pairs>]
2130                                         [--server-groups <server-groups>]
2131                                         [--server-group-members <server-group-members>]
2132                                         <class>
2133
2134       Update the quotas for a quota class. (Supported by API versions '2.0' -
2135       '2.latest') [hint: use '--os-compute-api-version'  flag  to  show  help
2136       message for proper version]
2137
2138       Positional arguments:
2139
2140       <class>
2141              Name of quota class to set the quotas for.
2142
2143       Optional arguments:
2144
2145       --instances <instances>
2146              New value for the "instances" quota.
2147
2148       --cores <cores>
2149              New value for the "cores" quota.
2150
2151       --ram <ram>
2152              New value for the "ram" quota.
2153
2154       --metadata-items <metadata-items>
2155              New value for the "metadata-items" quota.
2156
2157       --key-pairs <key-pairs>
2158              New value for the "key-pairs" quota.
2159
2160       --server-groups <server-groups>
2161              New value for the "server-groups" quota.
2162
2163       --server-group-members <server-group-members>
2164              New value for the "server-group-members" quota.
2165
2166   nova quota-defaults
2167          usage: nova quota-defaults [--tenant <tenant-id>]
2168
2169       List the default quotas for a tenant.
2170
2171       Optional arguments:
2172
2173       --tenant <tenant-id>
2174              ID of tenant to list the default quotas for.
2175
2176   nova quota-delete
2177          usage: nova quota-delete --tenant <tenant-id> [--user <user-id>]
2178
2179       Delete  quota  for a tenant/user so their quota will Revert back to de‐
2180       fault.
2181
2182       Optional arguments:
2183
2184       --tenant <tenant-id>
2185              ID of tenant to delete quota for.
2186
2187       --user <user-id>
2188              ID of user to delete quota for.
2189
2190   nova quota-show
2191          usage: nova quota-show [--tenant <tenant-id>] [--user <user-id>] [--detail]
2192
2193       List the quotas for a tenant/user.
2194
2195       Optional arguments:
2196
2197       --tenant <tenant-id>
2198              ID of tenant to list the quotas for.
2199
2200       --user <user-id>
2201              ID of user to list the quotas for.
2202
2203       --detail
2204              Show detailed info (limit, reserved, in-use).
2205
2206   nova quota-update
2207          usage: nova quota-update [--user <user-id>] [--instances <instances>]
2208                                   [--cores <cores>] [--ram <ram>]
2209                                   [--metadata-items <metadata-items>]
2210                                   [--key-pairs <key-pairs>]
2211                                   [--server-groups <server-groups>]
2212                                   [--server-group-members <server-group-members>]
2213                                   [--force]
2214                                   <tenant-id>
2215
2216       Update the quotas for a tenant/user. (Supported by API versions '2.0' -
2217       '2.latest')  [hint:  use  '--os-compute-api-version'  flag to show help
2218       message for proper version]
2219
2220       Positional arguments:
2221
2222       <tenant-id>
2223              ID of tenant to set the quotas for.
2224
2225       Optional arguments:
2226
2227       --user <user-id>
2228              ID of user to set the quotas for.
2229
2230       --instances <instances>
2231              New value for the "instances" quota.
2232
2233       --cores <cores>
2234              New value for the "cores" quota.
2235
2236       --ram <ram>
2237              New value for the "ram" quota.
2238
2239       --metadata-items <metadata-items>
2240              New value for the "metadata-items" quota.
2241
2242       --key-pairs <key-pairs>
2243              New value for the "key-pairs" quota.
2244
2245       --server-groups <server-groups>
2246              New value for the "server-groups" quota.
2247
2248       --server-group-members <server-group-members>
2249              New value for the "server-group-members" quota.
2250
2251       --force
2252              Whether force update the quota even if the already used and  re‐
2253              served exceeds the new quota.
2254
2255   nova reboot
2256          usage: nova reboot [--hard] [--poll] <server> [<server> ...]
2257
2258       Reboot a server.
2259
2260       Positional arguments:
2261
2262       <server>
2263              Name or ID of server(s).
2264
2265       Optional arguments:
2266
2267       --hard Perform a hard reboot (instead of a soft one). Note: Ironic does
2268              not currently support  soft  reboot;  consequently,  bare  metal
2269              nodes  will  always  do  a hard reboot, regardless of the use of
2270              this option.
2271
2272       --poll Poll until reboot is complete.
2273
2274   nova rebuild
2275          usage: nova rebuild [--rebuild-password <rebuild-password>] [--poll]
2276                              [--minimal] [--preserve-ephemeral] [--name <name>]
2277                              [--description <description>] [--meta <key=value>]
2278                              [--key-name <key-name>] [--key-unset]
2279                              [--user-data <user-data>] [--user-data-unset]
2280                              [--trusted-image-certificate-id <trusted-image-certificate-id>]
2281                              [--trusted-image-certificates-unset]
2282                              [--hostname <hostname>]
2283                              <server> <image>
2284
2285       Shutdown, re-image, and re-boot a server.
2286
2287       Positional arguments:
2288
2289       <server>
2290              Name or ID of server.
2291
2292       <image>
2293              Name or ID of new image.
2294
2295       Optional arguments:
2296
2297       --rebuild-password <rebuild-password>
2298              Set the provided admin password on the rebuilt server.
2299
2300       --poll Report the server rebuild progress until it completes.
2301
2302       --minimal
2303              Skips flavor/image lookups when showing servers.
2304
2305       --preserve-ephemeral
2306              Preserve the default ephemeral storage partition on rebuild.
2307
2308       --name <name>
2309              Name for the new server.
2310
2311       --description <description>
2312              New description for  the  server.  (Supported  by  API  versions
2313              '2.19' - '2.latest')
2314
2315       --meta <key=value>
2316              Record  arbitrary  key/value  metadata to /meta_data.json on the
2317              metadata server. Can be specified multiple times.
2318
2319       --key-name <key-name>
2320              Keypair name to set in the server. Cannot be specified with  the
2321              '--key-unset'  option.   (Supported  by  API  versions  '2.54' -
2322              '2.latest')
2323
2324       --key-unset
2325              Unset keypair in  the  server.  Cannot  be  specified  with  the
2326              '--key-name'  option.   (Supported  by  API  versions  '2.54'  -
2327              '2.latest')
2328
2329       --user-data <user-data>
2330              User data file to pass to be exposed  by  the  metadata  server.
2331              (Supported by API versions '2.57' - '2.latest')
2332
2333       --user-data-unset
2334              Unset  user_data  in  the  server.  Cannot be specified with the
2335              '--user-data' option.   (Supported  by  API  versions  '2.57'  -
2336              '2.latest')
2337
2338       --trusted-image-certificate-id <trusted-image-certificate-id>
2339              Trusted image certificate IDs used to validate certificates dur‐
2340              ing the  image  signature  verification  process.   Defaults  to
2341              env[OS_TRUSTED_IMAGE_CERTIFICATE_IDS].   May be specified multi‐
2342              ple times to pass multiple trusted image certificate IDs.  (Sup‐
2343              ported by API versions '2.63' - '2.latest')
2344
2345       --trusted-image-certificates-unset
2346              Unset trusted_image_certificates in the server. Cannot be speci‐
2347              fied with the --trusted-image-certificate-id option.  (Supported
2348              by API versions '2.63' - '2.latest')
2349
2350       --hostname <hostname>
2351              New  hostname  for  the instance. This only updates the hostname
2352              stored in the metadata server: a utility running on the guest is
2353              required to propagate these changes to the guest.  (Supported by
2354              API versions '2.90' - '2.latest')
2355
2356   nova refresh-network
2357          usage: nova refresh-network <server>
2358
2359       Refresh server network information.
2360
2361       Positional arguments:
2362
2363       <server>
2364              Name or ID of a server for which the network cache should be re‐
2365              freshed from neutron (Admin only).
2366
2367   nova remove-secgroup
2368          usage: nova remove-secgroup <server> <secgroup>
2369
2370       Remove a Security Group from a server.
2371
2372       Positional arguments:
2373
2374       <server>
2375              Name or ID of server.
2376
2377       <secgroup>
2378              Name of Security Group.
2379
2380   nova rescue
2381          usage: nova rescue [--password <password>] [--image <image>] <server>
2382
2383       Reboots a server into rescue mode, which starts the machine from either
2384       the initial image or a specified image, attaching the current boot disk
2385       as secondary.
2386
2387       Positional arguments:
2388
2389       <server>
2390              Name or ID of server.
2391
2392       Optional arguments:
2393
2394       --password <password>
2395              The admin password to be set in the rescue environment.
2396
2397       --image <image>
2398              The image to rescue with.
2399
2400   nova reset-network
2401          usage: nova reset-network <server>
2402
2403       Reset network of a server.
2404
2405       Positional arguments:
2406
2407       <server>
2408              Name or ID of server.
2409
2410   nova reset-state
2411          usage: nova reset-state [--all-tenants] [--active] <server> [<server> ...]
2412
2413       Reset the state of a server.
2414
2415       Positional arguments:
2416
2417       <server>
2418              Name or ID of server(s).
2419
2420       Optional arguments:
2421
2422       --all-tenants
2423              Reset state server(s) in another tenant by name (Admin only).
2424
2425       --active
2426              Request the server be reset to "active" state instead of "error"
2427              state (the default).
2428
2429   nova resize
2430          usage: nova resize [--poll] <server> <flavor>
2431
2432       Resize a server.
2433
2434       Positional arguments:
2435
2436       <server>
2437              Name or ID of server.
2438
2439       <flavor>
2440              Name or ID of new flavor.
2441
2442       Optional arguments:
2443
2444       --poll Report the server resize progress until it completes.
2445
2446   nova resize-confirm
2447          usage: nova resize-confirm <server>
2448
2449       Confirm a previous resize.
2450
2451       Positional arguments:
2452
2453       <server>
2454              Name or ID of server.
2455
2456   nova resize-revert
2457          usage: nova resize-revert <server>
2458
2459       Revert a previous resize (and return to the previous VM).
2460
2461       Positional arguments:
2462
2463       <server>
2464              Name or ID of server.
2465
2466   nova restore
2467          usage: nova restore <server>
2468
2469       Restore a soft-deleted server.
2470
2471       Positional arguments:
2472
2473       <server>
2474              Name or ID of server.
2475
2476   nova resume
2477          usage: nova resume <server>
2478
2479       Resume a server.
2480
2481       Positional arguments:
2482
2483       <server>
2484              Name or ID of server.
2485
2486   nova server-group-create
2487          usage: nova server-group-create [--rules <key=value>] <name> <policy>
2488
2489       Create a new server group with the specified details.
2490
2491       Positional arguments:
2492
2493       <name> Server group name.
2494
2495       <policy>
2496              Policy for the server groups.
2497
2498       Optional arguments:
2499
2500       --rule Policy rules for the server groups. (Supported by  API  versions
2501              '2.64'  -  '2.latest'). Currently, only the max_server_per_host
2502              rule  is   supported   for   the   anti-affinity   policy.   The
2503              max_server_per_host  rule  allows specifying how many members of
2504              the anti-affinity group can reside on the same compute host.  If
2505              not specified, only one member from the same anti-affinity group
2506              can reside on a given host.
2507
2508   nova server-group-delete
2509          usage: nova server-group-delete <id> [<id> ...]
2510
2511       Delete specific server group(s).
2512
2513       Positional arguments:
2514
2515       <id>   Unique ID(s) of the server group to delete.
2516
2517   nova server-group-get
2518          usage: nova server-group-get <id>
2519
2520       Get a specific server group.
2521
2522       Positional arguments:
2523
2524       <id>   Unique ID of the server group to get.
2525
2526   nova server-group-list
2527          usage: nova server-group-list [--limit <limit>] [--offset <offset>]
2528                                        [--all-projects]
2529
2530       Print a list of all server groups.
2531
2532       Optional arguments:
2533
2534       --limit <limit>
2535              Maximum number of server groups to display. If limit  is  bigger
2536              than    'CONF.api.max_limit'   option   of   Nova   API,   limit
2537              'CONF.api.max_limit' will be used instead.
2538
2539       --offset <offset>
2540              The offset of groups list to display; use with limit to return a
2541              slice of server groups.
2542
2543       --all-projects
2544              Display server groups from all projects (Admin only).
2545
2546   nova server-migration-list
2547          usage: nova server-migration-list <server>
2548
2549       Get the migrations list of specified server. (Supported by API versions
2550       '2.23' - '2.latest') [hint: use '--os-compute-api-version' flag to show
2551       help message for proper version]
2552
2553       New in version 3.3.0.
2554
2555
2556       Positional arguments:
2557
2558       <server>
2559              Name or ID of server.
2560
2561   nova server-migration-show
2562          usage: nova server-migration-show <server> <migration>
2563
2564       Get  the  migration  of  specified  server.  (Supported by API versions
2565       '2.23' - '2.latest') [hint: use '--os-compute-api-version' flag to show
2566       help message for proper version]
2567
2568       New in version 3.3.0.
2569
2570
2571       Positional arguments:
2572
2573       <server>
2574              Name or ID of server.
2575
2576       <migration>
2577              ID of migration.
2578
2579   nova server-tag-add
2580          usage: nova server-tag-add <server> <tag> [<tag> ...]
2581
2582       Add  one  or more tags to a server. (Supported by API versions '2.26' -
2583       '2.latest') [hint: use '--os-compute-api-version'  flag  to  show  help
2584       message for proper version]
2585
2586       New in version 4.1.0.
2587
2588
2589       Positional arguments:
2590
2591       <server>
2592              Name or ID of server.
2593
2594       <tag>  Tag(s) to add.
2595
2596   nova server-tag-delete
2597          usage: nova server-tag-delete <server> <tag> [<tag> ...]
2598
2599       Delete  one  or  more  tags  from  a server. (Supported by API versions
2600       '2.26' - '2.latest') [hint: use '--os-compute-api-version' flag to show
2601       help message for proper version]
2602
2603       New in version 4.1.0.
2604
2605
2606       Positional arguments:
2607
2608       <server>
2609              Name or ID of server.
2610
2611       <tag>  Tag(s) to delete.
2612
2613   nova server-tag-delete-all
2614          usage: nova server-tag-delete-all <server>
2615
2616       Delete  all  tags  from  a  server. (Supported by API versions '2.26' -
2617       '2.latest') [hint: use '--os-compute-api-version'  flag  to  show  help
2618       message for proper version]
2619
2620       New in version 4.1.0.
2621
2622
2623       Positional arguments:
2624
2625       <server>
2626              Name or ID of server.
2627
2628   nova server-tag-list
2629          usage: nova server-tag-list <server>
2630
2631       Get  list  of  tags  from a server. (Supported by API versions '2.26' -
2632       '2.latest') [hint: use '--os-compute-api-version'  flag  to  show  help
2633       message for proper version]
2634
2635       New in version 4.1.0.
2636
2637
2638       Positional arguments:
2639
2640       <server>
2641              Name or ID of server.
2642
2643   nova server-tag-set
2644          usage: nova server-tag-set <server> <tags> [<tags> ...]
2645
2646       Set  list  of  tags  to  a  server. (Supported by API versions '2.26' -
2647       '2.latest') [hint: use '--os-compute-api-version'  flag  to  show  help
2648       message for proper version]
2649
2650       New in version 4.1.0.
2651
2652
2653       Positional arguments:
2654
2655       <server>
2656              Name or ID of server.
2657
2658       <tags> Tag(s) to set.
2659
2660   nova server-topology
2661          usage: nova server-topology <server>
2662
2663       Retrieve  server  NUMA  topology  information. Host specific fields are
2664       only visible to users with the administrative role.  (Supported by  API
2665       versions '2.78' - '2.latest')
2666
2667       New in version 15.1.0.
2668
2669
2670       Positional arguments:
2671
2672       <server>
2673              Name or ID of server.
2674
2675   nova service-delete
2676          usage: nova service-delete <id>
2677
2678       Delete the service.
2679
2680       IMPORTANT:
2681          If  deleting  a  nova-compute  service,  be  sure to stop the actual
2682          nova-compute process on the physical host before deleting  the  ser‐
2683          vice  with  this  command.  Failing to do so can lead to the running
2684          service re-creating orphaned  compute_nodes  table  records  in  the
2685          database.
2686
2687       Positional arguments:
2688
2689       <id>   ID  of  service  as  a UUID. (Supported by API versions '2.53' -
2690              '2.latest')
2691
2692   nova service-disable
2693          usage: nova service-disable [--reason <reason>] <id>
2694
2695       Disable the service.
2696
2697       Positional arguments:
2698
2699       <id>   ID of the service as a UUID. (Supported by API versions '2.53' -
2700              '2.latest')
2701
2702       Optional arguments:
2703
2704       --reason <reason>
2705              Reason for disabling the service.
2706
2707   nova service-enable
2708          usage: nova service-enable <id>
2709
2710       Enable the service.
2711
2712       Positional arguments:
2713
2714       <id>   ID of the service as a UUID. (Supported by API versions '2.53' -
2715              '2.latest')
2716
2717   nova service-force-down
2718          usage: nova service-force-down [--unset] <id>
2719
2720       Force service to down. (Supported by API versions '2.11' -  '2.latest')
2721       [hint:  use  '--os-compute-api-version'  flag  to show help message for
2722       proper version]
2723
2724       New in version 2.27.0.
2725
2726
2727       Positional arguments:
2728
2729       <id>   ID of the service as a UUID. (Supported by API versions '2.53' -
2730              '2.latest')
2731
2732       Optional arguments:
2733
2734       --unset
2735              Unset the forced_down state of the service.
2736
2737   nova service-list
2738          usage: nova service-list [--host <hostname>] [--binary <binary>]
2739
2740       Show a list of all running services. Filter by host & binary.
2741
2742       Note  that  from microversion 2.69, during partial infrastructure fail‐
2743       ures in the deployment, the output of this command may  return  partial
2744       results for the services present in the failure domain.
2745
2746       Optional arguments:
2747
2748       --host <hostname>
2749              Name of host.
2750
2751       --binary <binary>
2752              Service binary.
2753
2754   nova set-password
2755          usage: nova set-password <server>
2756
2757       Change the admin password for a server.
2758
2759       Positional arguments:
2760
2761       <server>
2762              Name or ID of server.
2763
2764   nova shelve
2765          usage: nova shelve <server>
2766
2767       Shelve a server.
2768
2769       Positional arguments:
2770
2771       <server>
2772              Name or ID of server.
2773
2774   nova shelve-offload
2775          usage: nova shelve-offload <server>
2776
2777       Remove a shelved server from the compute node.
2778
2779       Positional arguments:
2780
2781       <server>
2782              Name or ID of server.
2783
2784   nova show
2785          usage: nova show [--minimal] [--wrap <integer>] <server>
2786
2787       Show details about the given server.
2788
2789       Note  that  from microversion 2.69, during partial infrastructure fail‐
2790       ures in the deployment, the output of this command may  return  partial
2791       results for the server if it exists in the failure domain.
2792
2793       Positional arguments:
2794
2795       <server>
2796              Name or ID of server.
2797
2798       Optional arguments:
2799
2800       --minimal
2801              Skips flavor/image lookups when showing servers.
2802
2803       --wrap <integer>
2804              Wrap the output to a specified length, or 0 to disable.
2805
2806   nova ssh
2807          usage: nova ssh [--port PORT] [--address-type ADDRESS_TYPE]
2808                          [--network <network>] [--ipv6] [--login <login>] [-i IDENTITY]
2809                          [--extra-opts EXTRA]
2810                          <server>
2811
2812       SSH into a server.
2813
2814       Positional arguments:
2815
2816       <server>
2817              Name or ID of server.
2818
2819       Optional arguments:
2820
2821       --port PORT
2822              Optional  flag  to  indicate  which  port  to  use for ssh. (De‐
2823              fault=22)
2824
2825       --address-type ADDRESS_TYPE
2826              Optional flag to indicate which IP type to use. Possible  values
2827              includes fixed and floating (the Default).
2828
2829       --network <network>
2830              Network to use for the ssh.
2831
2832       --ipv6 Optional  flag  to  indicate  whether to use an IPv6 address at‐
2833              tached to a server. (Defaults to IPv4 address)
2834
2835       --login <login>
2836              Login to use.
2837
2838       -i IDENTITY, --identity IDENTITY
2839              Private key file, same as the -i option to the ssh command.
2840
2841       --extra-opts EXTRA
2842              Extra options to pass to ssh. see: man ssh.
2843
2844   nova start
2845          usage: nova start [--all-tenants] <server> [<server> ...]
2846
2847       Start the server(s).
2848
2849       Positional arguments:
2850
2851       <server>
2852              Name or ID of server(s).
2853
2854       Optional arguments:
2855
2856       --all-tenants
2857              Start server(s) in another tenant by name (Admin only).
2858
2859   nova stop
2860          usage: nova stop [--all-tenants] <server> [<server> ...]
2861
2862       Stop the server(s).
2863
2864       Positional arguments:
2865
2866       <server>
2867              Name or ID of server(s).
2868
2869       Optional arguments:
2870
2871       --all-tenants
2872              Stop server(s) in another tenant by name (Admin only).
2873
2874   nova suspend
2875          usage: nova suspend <server>
2876
2877       Suspend a server.
2878
2879       Positional arguments:
2880
2881       <server>
2882              Name or ID of server.
2883
2884   nova trigger-crash-dump
2885          usage: nova trigger-crash-dump <server>
2886
2887       Trigger crash dump in an instance. (Supported by API versions '2.17'  -
2888       '2.latest')  [hint:  use  '--os-compute-api-version'  flag to show help
2889       message for proper version]
2890
2891       New in version 3.3.0.
2892
2893
2894       Positional arguments:
2895
2896       <server>
2897              Name or ID of server.
2898
2899   nova unlock
2900          usage: nova unlock <server>
2901
2902       Unlock a server.
2903
2904       Positional arguments:
2905
2906       <server>
2907              Name or ID of server.
2908
2909   nova unpause
2910          usage: nova unpause <server>
2911
2912       Unpause a server.
2913
2914       Positional arguments:
2915
2916       <server>
2917              Name or ID of server.
2918
2919   nova unrescue
2920          usage: nova unrescue <server>
2921
2922       Restart the server from normal boot disk again.
2923
2924       Positional arguments:
2925
2926       <server>
2927              Name or ID of server.
2928
2929   nova unshelve
2930          usage: nova unshelve [--availability-zone <availability_zone>] <server>
2931
2932       Unshelve a server.
2933
2934       Positional arguments:
2935
2936       <server>
2937              Name or ID of server.
2938
2939       Optional arguments:
2940
2941       --availability-zone <availability_zone>
2942              Name  of  the  availability  zone  in  which   to   unshelve   a
2943              SHELVED_OFFLOADED  server.  (Supported  by API versions '2.77' -
2944              '2.latest')
2945
2946   nova update
2947          usage: nova update [--name <name>] [--description <description>]
2948                             [--hostname <hostname>]
2949                             <server>
2950
2951       Update attributes of a server.
2952
2953       Positional arguments:
2954
2955       <server>
2956              Name (old name) or ID of server.
2957
2958       Optional arguments:
2959
2960       --name <name>
2961              New name for the server.
2962
2963       --description <description>
2964              New description for the server. If it  equals  to  empty  string
2965              (i.g. ""), the server description will be removed. (Supported by
2966              API versions '2.19' - '2.latest')
2967
2968       --hostname <hostname>
2969              New hostname for the instance. This only  updates  the  hostname
2970              stored in the metadata server: a utility running on the guest is
2971              required to propagate these changes to the guest.  (Supported by
2972              API versions '2.90' - '2.latest')
2973
2974   nova usage
2975          usage: nova usage [--start <start>] [--end <end>] [--tenant <tenant-id>]
2976
2977       Show usage data for a single tenant.
2978
2979       Optional arguments:
2980
2981       --start <start>
2982              Usage range start date ex 2012-01-20. (default: 4 weeks ago)
2983
2984       --end <end>
2985              Usage range end date, ex 2012-01-20. (default: tomorrow)
2986
2987       --tenant <tenant-id>
2988              UUID of tenant to get usage for.
2989
2990   nova usage-list
2991          usage: nova usage-list [--start <start>] [--end <end>]
2992
2993       List usage data for all tenants.
2994
2995       Optional arguments:
2996
2997       --start <start>
2998              Usage range start date ex 2012-01-20. (default: 4 weeks ago)
2999
3000       --end <end>
3001              Usage range end date, ex 2012-01-20. (default: tomorrow)
3002
3003   nova version-list
3004          usage: nova version-list
3005
3006       List all API versions.
3007
3008   nova volume-attach
3009          usage: nova volume-attach [--delete-on-termination] [--tag <tag>]
3010                                    <server> <volume> [<device>]
3011
3012       Attach a volume to a server.
3013
3014       Positional arguments:
3015
3016       <server>
3017              Name or ID of server.
3018
3019       <volume>
3020              ID of the volume to attach.
3021
3022       <device>
3023              Name  of the device e.g. /dev/vdb. Use "auto" for autoassign (if
3024              supported). Libvirt driver will use default device name.
3025
3026       Optional arguments:
3027
3028       --tag <tag>
3029              Tag for the attached volume. (Supported by API versions '2.49' -
3030              '2.latest')
3031
3032       --delete-on-termination
3033              Specify if the attached volume should be deleted when the server
3034              is destroyed. By default the attached volume is not deleted when
3035              the  server  is  destroyed.  (Supported by API versions '2.79' -
3036              '2.latest')
3037
3038   nova volume-attachments
3039          usage: nova volume-attachments <server>
3040
3041       List all the volumes attached to a server.
3042
3043       Positional arguments:
3044
3045       <server>
3046              Name or ID of server.
3047
3048   nova volume-detach
3049          usage: nova volume-detach <server> <volume>
3050
3051       Detach a volume from a server.
3052
3053       Positional arguments:
3054
3055       <server>
3056              Name or ID of server.
3057
3058       <volume>
3059              ID of the volume to detach.
3060
3061   nova volume-update
3062          usage: nova volume-update [--[no-]delete-on-termination]
3063                                    <server> <src_volume> <dest_volume>
3064
3065       Update the attachment on the server. Migrates the data from an attached
3066       volume  to  the specified available volume and swaps out the active at‐
3067       tachment to the new volume.
3068
3069       Positional arguments:
3070
3071       <server>
3072              Name or ID of server.
3073
3074       <src_volume>
3075              ID of the source (original) volume.
3076
3077       <dest_volume>
3078              ID of the destination volume.
3079
3080       Optional arguments:
3081
3082       --delete-on-termination
3083              Specify that the volume should be deleted when the server is de‐
3084              stroyed.  It is mutually exclusive with '--no-delete-on-termina‐
3085              tion'.  (Supported by API versions '2.85' - '2.latest')
3086
3087       --no-delete-on-termination
3088              Specify that the attached volume should not be deleted when  the
3089              server   is   destroyed.   It   is   mutually   exclusive   with
3090              '--delete-on-termination'.  (Supported by API versions '2.85'  -
3091              '2.latest')
3092
3093   nova bash-completion
3094          usage: nova bash-completion
3095
3096       Prints  all  of  the  commands  and  options  to  stdout  so  that  the
3097       nova.bash_completion script doesn't have to hard code them.
3098

AUTHOR

3100       OpenStack Contributors
3101
3103       OpenStack Contributors
3104
3105
3106
3107
310818.3.0                           Jul 21, 2023                          NOVA(1)
Impressum