Repository navigation
Conversation
When cephadm redeploys or reconfigures an OSD and the incoming keyring differs from the one on disk only in capability lines (e.g. the existing keyring was written without caps but the new one includes them), the code was unconditionally triggering a bluestore-label keyring update via rotate_osd_lv_keyring. Extract the bare key value from both the on-disk and incoming keyrings and only set update_bluestore_label_osd_keyring=True when the key bytes themselves differ. Keyrings that differ only in section headers or capability lines are treated as equal for this purpose. Fixes: https://tracker.ceph.com/issues/80399 Signed-off-by: Shweta Bhosale <[email protected]>
When _check_daemons decides an OSD needs a reconfig or redeploy (e.g. extra ceph config changed, deps changed, or monmap updated), then before executing an redeploy or reconfig on an OSD, consult `osd ok-to-stop` first. If the cluster says the OSD is not safe to stop, skip the action and log a message at INFO level; the serve loop will retry on the next iteration, naturally backing off until the cluster is healthy enough to proceed. Fixes: https://tracker.ceph.com/issues/80399 Signed-off-by: Shweta Bhosale <[email protected]>
71214a6 to
18bb15c
Compare
| logger.debug( | ||
| 'OSD keyring key value unchanged (only caps differ); ' | ||
| 'skipping bluestore-label keyring update for %s', | ||
| ident.daemon_id, |
There was a problem hiding this comment.
Are we saving the keyring with caps anywhere else? We should not be storing the caps at all; just the key.
There was a problem hiding this comment.
I don’t see a keyring with caps for any service on main.
|
Teuthology run was successful. Failing Test cases are not related to this PR: |
|
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 |
Fixes: https://tracker.ceph.com/issues/80399
Signed-off-by: Shweta Bhosale [email protected]
Testing done - performed a staggered upgrade from tentacle to the private image
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.