cee1f8e6c7
Sometimes an instance/cluster can be stuck in BUILD state forever. Attempting to delete the instance in this state is currently not allowed. Add force-delete and reset-status command. Reset-status will reset the status of an instance to ERROR and cluster to NONE. The reset-status command can only be used if the instance/cluster is in BUILD or ERROR state. Resetting the status of an instance in ERROR state can be useful as an instance might go ACTIVE after the specified timeout. Once the status has been reset it is possible for an instance to go ACTIVE if it receives a hearbeat from the guestagent. Force-delete will combine functionality of reset-status and delete. Change-Id: I83f6cdcdd884e51d002295b0d1f07341990e512c Depends-On: I957b4be5030e493e0eb8c6b6855d41b942b2823c Partial-Bug: #1579141
7 lines
249 B
YAML
7 lines
249 B
YAML
features:
|
|
- The reset-status command will set the task and status
|
|
of an instance to ERROR after which it can be deleted.
|
|
- The force-delete command will allow the deletion of
|
|
an instance even if the instance is stuck in BUILD
|
|
state.
|