]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
rgw: add support for multiple rgw instances on a single host
authorguihecheng <guihecheng@cmiot.chinamobile.com>
Fri, 9 Nov 2018 00:56:57 +0000 (08:56 +0800)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 18 Jan 2019 10:12:28 +0000 (11:12 +0100)
commit1ac94c048ff1d1385de2892d0ecef7879ec563e9
tree70168f75a6c5bc6016a7808ea83ee145a49b2405
parentb94290af432008c715922052a887ce08d40ff484
rgw: add support for multiple rgw instances on a single host

With this, we could have multiple rgw instances on a single host
with a single run, don't have to use rgw-standalone.yml which does not
seems able to bind ports separately.
If you want to have multiple rgw instances, just change 'radosgw_instances'
to the number you want, which defaults to 1.
Not compatible with Multi-Site yet.

Signed-off-by: guihecheng <guihecheng@cmiot.chinamobile.com>
18 files changed:
group_vars/all.yml.sample
infrastructure-playbooks/purge-cluster.yml
infrastructure-playbooks/purge-docker-cluster.yml
roles/ceph-config/templates/ceph.conf.j2
roles/ceph-defaults/defaults/main.yml
roles/ceph-facts/tasks/facts.yml
roles/ceph-handler/templates/restart_rgw_daemon.sh.j2
roles/ceph-rgw/handlers/main.yml
roles/ceph-rgw/tasks/common.yml
roles/ceph-rgw/tasks/docker/start_docker_rgw.yml
roles/ceph-rgw/tasks/pre_requisite.yml
roles/ceph-rgw/tasks/start_radosgw.yml
roles/ceph-rgw/templates/ceph-radosgw.service.j2
tests/functional/centos/7/cluster/group_vars/all
tests/functional/centos/7/docker-collocation/group_vars/all
tests/functional/centos/7/docker/group_vars/all
tests/functional/tests/rgw/test_rgw.py
tests/functional/tests/rgw/test_rgw_tuning.py