Evacuate/rebuild fail mail cause inconsistent requests to nova database

Bug #1779868 reported by Margarita Shakhova on 2018-07-03
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Margarita Shakhova

Bug Description

In case if evacuation or rebuild fails there is a possibility to have more than one records for a failed evacuation in 'accepted' state.
At the same time, _destroy_evacuated_instances() in nova.compute.manager.ComputeManager performs db query in assumption that there is just one single db record for the failed evacuation.
As a result, one row will be updated and all other rows will remain for next call of _destroy_evacuated_instances().

Changed in nova:
assignee: nobody → Margarita Shakhova (shakhova-margarita)
status: New → In Progress

Change abandoned by Margarita Shakhova (<email address hidden>) on branch: master
Review: https://review.openstack.org/563623

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers