Skip to content

Commit 674e4e6

Browse files
committed
doc: Update nova command mapping
There are a number of commands we're never going to implement: host-evacuate host-evacuate-live host-servers-migrate As noted in Dan Smith's blog [1], these are wrapper commands or meta operations that call a particular action - namely 'evacuate', 'live-migration', and 'migrate' in old novaclient parlance - for each server on a particular host. These commands have historically been confusing. The underlying server commands have been implemented as 'server evacuate', 'server migrate --live', and 'server migrate', respectively. If a user wants to call these for each server on the host, they can do so with a little bit of shell scripting (hint: you want 'server list --host') or use something more suitable for this kind of task such as Puppet or Ansible. host-meta As above, this is equivalent to calling 'meta' for all servers on the host. Combine 'server set --property' with 'server list --host' instead (or use Ansible). instance-usage-audit-log This corresponds to the '/os-instance_usage_audit_log' API which is intended for use by OpenStack Telemetry. There's no user-facing application of this. The remaining entries are updated to include their implementations. We simply missed updating the mapping doc when implementing them. With this, the OSC implementation of the nova API is *documented* as being complete, as opposed to merely actually being complete 😉 [1] https://www.danplanet.com/blog/2016/03/03/evacuate-in-nova-one-command-to-confuse-us-all/ Change-Id: If08d501dd66c561956266d3b3f21dfd3559d8394 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
1 parent ec01268 commit 674e4e6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/source/cli/data/nova.csv

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ agent-delete,compute agent delete,Delete existing agent build.
44
agent-list,compute agent list,List all builds.
55
agent-modify,compute agent set,Modify existing agent build.
66
aggregate-add-host,aggregate add host,Add the host to the specified aggregate.
7-
aggregate-cache-images,WONTFIX,Request images be cached. (Supported by API versions '2.81' - '2.latest') [hint: use '-- os-compute-api-version' flag to show help message for proper version]
7+
aggregate-cache-images,aggregate cache image,Request images be cached. (Supported by API versions '2.81' - '2.latest') [hint: use '-- os-compute-api-version' flag to show help message for proper version]
88
aggregate-create,aggregate create,Create a new aggregate with the specified details.
99
aggregate-delete,aggregate delete,Delete the aggregate.
1010
aggregate-list,aggregate list,Print a list of all aggregates.
@@ -36,19 +36,19 @@ get-rdp-console,console url show --rdp,Get a rdp console to a server.
3636
get-serial-console,console url show --serial,Get a serial console to a server.
3737
get-spice-console,console url show --spice,Get a spice console to a server.
3838
get-vnc-console,console url show --novnc,Get a vnc console to a server.
39-
host-evacuate,,Evacuate all instances from failed host.
40-
host-evacuate-live,,Live migrate all instances off the specified host to other available hosts.
41-
host-meta,,Set or Delete metadata on all instances of a host.
42-
host-servers-migrate,,Cold migrate all instances off the specified host to other available hosts.
39+
host-evacuate,WONTFIX,Evacuate all instances from failed host.
40+
host-evacuate-live,WONTFIX,Live migrate all instances off the specified host to other available hosts.
41+
host-meta,WONTFIX,Set or Delete metadata on all instances of a host.
42+
host-servers-migrate,WONTFIX,Cold migrate all instances off the specified host to other available hosts.
4343
hypervisor-list,hypervisor list,List hypervisors. (Supported by API versions '2.0' - '2.latest')
44-
hypervisor-servers,,List servers belonging to specific hypervisors.
44+
hypervisor-servers,server list --host,List servers belonging to specific hypervisors.
4545
hypervisor-show,hypervisor show,Display the details of the specified hypervisor.
4646
hypervisor-stats,hypervisor stats show,Get hypervisor statistics over all compute nodes.
4747
hypervisor-uptime,hypervisor show,Display the uptime of the specified hypervisor.
4848
image-create,server image create,Create a new image by taking a snapshot of a running server.
4949
instance-action,server event show,Show an action.
5050
instance-action-list,server event list,List actions on a server.
51-
instance-usage-audit-log,,List/Get server usage audits.
51+
instance-usage-audit-log,WONTFIX,List/Get server usage audits.
5252
interface-attach,server add port / server add floating ip / server add fixed ip,Attach a network interface to a server.
5353
interface-detach,server remove port,Detach a network interface from a server.
5454
interface-list,port list --server,List interfaces attached to a server.

0 commit comments

Comments
 (0)