Skip to content

Commit 9564bd8

Browse files
committed
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 <[email protected]>
1 parent 5549c10 commit 9564bd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pybind/mgr/cephadm/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class CephadmNoImage(Enum):
2424
# NOTE: order important here as these are used for upgrade order
2525
CEPH_TYPES = ['mgr', 'mon', 'crash', 'osd', 'mds', 'rgw',
2626
'rbd-mirror', 'cephfs-mirror', 'ceph-exporter']
27-
GATEWAY_TYPES = ['iscsi', 'nfs', 'nvmeof']
27+
GATEWAY_TYPES = ['iscsi', 'nfs', 'nvmeof', 'smb']
2828
MONITORING_STACK_TYPES = ['node-exporter', 'prometheus',
2929
'alertmanager', 'grafana', 'loki', 'promtail']
3030
RESCHEDULE_FROM_OFFLINE_HOSTS_TYPES = ['haproxy', 'nfs']

0 commit comments

Comments
 (0)