]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/orchestrator: drop $realm.$zone naming convention
authorSage Weil <sage@newdream.net>
Fri, 5 Mar 2021 20:52:54 +0000 (15:52 -0500)
committerSage Weil <sage@newdream.net>
Tue, 9 Mar 2021 16:01:15 +0000 (11:01 -0500)
commitaf0216d93fb522d239b10b5d7d18208ee02fed77
treeb8e614e294430c3f3419d0be4254327e7d923dd0
parent4498f7dc204cada316ba0ea73ca9954d23c437d2
mgr/orchestrator: drop $realm.$zone naming convention

- Let users name the rgw service(s) whatever they like
- Make the rgw_zone and rgw_realm arguments optional, so that they can
  omit them and let radosgw start up in the generic single-cluster
  configuration (whichk, notably, has no realm).
- Continue to set the rgw_realm and rgw_zone options for the daemon(s),
  but only when those values are specified.
- Adjust the CLI accordingly.  Drop the subcluster argument, which was
  only used to generate a service_id.
- Adjust rook. This is actually a simplification and improved mapping onto
  the rook CRD, *except* that for octopus we enforced the realm.zone
  naming *and* realm==zone.  I doubt a single user actually did this
  so it is not be worth dealing with, but we need a special case for
  where there is a . in the service name.

Signed-off-by: Sage Weil <sage@newdream.net>
src/cephadm/vstart-smoke.sh
src/pybind/mgr/cephadm/services/cephadmservice.py
src/pybind/mgr/cephadm/tests/test_cephadm.py
src/pybind/mgr/cephadm/tests/test_spec.py
src/pybind/mgr/orchestrator/module.py
src/pybind/mgr/rook/rook_cluster.py
src/python-common/ceph/deployment/service_spec.py
src/python-common/ceph/tests/test_service_spec.py