Repository navigation
rgw/admin: fix infinite loop in role list pagination - #69066
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. |
15 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. |
|
ok to test |
|
@ashishkumsingh Thanks for the contribution. Would you like to make a tracker on tracker.ceph.com, so we can track which backports are needed? Also, how would you feel about adding a test for listing more than 100 roles? If you have questions or need some guidance, feel free to reach out. |
|
Hey @ivancich thank you for reviewing the PR.
Tracker https://tracker.ceph.com/issues/76776 is already opened for this PR. I will also work on the test for listing more than 100 roles. |
aec2c56 to
75bb31b
Compare
|
@ivancich can you please review this? |
|
pr testing completed and approved by @ivancich , tracker details : https://tracker.ceph.com/issues/77211 |
|
Thank you for the new test, @ashishkumsingh ! We need to integrate the test so it's actually tested. Please see my in-line comment for how I suggest this be done. We will need to do QA all over again, so we can make sure it all works. So I removed the TESTED and ready-to-merge labels. |
75bb31b to
b28cc0d
Compare
Thank you @ivancich for the review. I've added to admin-pagination.yaml. Let me know if the Teuthology QA run catches anything. |
| @@ -3,3 +3,7 @@ tasks: | |||
| clients: | |||
| client.0: | |||
| - rgw/run-admin-pagination.sh | |||
| - workunit: | |||
There was a problem hiding this comment.
I think you can just add line 9 after line 5 without the rest. Let's have you do that and then we'll run this through QA. Thanks!
b28cc0d to
316c4b4
Compare
The `radosgw-admin role list` command was getting stuck in an infinite loop when paginating through more than 100 roles. Fixes: https://tracker.ceph.com/issues/76776 Signed-off-by: Ashish Singh <[email protected]>
316c4b4 to
fd6a96d
Compare
|
jenkins test windows |
|
@ashishkumsingh The QA run generated some consistent errors that were not on the main baseline from 4 days ago. Is there any way your PR would cause these errors? Specifically the errors listed are: Here are some example log files where they occurred:
I figured I'd allow you to take a look before trying to run the same branch without your PR to see if there's a differnce. Thank you for your help! |
Hey Eric, These errors doesn't seem related to my changes. Regards, |
|
My testing branch may not have been up to date. I'm testing again. |
|
Testing again, due to previous testing errors. |
|
@ashishkumsingh I'm guessing this needs backports to squid, tentacle, and umbrella. I've updated the tracker to replace that. Would you be willing to do those? |
|
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 |
The
radosgw-admin role listcommand was getting stuck in an infinite loop when paginating through more than 100 roles.Fixes: https://tracker.ceph.com/issues/76776
Tested via local vstart cluster by generating 105 roles and running
radosgw-admin role list.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.