]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/rgw_multi: adjust structure for new zone config
authorYehuda Sadeh <yehuda@redhat.com>
Mon, 14 Jan 2019 16:50:23 +0000 (08:50 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 14 Jan 2019 16:50:23 +0000 (08:50 -0800)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
qa/tasks/rgw_multisite.py

index a3697278ac26ed48a4c7034ebb3261732cbe2add..c39cb935fb3ebb8cbc81bff1c92cff22e814c5e1 100644 (file)
@@ -408,7 +408,7 @@ def create_zone_pools(ctx, zone):
     gateway = zone.gateways[0]
     cluster = zone.cluster
     for pool_config in zone.data.get('placement_pools', []):
-        pool_name = pool_config['val']['data_pool']
+        pool_name = pool_config['val']['storage_classes']['STANDARD']['data_pool']
         if ctx.rgw.ec_data_pool:
             create_ec_pool(gateway.remote, pool_name, zone.name, 64,
                            ctx.rgw.erasure_code_profile, cluster.name, 'rgw')