Missing rollback logic when image creating for volume based instance

Bug #1628875 reported by Alex Xu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Confirmed
Medium
Unassigned

Bug Description

In the code of create image for volume based instance http://git.openstack.org/cgit/openstack/nova/tree/nova/compute/api.py#n2610, there isn't rollback code when create volume snaphost or create image failed. For example, both cinder and glance have quota for the number of volume snapshot and the number of image metadata, so there have a chance to failed on quota. But the code won't rollbacked already created volume snapshot.

Alex Xu (xuhj)
description: updated
Changed in nova:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Alex Xu (xuhj)
Sean Dague (sdague)
Changed in nova:
assignee: Alex Xu (xuhj) → nobody
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.