Support forcing service down
In Nova there is blueprint: https:/
API to force service (nova-compute) down. Nova client should support the same. Therefore API
needs to be added:
usage: nova service-force-down [set|unset] <hostname> <binary>
Force service state down.
Positional arguments:
<hostname> Name of host.
<binary> Service binary.
Optional arguments:
--set Set the force down of service (the default)
--unset Unset the force down of service.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Tomi Juvonen
- Direction:
- Needs approval
- Assignee:
- Carlos Goncalves
- Definition:
- Approved
- Series goal:
- Proposed for liberty
- Implementation:
-
Implemented
- Milestone target:
- None
- Started by
- Carlos Goncalves
- Completed by
- Carlos Goncalves
Related branches
Related bugs
Sprints
Whiteboard
Why the '--cancel' optional argument when there's the unset option? In your example, "[set|unset]" are positional arguments but below you said they are optional arguments. I think you forgot the <binary> argument in the usage example. I would suggest changing to: nova service-force-down [--set True/False] <hostname> <binary>, but no strong opinion (cgoncalves)
Gerrit topic: https:/
Addressed by: https:/
Support forcing service down
Work Items
Dependency tree
* Blueprints in grey have been implemented.
