]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fixes backup with multiple volume backend
authorEdward Hope-Morley <edward.hope-morley@canonical.com>
Wed, 25 Sep 2013 23:13:42 +0000 (00:13 +0100)
committerEdward Hope-Morley <edward.hope-morley@canonical.com>
Mon, 30 Sep 2013 18:28:58 +0000 (19:28 +0100)
commitbd5c3f5a0e3449a4a384090ae4dba75c4cdcf4da
tree63e2c746d0d92b3f4fddd39fedfb93c42f98c705
parent0f7d9377866d31fdaaf7e398af9b4e679e5b24f1
Fixes backup with multiple volume backend

The backup service now keeps a dictionary of managers
for each type of volume backend. If multi backend is
not in use (and volume_type is None) the current
volume_driver is used.

Change-Id: I66e91f3ce2cffaf2e2d07edfddc08b1480e2a37c
Fixes: bug 1228223
cinder/backup/api.py
cinder/backup/manager.py
cinder/exception.py
cinder/tests/api/contrib/test_backups.py