Bug #24658
openbucketname Unable to recognize if it including "."
0%
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>
Updated by Abhishek Lekshmanan almost 6 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.. ?
Updated by Abhishek Lekshmanan almost 6 years ago
- Assignee set to Abhishek Lekshmanan
Updated by Amine Liu almost 6 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.
Updated by Amine Liu almost 6 years ago
but can request ok like that http://gz.s3.imu.cn/test/mp3/abc.mp3 , the bucketname is test, which not including "."
Updated by Abhishek Lekshmanan almost 6 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
Updated by Amine Liu almost 6 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
Updated by Abhishek Lekshmanan almost 6 years ago
Can you attach the rgw logs at debug rgw=20 and debug ms=1 set in ceph.conf rgw section.
Updated by Abhishek Lekshmanan over 4 years ago
- Status changed from New to Need More Info
Is this still an issue with Nautilus/Mimic?