Hello everyone,

 

we are currently testing ceph (Hammer) and Openstack (Kilo) on Ubuntu 14.04
LTS Servers. Yesterday I tried to setup  the radosgateway with keystone
integration for swift via ceph-deploy. I followed the instructions on
http://ceph.com/docs/master/radosgw/keystone/ and
http://ceph.com/ceph-deploy/docs/rgw.html 

 

I encountered the following problems:

 

1. Bootstrap-rgw.keyring missing. I deployed the cluster under firefly, so I
had to create it manually (according to documentation, this is normal, but
it would be nice to have instructions how to create the
bootstrap-rgw.keyring manually).  

 

2. According to the documentation, the bucket in ceph.conf should be named
[client.radosgw.InstanceName]. Doing so my config wasn't used at all, when I
started rados-gateway using "service radosgw-all start" after changing
bucket name to [client.rgw.InstanceName], nearly everything worked fine. 

 

3. The nss db path parameter from my ceph.conf is still ignored and
openstack can't sync users to radosgw. The only way I got it working was to
start radosgw manually and passing all parameters directly.

 

I'd like to know, if (or what) I am doing wrong or if I hit a bug in
documentation, upstart script or radosgw.

 

My configuration:

 

[client.rgw.gw-v01] # Works except th nss db path

log file = /var/log/radosgw/radosgw.log

rgw frontends = "civetweb port=80"

rgw keystone admin token = secret

rgw keystone url = "http://xxx.xxx.xxx.xxx:5000";

rgw keystone accepted roles = "s3, swift, admin, _member_, user, Member"

rgw s3 auth use keystone = "true"

nss db path = /var/lib/ceph/nss

rgw keyring = /var/lib/ceph/radosgw/ceph-rgw.gw-v01/keyring

rgw host = gw-v01

 

Working radosgw with:

/usr/bin/radosgw --id rgw.gw-v01 --log-file /var/log/radosgw/radosgw.log
--rgw-frontends "civetweb port=80" --rgw-keystone-admin-token secret
--rgw-keystone-url "http://xxx.xxx.xxx.xxx:5000";
--rgw-keystone-accepted-roles "s3, swift, admin, _member_, user, Member"
--rgw-s3-auth-use-keystone "true" --nss-db-path "/var/lib/ceph/nss"
--rgw-keyring /var/lib/ceph/radosgw/ceph-rgw.gw-v01/keyring --rgw-host
gw-v01

 

Best regards

Felix

 

Forschungszentrum Juelich GmbH

52425 Juelich

Sitz der Gesellschaft: Juelich

Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498

Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher

Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),

Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,

Prof. Dr. Sebastian M. Schmidt

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to