The rgw task deletes the region info
from the config structure. The s3tests
task needs this info, so we persist
it by sticking it in the ctx object.
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewd-by: Josh Durgin <josh.durgin@inktank.com>
role_endpoints = assign_ports(ctx, config)
ctx.rgw = argparse.Namespace()
ctx.rgw.role_endpoints = role_endpoints
+ # stash the region info for later, since it was deleted from the config structure
+ ctx.rgw.regions = regions
with contextutil.nested(
lambda: create_dirs(ctx=ctx, config=config),