Evacuation will lead to double instances in some situation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
In our production environment,due to some reason one compute node rebooted and our monitoring software issued evacuation action to ensure high availability of VMs.
But we got some unexpected error and that lead to double instances for one VM. The acutal situation is that the source compute node has been restarted and the nova-compute service also restarted, but the management network have some problem, this lead to monitoring soft got misjudgment and it issued evacuation action. The management network restored while instance evacuation have been completed.
Under these conditions,the virtual machine dual instance problem arises.
In the nova-computes service start progress, the _destroy_
So can we change the _destroy_
Heya,
I think there's some confusion around expectations for evacuations.
Evacuations _must_ be done with the source compute fenced, and brought back online by a human in a controlled manner to ensure evacuated instances are destroyed properly. Any monitoring software that initiates evacuations without first fencing the source host (think STONITH) is incorrect.