Re: radosgw manual deployment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


Zitat von "Francesco Piraneo G." <fpiraneo@xxxxxxxxxxx>:

Hi Eugen,

everything worked fine on my test until I decided to move the RADOS gateway under a different host than mon. In such case the dashboard is no longer able to find the RADOS gateway daemon; on my dashboard I have this message:

The Object Gateway Service is not configured
No RGW daemon found with user-defined host: s3.anonicloud.test, port: 80


Please consider the following:

- From monitor machine raising a curl to this url I get the s3 welcome string:

# curl s3.anonicloud.test
<?xml version="1.0" encoding="UTF-8"?><ListAllMyBucketsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/";><Owner><ID>anonymous</ID><DisplayName></DisplayName></Owner><Buckets></Buckets></ListAllMyBucketsResult>

So this lead me to think that s3 gateway is installed, running and reachable from the mon machine;

$ ceph dashboard set-rgw-api-host <host>
$ ceph dashboard set-rgw-api-port <port>
$ ceph dashboard set-rgw-api-scheme <scheme>

Has been set correctly because on the error string I read where the dashboard can find the s3 gateway; scheme is really http (checked querying with get-rgw-api-scheme).

Any clue / suggestion is welcome.

Francesco



Il 24.08.21 11:22, Eugen Block ha scritto:
Hi,

I assume that the "latest" docs are already referring to quincy, if you check the pacific docs (https://docs.ceph.com/en/pacific/mgr/dashboard/) that command is not mentioned. So you'll probably have to use the previous method of configuring the credentials.

Regards,
Eugen



_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux