Hello there,
After configuring the dashboard according to
http://docs.ceph.com/docs/mimic/mgr/dashboard/#enabling-the-object-gateway-…
to use SSL and port 8443 (which works fine) I decided to use port 8443
for the API.
It seems that using port 8443 for the API causes the following issue:
2019-07-08 17:26:55.172 7f2f45f66700 0 mgr[dashboard] RGW REST API GET
timed out after 45 seconds
(url=http://th-dev-ceph-mon-tc01.priv.tgho.nl:8443/?format=json).
Traceback (most recent call last):
File "/usr/lib64/ceph/mgr/dashboard/rest_client.py", line 377, in
do_request
url, headers=self.headers, params=params, auth=self.auth)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line
476, in get
return self.request('GET', url, **kwargs)
File "/usr/lib64/ceph/mgr/dashboard/rest_client.py", line 39, in request
return super(TimeoutRequestsSession, self).request(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line
464, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line
576, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/adapters.py", line
433, in send
raise ReadTimeout(e, request=request)
ReadTimeout:
HTTPConnectionPool(host='th-dev-ceph-mon-tc01.priv.tgho.nl', port=8443):
Read timed out. (read timeout=45)
I then used another port for API: ceph dashboard set-rgw-api-port
dashboard.8080
Furthermore, From the dashboard perspective, clicking on Object Gateway
⌄ then clicking either on Daemons / Users / Buckets I always get the
following message:
Please consult the documentation
<http://docs.ceph.com/docs/mimic/mgr/dashboard/#enabling-the-object-gateway-management-frontend>
on how to configure and enable the Object Gateway management functionality.
I have also attached a screenshot
Any advice is much appreciated! What am I missing?
--
Met vriendelijke groeten,
Valentin Bajrami
Target Holding