From: Jenkins Date: Tue, 20 Oct 2015 01:35:30 +0000 (+0000) Subject: Merge "Ensure replication functions check driver status" X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=60fac91e87b0618f506fc96cd3b6b9f8a42ea8e6;p=openstack-build%2Fcinder-build.git Merge "Ensure replication functions check driver status" --- 60fac91e87b0618f506fc96cd3b6b9f8a42ea8e6 diff --cc cinder/volume/manager.py index 75369c8f7,aa70d39d8..074904470 --- a/cinder/volume/manager.py +++ b/cinder/volume/manager.py @@@ -3259,10 -3280,13 +3283,16 @@@ class VolumeManager(manager.SchedulerDe NOTE: It's the responsibility of the driver to mask out any passwords or sensitive information. + `remote_device_id` is required and is used for drivers to identify + the devices they have in use. + """ + # NOTE(hemna) We intentionally don't enforce the driver being + # initialized here. because the primary might actually be down, + # but we still want to give the driver a chance of doing some work + # against the target. It's entirely up to the driver to deal with + # not being able to talk to the primary array that it's configured + # to manage. try: volume = self.db.volume_get(context, volume['id'])