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 Server: 127.0.0.1 Address: 127.0.0.1#53 Name: cephadmin.com Address: 10.10.0.200 On the machine having the radosgw, /etc/ceph/ceph.conf contains these lines rgw dns name = cephadmin.com rgw resolve name = cephadmin.com 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 <[email protected]> wrote: > > > > On Mon, Dec 15, 2014 at 4:22 AM, Luis Periquito <[email protected]> > 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.com >> > > I set the host_bucket to %(buckets)s.100.100.0.20.com. > > I added these lines to the /etc/dnsmasq.conf > address=/*.100.100.0.20.com/100.100.0.20 > address=/bucket1.100.100.0.20.com/100.100.0.20 > listen-address=127.0.0.1 > > What should the DNS record look like and where do I add it ? > Thank you > > > > >> >> > > >> On Mon, Dec 15, 2014 at 5:52 AM, Ruchika Kharwar <[email protected]> >> 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 work >>> but s3cmd mb s3://bucket1 does not >>> >>> 1. The rgw dns name = servername in the apache rados.vhost.conf file. >>> and on the client running the s3cmd >>> the .s3cfg has >>> host_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 advise >>> >>> Thank you >>> >>> >>> >>> >>> _______________________________________________ >>> ceph-users mailing list >>> [email protected] >>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >>> >>>
_______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
