]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Use SolidFire snapshots for Cinder snapshots
authorJohn Griffith <john.griffith8@gmail.com>
Fri, 29 May 2015 23:41:25 +0000 (23:41 +0000)
committerJohn Griffith <john.griffith8@gmail.com>
Mon, 1 Jun 2015 14:35:02 +0000 (14:35 +0000)
commit6864201def963ce20e10c0ceddfd4ee776269730
tree3ab3f5be181acf633ab66ab3c7c53d513d37aafd
parentd4dc36d00adb30bf5246b8dc20e825f5d0414d36
Use SolidFire snapshots for Cinder snapshots

This patch just replaces the use of clones on the SolidFire
backend for SolidFire Snapshot objects.  This isn't necessarily
an issue, but it is important necessary to do things like
consistency group snaps.

Note, that we have to keep compatability for things like
create_from_snapshot where the system may have clones that
were used for snapshots prior to updating the driver.

While we're here, we also removed the logging calls in the test
which shouldn't really be there, as well as the overly chatty
debug messages like "entering/leaving".  More cleanup work
can be done to logs but should be in their own patch.

Change-Id: Ia67b2b9e3c0bf3b0b1f991e958f8eac13830f9cc
cinder/tests/unit/test_solidfire.py
cinder/volume/drivers/solidfire.py