Hello,

I'm a fairly new user and I am trying to bring up radosgw.

I am following this page: 
http://docs.ceph.com/docs/master/install/install-ceph-gateway/

I have Jewel 10.2.1 installed with a co-located admin/mon host and a separate 
osd host

First a question: Can I run radosgw on a co-located admin/monitor host?

And then my issue: I cannot seem to get the frontent (civetweb) to run on port 
80.

(I do the following)

su - ceph

cd my-cluster

sudo ceph-deploy install -rgw p6-os1-mon2

ceph-deploy --overwrite-conf rgw create p6-os1-mon

   (Note it says: The Ceph Object Gateway (RGW) is now running on host 
p6-os1-mon2 and default port 7480)

   (Testing to http://p6-os1-mon2:7480 show the correct info)

Edit ~ceph/my-cluster/ceph.conf and add:

   [client.radosgw.p6-os1-mon2]

   rgw_frontends = "civetweb port=80"

Reboot p6-os1/mon2

After everything is back up, try http://p6-os1-mon2:80

   No luck, it appears it is still running at 7480...

What am I missing that would make radosgw get the correct port?

(Running by hand, I see "listening_ports"

2016-05-23 12:13:43.479136 7fc0793f7a40 20 civetweb config: decode_url: no

2016-05-23 12:13:43.479138 7fc0793f7a40 20 civetweb config: enable_keep_alive: 
yes

2016-05-23 12:13:43.479138 7fc0793f7a40 20 civetweb config: listening_ports: 
7480

2016-05-23 12:13:43.479139 7fc0793f7a40 20 civetweb config: num_threads: 100

2016-05-23 12:13:43.479140 7fc0793f7a40 20 civetweb config: run_as_user: ceph

    I suspected maybe the keyring? So I did:
      $ sudo rm -rf /etc/ceph/ceph.client.radosgw.keyring
      $ sudo ceph-authtool --create-keyring 
/etc/ceph/ceph.client.radosgw.keyring
      $ sudo chmod +r /etc/ceph/ceph.client.radosgw.keyring
      $ sudo ceph-authtool /etc/ceph/ceph.client.radosgw.keyring -n 
client.radosgw.p6-os1-mon2
      $ sudo ceph-authtool /etc/ceph/ceph.client.radosgw.keyring -n 
client.radosgw.p6-os1-mon2 --gen-key
      $ sudo ceph-authtool -n client.radosgw.p6-os1-mon2 --cap osd 'allow rwx' 
--cap mon 'allow rwx' /etc/ceph/ceph.client.radosgw.keyring
      $ sudo ceph -k /etc/ceph/ceph.client.admin.keyring auth add 
client.radosgw.p6-os1-mon2 -i /etc/ceph/ceph.client.radosgw.keyring
      (Also copied to to my osd node...)
      Reboot everything, still no luck civetweb remains on 7480

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

Reply via email to