From: John Griffith Date: Fri, 28 Aug 2015 15:19:34 +0000 (-0600) Subject: get_replication_updates call to driver is wrong X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=1f801787e1a5cfa517df3675e41c20ceec061231;p=openstack-build%2Fcinder-build.git get_replication_updates call to driver is wrong The call to driver.get_replication_updates in manager.py omitted the context argument from the call. This fixes that by adding the context argument to the call. Change-Id: I1e59e4a7e64fee8f26ac27a3eb79683d7bccdce4 Closes-Bug: #1489931 --- diff --git a/cinder/volume/manager.py b/cinder/volume/manager.py index 3f571c5fc..66338724c 100644 --- a/cinder/volume/manager.py +++ b/cinder/volume/manager.py @@ -1671,7 +1671,8 @@ class VolumeManager(manager.SchedulerDependentManager): # We want to leverage some of the same update model # that we have in the targets update call - replication_updates = self.driver.get_replication_updates() + replication_updates = ( + self.driver.get_replication_updates(context)) for update in replication_updates: pass