Repository navigation
mgr/cephadm: track SMB rgw_creds_uri as a daemon dependency - #69932
Conversation
76cb5d4 to
b960d6c
Compare
5ae54a5 to
b960d6c
Compare
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
b960d6c to
74dd8a9
Compare
74dd8a9 to
c66b3b6
Compare
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 <[email protected]>
c66b3b6 to
2063d84
Compare
|
FWIW I prefer plain functions if something doesn't need to be a method. I don't think this strictly needs to be a classmethod (don't get me started on staticmethod). But I don't think it's a problem and I won't ask for changes on this. |
|
Teuthology run: https://pulpito-ng.ceph.com/runs/phlogistonjohn-2026-07-11_22:29:08-orch-wip-phlogistonjohn-testing-1-2026-07-10-1816-distro-default-trial |
|
LGTM Thanks, |
|
This is an automated message by src/script/redmine-upkeep.py. I have resolved the following tracker ticket due to the merge of this PR: No backports are pending for the ticket. If this is incorrect, please update the tracker |
Depends on #69907
When an RGW share is added to a cluster that already has CephFS shares, RGW credentials show as empty in
net conf listinside the container. The private-store URI carrying credentials is appended toSAMBACC_CONFIGviaextra_config_uris, but was not tracked as a dependency for cephadm to redeploy the daemon. Thusupdate-config --watchsidecarcontinues running with the stale
SAMBACC_CONFIGand never receives the RGW credentials URI.The PR intends to fix this issue by adding
rgw_creds_urias a dependency and include it in REDEPLOY action too.Fixes: https://tracker.ceph.com/issues/77763
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.