]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: rgw service creation form: add realm and zone to service spec.
authorAlfonso Martínez <almartin@redhat.com>
Mon, 9 Aug 2021 10:12:52 +0000 (12:12 +0200)
committerSebastian Wagner <sewagner@redhat.com>
Thu, 2 Sep 2021 14:24:38 +0000 (16:24 +0200)
commite3d57fddcec7ce06c9205192c7e9bbbb5601c8ba
treef1b79a4652f3d70ecfd82353b0fcba24b95104e1
parentbd0a36c1d6cdd27d12e19af74d8a55eda3f21b45
mgr/dashboard: rgw service creation form: add realm and zone to service spec.

Align rgw service id pattern with cephadm: https://github.com/ceph/ceph/pull/39877
  - Update rgw pattern to allow service id for non-multisite config.
  - Extract realm and zone from service id (when detected) and add them to the service spec.

Fixes: https://tracker.ceph.com/issues/44605
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
(cherry picked from commit 0575844192502ded32962b75a91cf51de22e97e6)
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.ts