From: Adam King Date: Wed, 9 Apr 2025 22:53:25 +0000 (-0400) Subject: mgr/cephadm: add smb to gateway types so it is upgraded X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=9564bd8581767cf7bd0500aa27fbbea09a02661b;p=ceph.git mgr/cephadm: add smb to gateway types so it is upgraded 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 --- diff --git a/src/pybind/mgr/cephadm/utils.py b/src/pybind/mgr/cephadm/utils.py index edd775aa178f9..5d09518da4c4d 100644 --- a/src/pybind/mgr/cephadm/utils.py +++ b/src/pybind/mgr/cephadm/utils.py @@ -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']