]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: add smb to gateway types so it is upgraded
authorAdam King <adking@redhat.com>
Wed, 9 Apr 2025 22:53:25 +0000 (18:53 -0400)
committerAdam King <adking@redhat.com>
Wed, 9 Apr 2025 22:53:25 +0000 (18:53 -0400)
We only upgrade "ceph", "monitoring stack" and
"gateway" daemons as part of upgrade. SMB would
fall under gateways out of those and we definitely
want to update the container image if the default
changes during upgrade

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

index edd775aa178f96690bc6e1bc4a1522f4a084161a..5d09518da4c4d9812968590ecd0ee76584d4f145 100644 (file)
@@ -24,7 +24,7 @@ class CephadmNoImage(Enum):
 # NOTE: order important here as these are used for upgrade order
 CEPH_TYPES = ['mgr', 'mon', 'crash', 'osd', 'mds', 'rgw',
               'rbd-mirror', 'cephfs-mirror', 'ceph-exporter']
-GATEWAY_TYPES = ['iscsi', 'nfs', 'nvmeof']
+GATEWAY_TYPES = ['iscsi', 'nfs', 'nvmeof', 'smb']
 MONITORING_STACK_TYPES = ['node-exporter', 'prometheus',
                           'alertmanager', 'grafana', 'loki', 'promtail']
 RESCHEDULE_FROM_OFFLINE_HOSTS_TYPES = ['haproxy', 'nfs']