Hi,
I have set following permission to admin user:
radosgw-admin caps add --uid=admin --tenant=admin --caps="users=*;buckets=*"
Now I would like to upload some object with admin user to some other
user/tenant (tester1$tester1) to his bucket test1.
Other user has uid tester1 and tenant tester1 and bucket test1 created.
I've tried with python:
headers = {'x-amz-meta-tenancy': 'tester1'}
client.upload_file(file_path, bucket_name, object_name,
ExtraArgs={'Metadata': headers})
But I get response:
An error occurred (NoSuchBucket) when calling the PutObject operation: None
Any ideas why I get this error even though bucket test1 for tester1$tester1
exists?
Kind regards,
Rok
Show replies by date