Merge "Drop nova command reference from the code"

This commit is contained in:
Zuul 2025-05-13 12:39:25 +00:00 committed by Gerrit Code Review
commit 59607f616a
2 changed files with 3 additions and 7 deletions

View File

@ -39,10 +39,8 @@ class ChangeNovaServiceState(base.BaseAction):
'disabled_reason': str,
})
The `resource_id` references a nova-compute service name (list of available
nova-compute services is returned by this command: ``nova service-list
--binary nova-compute``).
The `state` value should either be `ONLINE` or `OFFLINE`.
The `resource_id` references a nova-compute service name.
The `state` value should either be `up` or `down`.
The `disabled_reason` references the reason why Watcher disables this
nova-compute service. The value should be with `watcher_` prefix, such as
`watcher_disabled`, `watcher_maintaining`.

View File

@ -47,9 +47,7 @@ class Migrate(base.BaseAction):
The `resource_id` is the UUID of the server to migrate.
The `source_node` and `destination_node` parameters are respectively the
source and the destination compute hostname (list of available compute
hosts is returned by this command: ``nova service-list --binary
nova-compute``).
source and the destination compute hostname.
.. note::