Repository navigation
rgw/admin: radosgw-admin gc list and gc process returns error if --bypass-gc used - #71071
Conversation
|
Thank you for your contribution. Since you are not yet a member of the Ceph organization with write permissions on ceph/ceph.git, our CI will not automatically run. Any member of the Ceph organization may label this PR |
|
@aadhikale This refers to the wrong tracker in the comment here and in the commit message. I believe it should be tracker 79516. Please fix those. Do you think this is ready for review? If so, please add the needs-review label to the PR. |
--bypass-gc used. fixes: https://tracker.ceph.com/issues/79516 Signed-off-by: Aarti Dhikale <[email protected]>
5650954 to
c7551e5
Compare
|
Hello @ivancich ,Thanks for pointing out. I have updated the commit message. I don’t have access to add the label. |
|
ok to test |
|
This PR has been added to main integration testing by anuchaithra started 2026-09-01-07:44. |
pr testing completed and approved by @ivancich, more details in : https://tracker.ceph.com/issues/80139 |
Merge ceph/main into wip-rgw-admin-cleanup. Resolve radosgw-admin.cc conflict by keeping modular GC dispatch and moving the --bypass-gc rejection for gc list/process from main (ceph#71071) into gc.{h,cc}. Other main changes (e.g. rgw_account.cc ceph#71396) auto-merged. Signed-off-by: ramin.najarbashi <[email protected]>
fixes: https://tracker.ceph.com/issues/79516
Before Fix:
{{*** Caught signal (Segmentation fault) ** }} {{ in thread 7f763af1cc40 thread_name:radosgw-admin }} {{ ceph version 20.2.1-294.el10cp (71400d000eb272c5f3f442a9d237e4981f013537) tentacle (stable - RelWithDebInfo) }} {{ 1: /lib64/libc.so.6(+0x411c0) [0x7f763d6681c0] }} {{ 2: (RGWGC::process(bool, optional_yield)+0x39) [0x5646da149729] }} {{ 3: main() }} {{ 4: /lib64/libc.so.6(+0x2a58e) [0x7f763d65158e] }} {{ 5: __libc_start_main() }} {{ 6: _start() }} Segmentation fault (core dumped) {{ }}1: /lib64/libc.so.6(+0x3fc60) [0x7f4509270c60] 2: (RGWGC::list(int*, std::_cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, unsigned int, bool, std::_cxx11::list<cls_rgw_gc_obj_info, std::allocator<cls_rgw_gc_obj_info> >&, bool*, bool&)+0xd8) [0x55cb328267c8] 3: main() 4: /lib64/libc.so.6(+0x2a610) [0x7f450925b610] 5: __libc_start_main() 6: _start()After Fix:
[ceph: root@prachicode-0 /]# radosgw-admin gc list --bypass-gc
ERROR: 'gc list' command does not support --bypass-gc option
[ceph: root@prachicode-0 /]# radosgw-admin gc process --bypass-gc
ERROR: 'gc process' command does not support --bypass-gc option
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.