]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: allow upgrading multiple daemons at once if not osd, mon, mds 44193/head
authorAdam King <adking@redhat.com>
Fri, 3 Dec 2021 18:52:59 +0000 (13:52 -0500)
committerAdam King <adking@redhat.com>
Wed, 15 Dec 2021 16:45:34 +0000 (11:45 -0500)
These daemons don't need to check ok-to-stop in the upgrade so
no reason to break from this loop after a single daemon is
added to to_upgrade

Signed-off-by: Adam King <adking@redhat.com>
src/pybind/mgr/cephadm/upgrade.py

index a075d8bfc5abf47bb2d60af886681f1ad50a23f1..5c73a8c6a230783cc006794b1c720bf239a03046 100644 (file)
@@ -689,7 +689,7 @@ class CephadmUpgrade:
                 to_upgrade.append(d_entry)
 
                 # if we don't have a list of others to consider, stop now
-                if not known_ok_to_stop:
+                if d.daemon_type in ['osd', 'mds', 'mon'] and not known_ok_to_stop:
                     break
 
             num = 1