Repository navigation
os/bluestore: add health alert when RocksDB column family sharding is not used - #70623
Conversation
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
16 similar comments
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
Config Diff Tool Output+ added: bluestore_warn_on_no_db_sharding (global.yaml.in)
The above configuration changes are found in the PR. Please update the relevant release documentation if necessary. |
| .. prompt:: bash # | ||
|
|
||
| systemctl stop ceph-osd@123 | ||
| ceph-bluestore-tool \ |
There was a problem hiding this comment.
IIRc that utility is only found in the ceph-osd package, so we might want to suggest installing it. However some others -- Eugen perhaps? -- have reported operational issues when the package is installed. If one can do this through a cephadm shell, instructions would be nice.
This PR is to display health warning. It relies on the same source of information that was introduced by #66526. This PR also fixes a latent nullptr bug introduced by #66526 that was discovered by Claude while working on this PR:
|
|
This PR has been added to wip-bharath5-testing-20260804.033808-main. |
|
ok to test |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
|
@FredNass Please resolve the failed PR checks. Once the issues are addressed and all required checks pass, you may proceed with merging the PR. If retesting is required, please add the needs-qa label and remove the TESTED label. |
… not used Add a new BLUESTORE_NO_DB_SHARDING health warning, raised by OSDs whose RocksDB database does not use column family sharding, i.e. OSDs created prior to Pacific that have not been resharded yet. Such OSDs suffer from less efficient caching and compaction and can be migrated to a sharded layout offline with 'ceph-bluestore-tool reshard'. The alert can be disabled with the new bluestore_warn_on_no_db_sharding option (default: true). Also fix a latent nullptr dereference in BlueStore::get_db_sharding() when the KV backend is not RocksDB. Signed-off-by: Frédéric Nass <[email protected]>
7db4f01 to
86ccea5
Compare
|
Rebased on latest main, no content changes. /config check ok |
|
jenkins test api |
|
jenkins test windows |
|
jenkins test api |
|
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 |
Add a new BLUESTORE_NO_DB_SHARDING health warning, raised by OSDs whose RocksDB database does not use column family sharding, i.e. OSDs created prior to Pacific that have not been resharded yet. Such OSDs suffer from less efficient caching and compaction and can be migrated to a sharded layout offline with 'ceph-bluestore-tool reshard'.
The alert can be disabled with the new bluestore_warn_on_no_db_sharding option (default: true).
Also fix a latent nullptr dereference in BlueStore::get_db_sharding() when the KV backend is not RocksDB.
Fixes: https://tracker.ceph.com/issues/78784
Assisted-by: Claude Fable 5 High.
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.