I found something interesting.
On the S3 client in the .s3cfg I made these changes:
host_base = 100.100.0.20 i.e. IP address of the radsogw server
host_base = cephadmin.com
In the /etc/dnsmasq.conf on the same client I added these lines
address=/cephadmin.com/100.100.0.20
listen-address=127.0.0.1
nslookup cephadmin.com
On the machine having the radosgw, /etc/ceph/ceph.conf contains these lines
And s3cmd ls and s3cmd mb s3://bucketX WORKS.
BUT if someone could help me understand why replacing this in the .s3cfg does not allow s3cmd ls to work (but bucket creationcontinues to work) I will be very grateful.
Why can I not use the below line and expect s3cmd ls to work ?
host_base = cephadmin.com
Thank you
On Mon, Dec 15, 2014 at 9:19 AM, Ruchika Kharwar <saltribbon@xxxxxxxxx> wrote:
On Mon, Dec 15, 2014 at 4:22 AM, Luis Periquito <periquito@xxxxxxxxx> wrote:Have you created the * DNS record?
[RK] I can ping to the IP addresses
bucket1.<rgw dns name> needs to resolve to that IP address (that's what you're saying in the host_bucket directive).[RK] I have rgw dns name in the /etc/ceph/ceph.conf file set to 100.100.0.20.comI set the host_bucket to %(buckets)s.100.100.0.20.com.I added these lines to the /etc/dnsmasq.confaddress=/*.100.100.0.20.com/100.100.0.20listen-address=127.0.0.1What should the DNS record look like and where do I add it ?Thank youOn Mon, Dec 15, 2014 at 5:52 AM, Ruchika Kharwar <saltribbon@xxxxxxxxx> wrote:_______________________________________________Apologies for re-asking this question since I found several hits on this question but not very clear answers.I am in a situation where s3cmd ls seems to workbut s3cmd mb s3://bucket1 does not1. The rgw dns name = servername in the apache rados.vhost.conf file. and on the client running the s3cmdthe .s3cfg hashost_base = <IP address of the radosgw>host_bucket = %(bucket)s.<IP address.com>the rgs dns name and that in the apache2 rados.vhost.conf has rgw dns name and Servername set to <IP address.com>Please adviseThank you
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com