Using "Nova Service-Force-Down

Problem

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

# nova service-force-down [host uuid] nova-compute    error: unrecognised arguments: nova-compute

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.

# nova service-force-down [--unset] [id]
  1. This IDcan be obtained using the following command.

# nova service-list

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.

Last updated