forced-down vs service disable is not documented well in the compute API reference
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
melanie witt |
Bug Description
Forcing a service, like nova-compute, down is being used by people for routine planned maintenance/
https:/
As described in the spec which added the force-down feature:
https:/
It's really about an external monitoring tool detect that a host is about to fail (maybe hardware faults), and the external service needs to force the service down (bypass the service group API heartbeat checks) and perform an evacuation.
The forced-down flag is checked during the evacuate API flow.
Forcing a host down for routine upgrades can be problematic as forced-down hosts are not part of the minimum service version checks:
https:/
https:/
So if you force a mitaka nova-compute service down, and upgrade the rest of your computes to newton, when you try to set the mitaka service to forced_down=False, or simply restart the mitaka nova-compute service, it's going to fail with a ServiceTooOld exception. The only way out of that is (1) modify the flag in the database directly or (2) upgrade the compute to newton (in this example) and restart it.
We should add information about this to the compute API reference so that operators have a better understanding of what forced-down vs service disable means and in what cases you'd use them.
Changed in nova: | |
assignee: | nobody → Takashi NATSUME (natsume-takashi) |
status: | Confirmed → In Progress |
Changed in nova: | |
assignee: | Sean Dague (sdague) → melanie witt (melwitt) |
Automatically discovered version liberty in description. If this is incorrect, please update the description to include 'nova version: ...'