Hi All, I see the following error, while deleting a volume from a consistency group: $ [admin]cinder delete vol1 Delete for volume vol1 failed: Bad Request (HTTP 400) (Request-ID: req-7c958443-edb2-434f-82a2-4254ab357e99) ERROR: Unable to delete any of specified volumes.
And when I tried to debug this, found the following at: https://github.com/openstack/cinder/blob/master/cinder/volume/api.py#L310: if volume['consistencygroup_id'] is not None: msg = _("Volume cannot be deleted while in a consistency group.") LOG.info(_LI('Unable to delete volume: %s, ' 'volume is currently part of a ' 'consistency group.'), volume['id']) raise exception.InvalidVolume(reason=msg) I understand this is as per design, but curious to understand logic behind this. Why not allow deletion of volumes form the CG? at least when there are no dependent snapshots. With the current implementation, only way to delete the volume is to delete the complete CG, deleting all the volumes in that, which I feel is not right. Am I missing anything? Please help understand. Thanks, Nilesh Bhosale
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev