stable/diablo: nova.compute.util.terminate_volumes should handle ApiError

Bug #872504 reported by Nachi Ueno
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Unassigned
OpenStack Quality Assurance
Fix Released
Medium
Unassigned

Bug Description

nova.compute.util.terminate_volumes do not handle exceptions such as ApiError during loop.
When the exception raised in for loop, other BlockDeviceMapping records are not cleaned up.

Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Low
status: New → Confirmed
Nachi Ueno (nati-ueno)
Changed in openstack-qa:
importance: Undecided → Medium
status: New → Confirmed
status: Confirmed → In Progress
Changed in nova:
assignee: nobody → Nachi Ueno (nati-ueno)
Changed in openstack-qa:
assignee: nobody → Nachi Ueno (nati-ueno)
Donald Ngo (donald-ngo)
Changed in openstack-qa:
assignee: Nachi Ueno (nati-ueno) → Donald Ngo (donald-ngo)
Revision history for this message
Donald Ngo (donald-ngo) wrote :

terminate_volumes is removed in Essex already. So this bug only affects stable/diablo

Revision history for this message
Donald Ngo (donald-ngo) wrote :

eb03d47fecd3bfc24243da29ee01679b334a08fe should be backported for stable/diablo
https://github.com/openstack/nova/commit/eb03d47fecd3bfc24243da29ee01679b334a08fe

Changed in openstack-qa:
assignee: Donald Ngo (donald-ngo) → Nachi Ueno (nati-ueno)
summary: - nova.compute.util.terminate_volumes should handle ApiError
+ stable/diablo: nova.compute.util.terminate_volumes should handle
+ ApiError
Thierry Carrez (ttx)
Changed in nova:
status: Confirmed → Fix Released
assignee: Nachi Ueno (nati-ueno) → nobody
Nachi Ueno (nati-ueno)
Changed in openstack-qa:
assignee: Nachi Ueno (nati-ueno) → nobody
Nachi Ueno (nati-ueno)
Changed in openstack-qa:
status: In Progress → Won't Fix
status: Won't Fix → Fix Released
Sean Dague (sdague)
no longer affects: nova/diablo
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.