rgwadmin.exceptions

rgwadmin.exceptions

This module contains the rgwadmin exceptions.

exception rgwadmin.exceptions.RGWAdminException(code, raw=None)[source]

There was a unlabeled exception that was raised during your request

exception rgwadmin.exceptions.AccessDenied(code, raw=None)[source]

Access was denied for the request.

exception rgwadmin.exceptions.UserExists(code, raw=None)[source]

Attempt to create existing user.

exception rgwadmin.exceptions.InvalidAccessKey(code, raw=None)[source]

Invalid access key specified.

exception rgwadmin.exceptions.InvalidArgument(code, raw=None)[source]

Invalid argument specified.

exception rgwadmin.exceptions.InvalidKeyType(code, raw=None)[source]

Invalid key type specified.

exception rgwadmin.exceptions.InvalidSecretKey(code, raw=None)[source]

Invalid secret key specified.

exception rgwadmin.exceptions.KeyExists(code, raw=None)[source]

Provided access key exists and belongs to another user.

exception rgwadmin.exceptions.EmailExists(code, raw=None)[source]

Provided email address exists.

exception rgwadmin.exceptions.SubuserExists(code, raw=None)[source]

Specified subuser exists.

exception rgwadmin.exceptions.InvalidAccess(code, raw=None)[source]

Invalid subuser access specified.

exception rgwadmin.exceptions.IndexRepairFailed(code, raw=None)[source]

Bucket index repair failed.

exception rgwadmin.exceptions.BucketNotEmpty(code, raw=None)[source]

Attempted to delete non-empty bucket.

exception rgwadmin.exceptions.ObjectRemovalFailed(code, raw=None)[source]

Unable to remove objects.

exception rgwadmin.exceptions.BucketUnlinkFailed(code, raw=None)[source]

Unable to unlink bucket from specified user.

exception rgwadmin.exceptions.BucketLinkFailed(code, raw=None)[source]

Unable to link bucket to specified user.

exception rgwadmin.exceptions.NoSuchObject(code, raw=None)[source]

Specified object does not exist.

exception rgwadmin.exceptions.IncompleteBody(code, raw=None)[source]

Either bucket was not specified for a bucket policy request or bucket and object were not specified for an object policy request.

exception rgwadmin.exceptions.InvalidCap(code, raw=None)[source]

Attempt to grant invalid admin capability.

exception rgwadmin.exceptions.NoSuchCap(code, raw=None)[source]

User does not possess specified capability.

exception rgwadmin.exceptions.InternalError(code, raw=None)[source]

Internal server error.

exception rgwadmin.exceptions.NoSuchUser(code, raw=None)[source]

User does not exist.

exception rgwadmin.exceptions.NoSuchBucket(code, raw=None)[source]

Bucket does not exist.

exception rgwadmin.exceptions.NoSuchKey(code, raw=None)[source]

No such access key.

exception rgwadmin.exceptions.ServerDown(code, raw=None)[source]

The backing server is not available.

exception rgwadmin.exceptions.InvalidQuotaType(code, raw=None)[source]

You must specify either a ‘user’ or ‘bucket’ quota type

exception rgwadmin.exceptions.BucketAlreadyExists(code, raw=None)[source]

The bucket already exists