Bug 1823093
| Summary: | [cee/sd][rgw]Ordered Bucket listing fails on bucket with multipart uploads | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Mike Hackett <mhackett> |
| Component: | RGW | Assignee: | J. Eric Ivancich <ivancich> |
| Status: | CLOSED DUPLICATE | QA Contact: | Tejas <tchandra> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.3 | CC: | 077.janesmith, anharris, cbodley, ceph-eng-bugs, dwojewod, frederic.nass, gjose, gsitlani, ivancich, jayachandran.palanisamy, kbader, mbenjamin, sandra51caffrey, sweil, vumrao |
| Target Milestone: | --- | ||
| Target Release: | 5.* | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-02-18 21:53:26 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Mike Hackett
2020-04-11 15:20:45 UTC
Hello,
We are also using the same CEPH version.
[root@admin01 ~]# ceph version
ceph version 12.2.12-84.el7cp (1ce826ed564c8063ac6c876df66bd8ab31b6cc66) luminous (stable)
[root@admin01 ~]# radosgw-admin bucket stats|grep ceph-share-1
"bucket": "ceph-share-1",
And getting same error when trying to remove the bucket using Rados-admin command from admin node.
[root@admin01 ~]# radosgw-admin bucket rm --bucket=cenudflr/ceph-share-1
2020-09-09 00:14:34.464845 7f001ae7be00 1 RGWRados::Bucket::List::list_objects_ordered INFO ordered bucket listing requires read #2
2020-09-09 00:14:34.467942 7f001ae7be00 1 RGWRados::Bucket::List::list_objects_ordered INFO ordered bucket listing requires read #3
2020-09-09 00:14:34.470879 7f001ae7be00 1 RGWRados::Bucket::List::list_objects_ordered INFO ordered bucket listing requires read #2
2020-09-09 00:14:34.473422 7f001ae7be00 1 RGWRados::Bucket::List::list_objects_ordered INFO ordered bucket listing requires read #3
From S3 client.
===================
Invoked as: /usr/local/bin/s3cmd rm -v -d s3://ceph-share-1/ --recursive --force -c /root/.s3cfg-se
Problem: <class 'IndexError: list index out of range
S3cmd: 2.1.0
python: 3.6.8 (default, Apr 16 2020, 01:36:27)
[GCC 8.3.1 20191121 (Red Hat 8.3.1-5)]
environment LANG=en_US.UTF-8
Traceback (most recent call last):
File "/usr/local/bin/s3cmd", line 3121, in <module>
rc = main()
File "/usr/local/bin/s3cmd", line 3030, in main
rc = cmd_func(args)
File "/usr/local/bin/s3cmd", line 659, in cmd_object_del
rc = subcmd_batch_del_iterative(uri_str = uri_str)
File "/usr/local/bin/s3cmd", line 681, in subcmd_batch_del_iterative
for _, _, to_delete in s3.bucket_list_streaming(bucket, prefix=uri.object(), recursive=True):
File "/usr/local/lib/python3.6/site-packages/S3/S3.py", line 368, in bucket_list_streaming
uri_params['marker'] = current_prefixes[-1]["Prefix"]
IndexError: list index out of range
/Jay
Hello Jay, This bug BZ#1831740 (https://bugzilla.redhat.com/show_bug.cgi?id=1831740) was fixed in latest Red Hat Ceph Storage 3.3.z6 (12.2.12-124.el7cp). Regards, Frédéric. Hi Jay, not sure anymore. Same symptoms but may be different one. Give RHCS 3.3z6 a try and see how it goes. Frédéric. Hi Frederic, Sure, will update here the results. Thank you for your valuable response. Regards, Jay Thanks for the info I will try to figure it out for more https://www.cattranslator.net |