]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fixes ceph backup import errors
authorEdward Hope-Morley <edward.hope-morley@canonical.com>
Thu, 26 Sep 2013 13:05:24 +0000 (14:05 +0100)
committerEdward Hope-Morley <edward.hope-morley@canonical.com>
Mon, 30 Sep 2013 22:16:14 +0000 (23:16 +0100)
commitc683f2fafc69eab7f6ff88d94adc37506d5b5714
treec15070ceaff13e704a63774753a5dc0229f6e542
parent0f7d9377866d31fdaaf7e398af9b4e679e5b24f1
Fixes ceph backup import errors

For some reason, using non-rbd volume driver whilst using
Ceph backup causes what looks to be a cyclic import error.
Ensuring that the backup.drivers.ceph module is imported
into volume.drivers.rbd ONLY if it is needed i.e. if both
drivers are in use, seems to remedy this.

Change-Id: Ieae0c3451cfb1750eca8cfcde5e0be9e7eb028d0
Fixes: bug 1231412
cinder/backup/drivers/ceph.py
cinder/volume/drivers/rbd.py