Hi All,

I see the following error, while deleting a volume from a consistency 
$ [admin]cinder delete vol1
Delete for volume vol1 failed: Bad Request (HTTP 400) (Request-ID: 
ERROR: Unable to delete any of specified volumes.

And when I tried to debug this, found the following at: 
        if volume['consistencygroup_id'] is not None:
            msg = _("Volume cannot be deleted while in a consistency 
            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 
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.

Nilesh Bhosale

OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe

Reply via email to