mirror of
https://github.com/ceph/ceph
synced 2024-12-28 14:34:13 +00:00
Merge pull request #20309 from pritha-srivastava/wip-rgw-roles-error-codes
rgw: Reinstating error codes mapping for Roles. Reviewed-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
commit
58755200cf
@ -72,6 +72,7 @@ rgw_http_errors rgw_http_s3_errors({
|
||||
{ ERR_TOO_MANY_BUCKETS, {400, "TooManyBuckets" }},
|
||||
{ ERR_MALFORMED_XML, {400, "MalformedXML" }},
|
||||
{ ERR_AMZ_CONTENT_SHA256_MISMATCH, {400, "XAmzContentSHA256Mismatch" }},
|
||||
{ ERR_MALFORMED_DOC, {400, "MalformedPolicyDocument"}},
|
||||
{ ERR_INVALID_TAG, {400, "InvalidTag"}},
|
||||
{ ERR_MALFORMED_ACL_ERROR, {400, "MalformedACLError" }},
|
||||
{ ERR_INVALID_ENCRYPTION_ALGORITHM, {400, "InvalidEncryptionAlgorithmError" }},
|
||||
@ -91,6 +92,7 @@ rgw_http_errors rgw_http_s3_errors({
|
||||
{ ERR_NO_SUCH_LC, {404, "NoSuchLifecycleConfiguration"}},
|
||||
{ ERR_NO_SUCH_BUCKET_POLICY, {404, "NoSuchBucketPolicy"}},
|
||||
{ ERR_NO_SUCH_USER, {404, "NoSuchUser"}},
|
||||
{ ERR_NO_ROLE_FOUND, {404, "NoSuchEntity"}},
|
||||
{ ERR_NO_SUCH_SUBUSER, {404, "NoSuchSubUser"}},
|
||||
{ ERR_METHOD_NOT_ALLOWED, {405, "MethodNotAllowed" }},
|
||||
{ ETIMEDOUT, {408, "RequestTimeout" }},
|
||||
@ -99,6 +101,8 @@ rgw_http_errors rgw_http_s3_errors({
|
||||
{ ERR_EMAIL_EXIST, {409, "EmailExists" }},
|
||||
{ ERR_KEY_EXIST, {409, "KeyExists"}},
|
||||
{ ERR_TAG_CONFLICT, {409, "OperationAborted"}},
|
||||
{ ERR_ROLE_EXISTS, {409, "EntityAlreadyExists"}},
|
||||
{ ERR_DELETE_CONFLICT, {409, "DeleteConflict"}},
|
||||
{ ERR_INVALID_SECRET_KEY, {400, "InvalidSecretKey"}},
|
||||
{ ERR_INVALID_KEY_TYPE, {400, "InvalidKeyType"}},
|
||||
{ ERR_INVALID_CAP, {400, "InvalidCapability"}},
|
||||
|
Loading…
Reference in New Issue
Block a user