Repository navigation
mgr/DaemonServer: Limit search for OSDs to upgrade within the crush bucket - #68048
Conversation
23998b0 to
fc15137
Compare
|
@rzarzynski @NitzanMordhai @kamoltat Gentle reminder to review this. Thanks! |
NitzanMordhai
left a comment
There was a problem hiding this comment.
@sseshasa i added some comments for you
fc15137 to
47a51dd
Compare
…ucket. The behavior of the 'ok-to-upgrade' command is now more deterministic with respect to the parameters passed. To achieve the above, the commit implements the following changes: 1. The 'ok-to-upgrade' command is modified to operate strictly on the OSDs within the CRUSH bucket and, if possible, meet the '--max' criteria when specified. When --max <num> is provided, the command returns up to <num> OSD IDs from the specified CRUSH bucket that can be safely stopped for simultaneous upgrade. This is useful when only a subset of OSDs within the bucket needs to be upgraded for performance or other reasons. 2. Modifies the standalone tests to reflect the above change. 3. Modifies the relevant documentation to reflect the change in behavior. Fixes: https://tracker.ceph.com/issues/75681 Signed-off-by: Sridhar Seshasayee <[email protected]>
47a51dd to
f18093f
Compare
|
@rzarzynski @kamoltat Please review this simplification. As per the request from Orchestrator folks, the search for OSDs is now limited only to the specified crush bucket. I hope to make this available soon on tentacle upstream and downstream branch so that QE can run tests. Thanks! |
|
@kamoltat @rzarzynski I have marked this 'needs-qa' as I want to merge it and make it available on upstream tentacle and eventually to downstream soon so that the Orchestrator team is unblocked. I will consider any comments that you may have in the next iteration. Thanks. |
There was a problem hiding this comment.
nit: I think when we are exercising the integrity of strict OSD search within the CRUSH bucket, we should check against OSD.ID and not the the expected num of OSDs. That way we can have a peace of mind that it is actually returning the OSDs in the crush bucket. I know your code already guarantee that, but it would be nice peace of mind.
There was a problem hiding this comment.
Thanks @kamoltat . I will look into this in the next iteration or as part of the new tracker.
|
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 |
This PR makes the behavior of the 'ok-to-upgrade' command more deterministic with respect to the parameters passed.
To achieve the above, the commit implements the following changes:
Modifies the 'ok-to-upgrade' command to strictly operate on the OSDs within the CRUSH bucket and, if possible, meet the '--max' criteria when specified. When
--max <num>is provided, the command returns up to<num>OSD IDs from the specified CRUSH bucket that can be safely stopped for simultaneous upgrade. This is useful when only a subset of OSDs within the bucket needs to be upgraded for performance or other reasons.Modifies the standalone tests to reflect the above change.
Modifies the relevant documentation to reflect the change in behavior.
Fixes: https://tracker.ceph.com/issues/75681
Signed-off-by: Sridhar Seshasayee [email protected]
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.