Nasri
(Alireza)
August 22, 2021, 2:06pm
1
Hi,
I have a s3 bucket created on ceph , when It wants to create repository it shows the following error.
{
"error": {
"root_cause": [
{
"type": "repository_verification_exception",
"reason": "[backup_repository6] cannot delete test data at "
}
],
"type": "repository_verification_exception",
"reason": "[backup_repository6] cannot delete test data at ",
"caused_by": {
"type": "i_o_exception",
"reason": "Exception when deleting blob [tests-3YRmh_c0Q1aa3b70xVEwLg]",
"caused_by": {
"type": "amazon_s3_exception",
"reason": "Forbidden (Service: Amazon S3; Status Code: 403; Error Code: 403 Forbidden; Request ID: null; S3 Extended Request ID: null)"
}
}
},
"status": 500
}
Any idea @DavidTurner and @dadoonet
Nasri
(Alireza)
August 22, 2021, 3:20pm
2
I know the user cannot delete file but I have set admin permission to the bucket user
[root@cephcon01 ~]# radosgw-admin user info --uid=gitlab-s3-api
{
"user_id": "gitlab-s3-api",
"display_name": "Gitlab s3 bucket",
"email": "",
"suspended": 0,
"max_buckets": 1000,
"subusers": [],
"keys": [
{
"user": "gitlab-s3-api",
"access_key": "xxxx",
"secret_key": "xxxxxxx"
}
],
"swift_keys": [],
"caps": [
{
"type": "buckets",
"perm": "*"
},
{
"type": "metadata",
"perm": "*"
},
{
"type": "usage",
"perm": "*"
},
{
"type": "users",
"perm": "*"
},
{
"type": "zone",
"perm": "*"
}
],
"op_mask": "read, write, delete",
"default_placement": "",
"default_storage_class": "",
"placement_tags": [],
"bucket_quota": {
"enabled": true,
"check_on_raw": false,
"max_size": 32212254720,
"max_size_kb": 31457280,
"max_objects": -1
},
"user_quota": {
"enabled": false,
"check_on_raw": false,
"max_size": -1,
"max_size_kb": 0,
"max_objects": -1
},
"temp_url_keys": [],
"type": "rgw",
"mfa_ids": []
}
system
(system)
Closed
September 19, 2021, 3:20pm
3
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.