From 9fda68112be9a691e15bbed0879cd66feab66751 Mon Sep 17 00:00:00 2001 From: Adam King Date: Wed, 9 Apr 2025 18:53:25 -0400 Subject: [PATCH] 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 (cherry picked from commit 9564bd8581767cf7bd0500aa27fbbea09a02661b) --- src/pybind/mgr/cephadm/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/cephadm/utils.py b/src/pybind/mgr/cephadm/utils.py index edd775aa178..5d09518da4c 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'] -- 2.47.3