Nova delete instance fails if cleaning is not async

Bug #1522008 reported by Yuriy Zveryanskyy
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)

Bug Description

When node cleaning is not async (conductor starts cleaning immediately in do_node_tear_down()) Nova delete instance fails. Nova tries to update Ironic port (remove vif id), but conductor releases a lock only after thread with cleaning completed. Because cleaning usually is not a short time action Nova fails after retries. This bug can affects any out-of-tree driver, reproduced on Ansible deploy driver PoC ( ).

Tags: conductor
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

Fix proposed to branch: master

Changed in ironic:
assignee: nobody → Yuriy Zveryanskyy (yzveryanskyy)
status: New → In Progress
tags: added: conductor
Revision history for this message
Sean Dague (sdague) wrote :

It is not clear that this is a nova issue, but a wholely ironic issue.

Changed in nova:
status: New → Invalid
Dmitry Tantsur (divius)
Changed in ironic:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ironic (master)

Change abandoned by Yuriy Zveryanskyy (<email address hidden>) on branch: master

Revision history for this message
Dmitry Tantsur (divius) wrote :

Can someone please retest it? I've seen some fixes in Nova (and probably Ironic) around this code.

Changed in ironic:
status: In Progress → Triaged
assignee: Yuriy Zveryanskyy (yzveryanskyy) → nobody
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ironic because there has been no activity for 60 days.]

Changed in ironic:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers