]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: track SMB rgw_creds_uri as a daemon dependency 69932/head
authorAvan Thakkar <athakkar@redhat.com>
Fri, 3 Jul 2026 10:54:49 +0000 (16:24 +0530)
committerAvan Thakkar <athakkar@redhat.com>
Fri, 10 Jul 2026 14:28:47 +0000 (19:58 +0530)
commit2063d84c4d9575e940155dd3d17df09ee8e255e7
tree4c4e51fdd4a69b0cdb462494ca9b944f611981a1
parent735dac9f92e447f6f6f260006059cf30f9f24f9c
mgr/cephadm: track SMB rgw_creds_uri as a daemon dependency

Add rgw_creds_uri as a Dep.FIELD in get_dependencies and include it in
needs_redeploy_prefixes so a change triggers REDEPLOY.

Also fix _save_pending_rgw_config to use cred_map.get() instead
of a bare dict lookup.

Fixes: https://tracker.ceph.com/issues/77763
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
src/pybind/mgr/cephadm/services/smb.py
src/pybind/mgr/cephadm/tests/services/test_smb.py
src/pybind/mgr/smb/handler.py