Hi,
I checked our environment (Nautilus) where I enabled the RGW dashboard
integration. Please note that we don't use RGW ourselves heavily and I
don't have access to our customer's RGWs, so this might look
differently for an actual prod environment. Anyway, to get it up and
running it could help. Here is the ceph.conf excerpt:
[client.rgw.rgwhost01]
host = rgwhost01.example.com
rgw_dns_name = rgwhost01.example.com
rgw_frontends = civetweb port=7480
And this is my dashboard config:
---snip---
ceph dashboard get-rgw-api-host
rgwhost01.example.com
ceph dashboard get-rgw-api-port
7480
ceph dashboard get-rgw-api-scheme
http
ceph dashboard get-rgw-api-ssl-verify
False
ceph dashboard get-rgw-api-access-key
<ACCESS_KEY>
ceph dashboard get-rgw-api-secret-key
<SECRET_KEY>
ceph dashboard get-rgw-api-admin-resource
admin
radosgw-admin user list
[
"admin",
"eblock"
]
---snip---
Note that the admin user has the "--system" flag. Also worth noting
that it only worked when host, rgw_dns_name and get-rgw-api-host were
identical. I can't tell what role the rgw_dns_name plays in all that,
though. But this is a setup that works for me.
Regards,
Eugen
Zitat von "Francesco Piraneo G." <fpiraneo@xxxxxxxxxxx>:
Hi Eugen,
1. I'm running on a test cluster manually installed under debian 10;
2. No container at all;
3. To install rados gateway I followed instructions here:
https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/3/html/installation_guide_for_red_hat_enterprise_linux/manually-installing-ceph-object-gateway
4. Following the instructions in 3. everything run fine if the
gateway is installed on the mon1 host;
5. If i follow the same instructions in 3. to install the gateway on
a different machine, rados gateway run, can be queried by a web
browser (that's mean: is online and listening) but cannot be
interfaced with dashboard;
6. rgw_dns_name! Cool question! If you follow what indicated on the
link in 3.:
rgw dns name = <obj_gw_hostname>.example.com
Where <obj_gw_hostname> is a short host name of the gateway node. To
view the short host name, use the hostname -s command.
But if you go to
https://docs.ceph.com/en/latest/radosgw/config-ref/#confval-rgw_dns_name:
rgw_dns_name
The DNS name of the served domain. See also the hostnames setting
within regions.
So: I have to indicate the hostname or the DNS (name or address) for
the domain?
I think 99% of the confusion is due to VERY POOR documentation!!
Thanks for help.
Francesco
Il 01.09.21 14:14, Eugen Block ha scritto:
That basically was my check list, it was all I had to do in my lab
to set it up. The guide to setup a RGW manually refers to
non-containerized environments, did you "adopt" it with cephadm or
is it still running outside of a container?
You wrote that you switched the RGW host from MON, I think it would
help if you shared the steps you did to create and configure the
RGW as well as the process to move it to a different host. Is the
"rgw_dns_name" set in the ceph.conf (if it's non-container)? Does
it resolve properly? Without knowing the details of your setup it's
difficult to help.
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx