Thank you! We are running Pacific, that was my issue here.

Can someone share a example of a full API request and answer with curl? I’m 
still having issues, now getting 401 or 403 answers (but providing Auth-User 
and Auth-Key).

Regards
Marcus



> Am 15.07.2022 um 15:23 schrieb Casey Bodley <cbod...@redhat.com>:
> 
> are you running quincy? it looks like this '/admin/info' API was new
> to that release
> 
> https://docs.ceph.com/en/quincy/radosgw/adminops/#info
> 
> On Fri, Jul 15, 2022 at 7:04 AM Marcus Müller <mueller.mar...@posteo.de> 
> wrote:
>> 
>> Hi all,
>> 
>> I’ve created a test user on our radosgw to work with the API. I’ve done the 
>> following:
>> 
>> ~#radosgw-admin user create --uid=testuser--display-name=„testuser"
>> 
>> ~#radosgw-admin caps add --uid=testuser --caps={caps}
>>    "caps": [
>>        {
>>            "type": "amz-cache",
>>            "perm": "*"
>>        },
>>        {
>>            "type": "bilog",
>>            "perm": "*"
>>        },
>>        {
>>            "type": "buckets",
>>            "perm": "*"
>>        },
>>        {
>>            "type": "datalog",
>>            "perm": "*"
>>        },
>>        {
>>            "type": "mdlog",
>>            "perm": "*"
>>        },
>>        {
>>            "type": "metadata",
>>            "perm": "*"
>>        },
>>        {
>>            "type": "oidc-provider",
>>            "perm": "*"
>>        },
>>        {
>>            "type": "roles",
>>            "perm": "*"
>>        },
>>        {
>>            "type": "usage",
>>            "perm": "*"
>>        },
>>        {
>>            "type": "user-policy",
>>            "perm": "*"
>>        },
>>        {
>>            "type": "users",
>>            "perm": "*"
>>        },
>>        {
>>            "type": "zone",
>>            "perm": "*"
>>        }
>>    ],
>> 
>> 
>> But for my GET request (with Authorization Header) I only get a "405 - 
>> Method not Allowed" answer. This is my request url: 
>> https://s3.example.de/admin/info?format=json 
>> <https://s3.example.de/admin/info?format=json>
>> 
>> Where is the issue here?
>> 
>> 
>> Regards,
>> Marcus
>> _______________________________________________
>> ceph-users mailing list -- ceph-users@ceph.io
>> To unsubscribe send an email to ceph-users-le...@ceph.io
> 

_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to