]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add mechanism to update snapshot provider_id
authorJohn Griffith <john.griffith8@gmail.com>
Wed, 2 Sep 2015 20:08:49 +0000 (20:08 +0000)
committerJohn Griffith <john.griffith8@gmail.com>
Fri, 4 Sep 2015 18:09:19 +0000 (18:09 +0000)
commit6eb7d08aa72786c9494fb039f81e9810d494ab87
treecd110892ec7b8c955bbab7af25574592383858a6
parent30a61996a5931dbd3126b9bf8949a7ef4197bca7
Add mechanism to update snapshot provider_id

During the L release we added the ability to store
provider_id info for volumes and snapshots.  We did
not however add a mechanism for this info to be updated
on upgrades.

This patch adds on to the volume update mechanism and
gives a driver the opportunity to set provider_id columns
that aren't set on snapshots just as it does for volumes.

Change-Id: Ie6585e4f0d2a4a511e5fbe35b91186d8ad7e9874
Closes-Bug: #1489182
cinder/volume/driver.py
cinder/volume/manager.py