VM that got stuck in deleting state in case of bulk deleting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Invalid
|
High
|
MOS Nova | ||
6.1.x |
Invalid
|
High
|
Denis Puchkin |
Bug Description
VM got stuck in case bulk deleting. Customer is able to reproduce this 99% of the time. If we try to delete 12 VMs simultaneously, at least one of them will get stuck. Log file from nova-compute is attached.
<182>Mar 1 20:06:28 host-049 nova-compute Instance destroyed successfully.
<182>Mar 1 20:06:28 host-049 nova-compute During sync_power_state the instance has a pending task (powering-off). Skip.
<182>Mar 1 20:06:29 host-049 nova-compute Task possibly preempted: Unexpected task state: expecting [u'powering-off'] but the actual state is deleting
<179>Mar 1 20:06:29 host-049 nova-compute Exception during message handling: Unexpected task state: expecting [u'powering-off'] but the actual state is deleting
Changed in mos: | |
assignee: | nobody → MOS Nova (mos-nova) |
Changed in mos: | |
milestone: | none → 6.1-updates |
importance: | Undecided → High |
status: | New → Confirmed |
tags: | added: area-nova |
Changed in mos: | |
milestone: | 6.1-updates → 6.1-mu-6 |
Looking at the nova-compute.log attached I see that there is a failure for "UnexpectedDele tingTaskStateEr ror: Unexpected task state: expecting [u'powering-off'] but the actual state is deleting". That indicates that an attempt was made to stop the instance while it was deleting, which failed.
I do not see any errors around the delete in the logs so it's not clear what may be blocking that. But there is a failure around trying to stop an instance while deleting it, which is expected. You can't stop an instance that's being deleted.