]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix Pure create volume from cgsnapshot
authorPatrick East <patrick.east@purestorage.com>
Wed, 12 Aug 2015 00:55:22 +0000 (17:55 -0700)
committerPatrick East <patrick.east@purestorage.com>
Fri, 14 Aug 2015 23:12:49 +0000 (16:12 -0700)
commit91ad18ef4111361b3ce2abf382f75bda9e281663
tree93e6c5732993ea620803af9ee68a1ed64ff43bc7
parent27c2689a22d61d868d10d9b77638acd9ff745903
Fix Pure create volume from cgsnapshot

We would previously lookup the consistency group id through the snapshot
db object, but with the new versioned snapshot object we can no longer
take that shortcut. We will now query the FlashArray for all Protection
Group snapshots and search for one with the cgsnapshot id in its name.

Closes-Bug: #1483916
Change-Id: Icb4991ec419c2cf46c760fa750e9f1be1528364c
cinder/tests/unit/test_pure.py
cinder/volume/drivers/pure.py