Skip to content

Commit

Permalink
qa/rgw: enable 'rgw' application on created pools
Browse files Browse the repository at this point in the history
Signed-off-by: Casey Bodley <cbodley@redhat.com>
  • Loading branch information
cbodley committed Aug 22, 2017
1 parent 54ed8fe commit e539319
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions qa/tasks/rgw.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,12 @@ def create_pools(ctx, clients):

if ctx.rgw.ec_data_pool:
create_ec_pool(remote, data_pool, client, 64,
ctx.rgw.erasure_code_profile, cluster_name)
ctx.rgw.erasure_code_profile, cluster_name, 'rgw')
else:
create_replicated_pool(remote, data_pool, 64, cluster_name)
create_replicated_pool(remote, data_pool, 64, cluster_name, 'rgw')
if ctx.rgw.cache_pools:
create_cache_pool(remote, data_pool, data_pool + '.cache', 64,
64*1024*1024, cluster_name)
64*1024*1024, cluster_name, 'rgw')
log.debug('Pools created')
yield

Expand Down
4 changes: 2 additions & 2 deletions qa/tasks/rgw_multisite.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,9 +409,9 @@ def create_zone_pools(ctx, zone):
pool_name = pool_config['val']['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)
ctx.rgw.erasure_code_profile, cluster.name, 'rgw')
else:
create_replicated_pool(gateway.remote, pool_name, 64, cluster.name)
create_replicated_pool(gateway.remote, pool_name, 64, cluster.name, 'rgw')

def configure_zone_compression(zone, compression):
""" Set compression type in the zone's default-placement """
Expand Down

0 comments on commit e539319

Please sign in to comment.