]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Nexenta: Remove snapshot after volume-clone deletion.
authorkeystone <mikhail.khodos@nexenta.com>
Mon, 28 Oct 2013 19:29:24 +0000 (12:29 -0700)
committerkeystone <mikhail.khodos@nexenta.com>
Wed, 6 Nov 2013 20:03:37 +0000 (12:03 -0800)
commite7319bcebdc225a4b7f784acebbf2cd00f3a3e3b
tree6c3a8678a957ea36e549c27fd9f5238ec0153d4d
parent54b117d26e3e61e639c334e2e1c47fcd481745ab
Nexenta: Remove snapshot after volume-clone deletion.

Detect if volume was created via cloning and remove a snapshot from the
appliance if so. Return 'provider_location' to update the volume DB record
after creating a volume via cloning.

Closes-Bug: #1246079
Change-Id: I6c946d34871119600d7197614f5be22fa926e5dc
cinder/tests/test_nexenta.py
cinder/volume/drivers/nexenta/nfs.py