Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rgw: fix objects can not be displayed which object name does not cont… #5738

Merged
merged 1 commit into from Nov 3, 2015

Conversation

dwj192
Copy link
Contributor

@dwj192 dwj192 commented Sep 1, 2015

objects can not be displayed which object name does not contain '.' when get the bucket index.

There is those obj in bucket bkt-test:

ceph-master.zip
ceph-test
ceph_0.94.2-1.tar.gz
rm
rm.sh

// get the bucket index use Admin Ops API

./s3curl.pl --id=personal  -- http://node110/admin/bucket?index\&bucket=bkt-test
[
    "_multipart_ceph-master.zip",
    "_multipart_ceph_0.94.2-1.tar.gz",
    "_multipart_rm.sh"
]

// check bucket

radosgw-admin bucket check --bucket=bkt-test`
[
    "_multipart_ceph-master.zip",
    "_multipart_ceph_0.94.2-1.tar.gz",
    "_multipart_rm.sh"
]

Signed-off-by: Weijun Duan duanweijun@h3c.com

@smithfarm smithfarm added the rgw label Sep 5, 2015
@smithfarm
Copy link
Contributor

Should this be backported? If so, it needs a tracker issue.

@dwj192
Copy link
Contributor Author

dwj192 commented Sep 5, 2015

@smithfarm
tracker issue: http://tracker.ceph.com/issues/12963

@smithfarm
Copy link
Contributor

When this is merged, please update the "Backport" field in http://tracker.ceph.com/issues/12963 and set the issue status to "Pending Backport". Thanks!

@dwj192
Copy link
Contributor Author

dwj192 commented Sep 7, 2015

object's name xxx.xxx xxx
swfit ok ok
s3/admin ok ok
radosgw-admin ok ok
object's bucket index xxx.xxx xxx
swfit - -
s3/admin ok failed
radosgw-admin ok failed

…hen get the bucket index.

Fixes: ceph#12963

Signed-off-by: Weijun Duan <duanweijun@h3c.com>
yehudasa added a commit that referenced this pull request Nov 3, 2015
rgw: fix objects can not be displayed which object name does not cont…

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
@yehudasa yehudasa merged commit 8fed458 into ceph:master Nov 3, 2015
@dwj192 dwj192 deleted the dwj192_bkt_index branch November 4, 2015 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants