Project

General

Profile

Bug #24658

bucketname Unable to recognize if it including "."

Added by Amine Liu almost 6 years ago. Updated over 4 years ago.

Status:
Need More Info
Priority:
Normal
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

my request is:
http://gz.s3.imu.cn/audio.res.v1/mp3/abc.mp3

return:

Error

<Code

NoSuchBucket
</Code

<BucketName

gz.s3.imu.cn
</BucketName

<RequestId

tx000000000000000001ac7-005b31bb7b-fdfb76-imu-gzsx
</RequestId

<HostId

fdfb76-imu-gzsx-imu
</HostId

</Error>

History

#1 Updated by John Spray almost 6 years ago

  • Project changed from Ceph to rgw

#2 Updated by Abhishek Lekshmanan over 5 years ago

What is the rgw dns name for rgw here? Are you trying to request via vhost style calling format with gz as the bucket name or is the bucket name audio.res.. ?

#3 Updated by Abhishek Lekshmanan over 5 years ago

  • Assignee set to Abhishek Lekshmanan

#4 Updated by Amine Liu over 5 years ago

Abhishek Lekshmanan wrote:

What is the rgw dns name for rgw here? Are you trying to request via vhost style calling format with gz as the bucket name or is the bucket name audio.res.. ?

bucketname is audio.res.v1, and if try request from http://ip/bucketname/objs , that is ok. but only failed from domain.

#5 Updated by Amine Liu over 5 years ago

but can request ok like that http://gz.s3.imu.cn/test/mp3/abc.mp3 , the bucketname is test, which not including "."

#6 Updated by Abhishek Lekshmanan over 5 years ago

Is the bucket name with dots wroking with path style format http://gz../audio.res.v1/foobar?

If so then it is an issue of ceph.conf "rgw dns name" not being set properly. This must match the rgw host name used in the requests, which is gz.s3.imu.cn

#7 Updated by Amine Liu over 5 years ago

Abhishek Lekshmanan wrote:

Is the bucket name with dots wroking with path style format http://gz../audio.res.v1/foobar?

If so then it is an issue of ceph.conf "rgw dns name" not being set properly. This must match the rgw host name used in the requests, which is gz.s3.imu.cn

yes, MY rgw dns name is gzs3.imu.cn,but why can working with path http://gz.s3.imuc.cn/test/foobar? and can working with http://ip/test/foobar ,But only not working with http://gz.s3.imu.cn/audio.res.v1/abc.mp3

#8 Updated by Abhishek Lekshmanan over 5 years ago

Can you attach the rgw logs at debug rgw=20 and debug ms=1 set in ceph.conf rgw section.

#9 Updated by Abhishek Lekshmanan over 4 years ago

  • Status changed from New to Need More Info

Is this still an issue with Nautilus/Mimic?

Also available in: Atom PDF