cinder reimage failure leaves the volume in downloading state

Bug #2036994 reported by Rajat Dhasmana
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
In Progress
Undecided
Rajat Dhasmana

Bug Description

When we try to reimage a volume and the image metadata doesn't pass the following checks, we end up with a volume in downloading state:

1. Image is not in 'active' state
2. Size of image is larger than size of volume
3. Volume size is smaller than the image 'minDisk' size
4. Image virtual size is greater than Volume size

In these cases, we don't roll back the volume state to the previous state.

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

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/cinder/+/896149

Changed in cinder:
status: New → In Progress
Changed in cinder:
assignee: nobody → Rajat Dhasmana (whoami-rajat)
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.