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> , it does not specify which id to be used.
- Platform9 Managed OpenStack - v4.0 and Higher
- Nova CLI (python-novaclient)
- The ID to be used in the command is of the compute service for a host.
# nova service-force-down [--unset] <id>
- This ID can be obtained using the following command.
# nova service-listThe first column in the output of 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.