]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: add multi-region and zone support
authorJosh Durgin <josh.durgin@inktank.com>
Mon, 22 Jul 2013 17:38:28 +0000 (10:38 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Wed, 24 Jul 2013 16:59:50 +0000 (09:59 -0700)
commit8ad065dc9c4d9fc0772614f5b3555e1c3f8939fa
treee1c61b7d43d072b2163d67c5d9a8ed98c1290cf8
parent721280b7f3e3a23bc48cc89f67b1866031b42ed1
rgw: add multi-region and zone support

Take client<->zone/region and the associated pools from ceph.conf, so
we don't have to invent a new format to specify it.

General region info is added to a new configuration section in the rgw
task. Each client is assumed to be a different zone, and a system user
is created with the key specified in the yaml, so it can be passed to
later task configuration as well. This isn't strictly necessary, but
avoids having to lookup this info in later tasks through something
like radosgw-admin.

Ports are allocated automatically because there's no obvious mapping
from host to client in the task configuration. Later tests can get the
endpoints desired by reading the region map.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
teuthology/task/apache.conf.template
teuthology/task/rgw.py
teuthology/task_util/rgw.py