Youâre right I didnât deploy any OSDs at that point. I didnât think that would be a problem since the last `ceph-deploy` command completed without error and its log ended with:
The Ceph Object Gateway (RGW) is now running on host storage-test01 and default port 7480
Maybe thatâs a bug?
Anyway, I purged the cluster, rebuilt it with some OSDs, but I still donât see radosgw listening on port 7480.
Hereâs my ceph.conf (itâs just the default, I havenât touched it):
fsid = 849f7b15-1e31-450b-b17c-6599fb6ff94d
mon_initial_members = storage-test01
mon_host = 10.0.4.127
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
hereâs my netstat:
# netstat -alp | grep rados
tcp 0 0 10.0.4.127:57504 10.0.4.127:6816 ESTABLISHED 19833/radosgw
tcp 0 0 10.0.4.127:43462 10.0.4.127:6832 ESTABLISHED 19833/radosgw
tcp 0 0 10.0.4.127:49848 10.0.4.127:6789 ESTABLISHED 19833/radosgw
unix 2 [ ACC ] STREAM LISTENING 262758 19833/radosgw /var/run/ceph/ceph-client.rgw.storage-test01.asok
unix 3 [ ] STREAM CONNECTED 264433 19833/radosgw
20243 ? Ssl 0:00 /usr/bin/radosgw -f --cluster ceph --name client.rgw.storage-test01 --setuser ceph --setgroup ceph
Sometimes thereâs an intermittent âInitialization timeout, failed to initializeâ in the rgw log, but it doesnât occur when I restart the services.
Let me know if I can send anything else, Iâd really like to get this up and running!
From: Jean-Charles Lopez [mailto:***@redhat.com]
Sent: Monday, February 05, 2018 5:23 PM
To: Piers Haken <***@hotmail.com>
Subject: Re: [ceph-users] radosgw not listening after installation
first of all just in case, it looks like your script does not deploy any OSDs as you go straight from MON to RGW.
then, RGW does listen by default on 7480 and what you see on 6789 is the MON listening.
- Make sure your ceph-radosgw process is running first.
- If not running, have a look at the log to see why it may have failed.
- Paste some more information in this mailing list so we can help you find the problem (e.g. output of ceph-deploy, log of your RGW, ...)
My bet is that given that you havenât deployed any OSDs the RGW canât create the pools it needs to stroe data. May be not but just guessing from what you showed us.
On Feb 5, 2018, at 16:51, Piers Haken <***@hotmail.com<mailto:***@hotmail.com>> wrote:
i'm trying to setup radosgw on a brand new clutser, but I'm running into an issue where it's not listening on the default port (7480)
here's my install script:
ceph-deploy new $NODE
ceph-deploy install --release luminous $NODE
ceph-deploy install --release luminous --rgw $NODE
ceph-deploy mon create-initial
ceph-deploy admin $NODE
ceph-deploy rgw create $NODE
this is on debian 9.3 (stretch) on a clean machine.
the /usr/bin/radosgw process is running, and it's listening on port 6789 (this is not an HTTP server, but some insternal binary protocol), but the docs say it should be listening for HTTP requestst on port 7480.
what am i missing here?
ceph-users mailing list