diff --git a/watcher/applier/actions/change_nova_service_state.py b/watcher/applier/actions/change_nova_service_state.py index e7bea1e7f..c557a5a9b 100644 --- a/watcher/applier/actions/change_nova_service_state.py +++ b/watcher/applier/actions/change_nova_service_state.py @@ -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`. diff --git a/watcher/applier/actions/migration.py b/watcher/applier/actions/migration.py index 781f378cd..d94bfaeda 100644 --- a/watcher/applier/actions/migration.py +++ b/watcher/applier/actions/migration.py @@ -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::