]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: Add migration to keep the service names consistent 36284/head
authorSebastian Wagner <sebastian.wagner@suse.com>
Fri, 24 Jul 2020 14:20:22 +0000 (16:20 +0200)
committerSebastian Wagner <sebastian.wagner@suse.com>
Thu, 30 Jul 2020 12:31:39 +0000 (14:31 +0200)
commitf2c0b2efae730c972f088a9d25247375c229499f
tree1a940ace5d1a7e506c0943efb0f95bd59fbb1315
parent775d5bedad2703014878d7744d23a25d13bd9bde
mgr/cephadm: Add migration to keep the service names consistent

After 15.2.4, we unified some service IDs: MONs, MGRs etc no longer have a service id.
Which means, the service names changed:

mon.foo -> mon
mgr.foo -> mgr

This fixes the data structure consistency

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
src/pybind/mgr/cephadm/migrations.py
src/pybind/mgr/cephadm/tests/test_migration.py