Using "Nova Service-Force-Down

Problem

While trying to run thenova command for service-force-down we get the following error.

Copy

Looking at the usage of the command it tells us to use "ID" as the argument.

Usage: nova service-force-down [--unset] [id] does not specify which id to be used.

Environment

  • Platform9 Managed OpenStack - v4.0 and Higher
  • Nova CLI (python-novaclient)

Procedure

  1. The ID to be used in the command is of the compute service for a host.
Copy
  1. This IDcan be obtained using the following command.
Copy

Thefirst column in the outputof the above command will get you the id of the binary and this id should be used with the command nova service-force-down [--unset] [id] to force up or down the nova-compute service.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard