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.
Zitat von "Francesco Piraneo G." <fpiraneo@xxxxxxxxxxx>:
Hi Eugen,
thank you for your answer; I think that the ceph orch apply rgw
pacific-rgw is to deploy the rados gateway on the gateway machine,
that I did manually.
However checking all the "set-rgw-api" values that conforms to my
installation and applying all the radosgw-admin setup you indicated
lead me no results: Always as the beginning....
The wrong must be somewhere else...
Do you have a checklist?
Francesco
Il 31.08.21 14:53, Eugen Block ha scritto:
How exactly did you create the rgw(s), realms, users etc.? I have
single node (pacific) where connecting the dashboard worked just
fine.
Basically this is what I did:
# create realm, zonegroup, zone
radosgw-admin realm create --rgw-realm=pacific-realm --default
radosgw-admin zonegroup create --rgw-zonegroup=europe-zg --master --default
radosgw-admin zone create --rgw-zone=europe-zone
--rgw-zonegroup=europe-zg --master --default
radosgw-admin period update --rgw-realm=pacific-realm --commit
# create a user (the dashboard needs one)
radosgw-admin user create --uid=admin --display-name=admin --system
--access-key=admin --secret=admin
# apply rgw deployment
pacific:~ # ceph orch apply rgw pacific-rgw --realm=pacific-realm
--zone=europe-zone --placement=1
Then the dashboard was configured as follows:
ceph dashboard set-rgw-api-ssl-verify false
ceph dashboard set-rgw-api-user-id admin
ceph dashboard set-rgw-api-access-key -i /tmp/rgw-api-access-key.txt
ceph dashboard set-rgw-api-secret-key -i /tmp/rgw-api-access-key.txt
ceph dashboard set-rgw-api-host my-host
I think that was it, I just can't create a bucket yet but I didn't
check yet.
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx