In the code of create image for volume based instance, 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.
In the code of create image for volume based instance, 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.