]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/volumes: do not overwrite existant mds specs 40379/head
authorAdam King <adking@redhat.com>
Thu, 25 Mar 2021 20:29:03 +0000 (16:29 -0400)
committerAdam King <adking@redhat.com>
Thu, 25 Mar 2021 20:29:03 +0000 (16:29 -0400)
Signed-off-by: Adam King <adking@redhat.com>
src/pybind/mgr/volumes/fs/fs_util.py

index 7f8734f42e1c58fce9909bf03c512bad77a425a2..65d929adac314a91805708e2a02f87fbbf219da3 100644 (file)
@@ -40,7 +40,7 @@ def create_mds(mgr, fs_name, placement):
                                     service_id=fs_name,
                                     placement=PlacementSpec.from_string(placement))
     try:
-        completion = mgr.apply_mds(spec)
+        completion = mgr.apply([spec], no_overwrite=True)
         orchestrator.raise_if_exception(completion)
     except (ImportError, orchestrator.OrchestratorError):
         return 0, "", "Volume created successfully (no MDS daemons created)"