Comment 5 for bug 1311533

Revision history for this message
Sushil Kumar (sushil-kumar2) wrote :

cinder client (v2) 'detach' API call is a legal call ( https://github.com/openstack/python-cinderclient/blob/master/cinderclient/v2/volumes.py#L260)

But the problem is that it only clear's the volume attachment metadata. You can see this from what call on the Cinder API server side get's executed ( https://github.com/openstack/cinder/blob/master/cinder/api/contrib/volume_actions.py#L122 )

And similarity exists with attach call aslo that it only creates metadata for cinder https://github.com/openstack/cinder/blob/master/cinder/api/contrib/volume_actions.py#L78