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
2 changed files with 3 additions and 7 deletions

View File

@@ -39,10 +39,8 @@ class ChangeNovaServiceState(base.BaseAction):
'disabled_reason': str, 'disabled_reason': str,
}) })
The `resource_id` references a nova-compute service name (list of available The `resource_id` references a nova-compute service name.
nova-compute services is returned by this command: ``nova service-list The `state` value should either be `up` or `down`.
--binary nova-compute``).
The `state` value should either be `ONLINE` or `OFFLINE`.
The `disabled_reason` references the reason why Watcher disables this The `disabled_reason` references the reason why Watcher disables this
nova-compute service. The value should be with `watcher_` prefix, such as nova-compute service. The value should be with `watcher_` prefix, such as
`watcher_disabled`, `watcher_maintaining`. `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 `resource_id` is the UUID of the server to migrate.
The `source_node` and `destination_node` parameters are respectively the The `source_node` and `destination_node` parameters are respectively the
source and the destination compute hostname (list of available compute source and the destination compute hostname.
hosts is returned by this command: ``nova service-list --binary
nova-compute``).
.. note:: .. note::