]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/orch: match last occurance of hostname in service_id
authorMichael Fritch <mfritch@suse.com>
Mon, 27 Apr 2020 17:44:44 +0000 (11:44 -0600)
committerMichael Fritch <mfritch@suse.com>
Mon, 4 May 2020 21:41:06 +0000 (15:41 -0600)
commit3cbebf37a627154b9d4a7d67d53d5bf0d8639fc7
treef9e3f8562421bbbd0d8b82c690a99c3972e5caf0
parent7efa0a6fdadcafb4df0cd1068f7b8482ebae0ce5
mgr/orch: match last occurance of hostname in service_id

The RGW realm/zone might have a substr that matches the hostname

Fixes: https://tracker.ceph.com/issues/45294
Signed-off-by: Michael Fritch <mfritch@suse.com>
src/pybind/mgr/cephadm/tests/test_spec.py
src/pybind/mgr/orchestrator/_interface.py