[root@awscli-1714746371-5d54559d45-7krsj /]# aws --endpoint-url https://rook-ceph-rgw-openstack-store.rook-ceph.svc:8443/ --ca-bundle /etc/rgwcerts/cacert s3api create-bucket --bucket quota-bucket --debug 2024-05-03 15:01:05,897 - MainThread - awscli.clidriver - DEBUG - CLI version: aws-cli/1.32.97 Python/3.9.18 Linux/5.4.0-125-generic botocore/1.34.97 2024-05-03 15:01:05,897 - MainThread - awscli.clidriver - DEBUG - Arguments entered to CLI: ['--endpoint-url', 'https://rook-ceph-rgw-openstack-store.rook-ceph.svc:8443/', '--ca-bundle', '/etc/rgwcerts/cacert', 's3api', 'create-bucket', '--bucket', 'quota-bucket', '--debug'] 2024-05-03 15:01:05,897 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler 2024-05-03 15:01:05,897 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler 2024-05-03 15:01:05,898 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler 2024-05-03 15:01:05,899 - MainThread - botocore.utils - DEBUG - IMDS ENDPOINT: http://169.254.169.254/ 2024-05-03 15:01:05,901 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler 2024-05-03 15:01:05,910 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/lib/python3.9/site-packages/botocore/data/s3/2006-03-01/service-2.json.gz 2024-05-03 15:01:05,922 - MainThread - botocore.hooks - DEBUG - Event building-command-table.s3api: calling handler 2024-05-03 15:01:05,933 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/lib/python3.9/site-packages/botocore/data/s3/2006-03-01/waiters-2.json 2024-05-03 15:01:05,934 - MainThread - awscli.clidriver - DEBUG - OrderedDict([('acl', ), ('bucket', ), ('create-bucket-configuration', ), ('grant-full-control', ), ('grant-read', ), ('grant-read-acp', ), ('grant-write', ), ('grant-write-acp', ), ('object-lock-enabled-for-bucket', ), ('no-object-lock-enabled-for-bucket', ), ('object-ownership', )]) 2024-05-03 15:01:05,934 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.s3api.create-bucket: calling handler 2024-05-03 15:01:05,934 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.s3api.create-bucket: calling handler 2024-05-03 15:01:05,935 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.s3api.create-bucket: calling handler 2024-05-03 15:01:05,945 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/lib/python3.9/site-packages/botocore/data/s3/2006-03-01/paginators-1.json 2024-05-03 15:01:05,946 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/lib/python3.9/site-packages/botocore/data/s3/2006-03-01/paginators-1.sdk-extras.json 2024-05-03 15:01:05,946 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.s3api.create-bucket: calling handler 2024-05-03 15:01:05,946 - MainThread - botocore.hooks - DEBUG - Event before-building-argument-table-parser.s3api.create-bucket: calling handler > 2024-05-03 15:01:05,946 - MainThread - botocore.hooks - DEBUG - Event before-building-argument-table-parser.s3api.create-bucket: calling handler > 2024-05-03 15:01:05,946 - MainThread - botocore.hooks - DEBUG - Event before-building-argument-table-parser.s3api.create-bucket: calling handler 2024-05-03 15:01:05,948 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.create-bucket.acl: calling handler 2024-05-03 15:01:05,948 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.create-bucket.bucket: calling handler 2024-05-03 15:01:05,948 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.s3.create-bucket: calling handler 2024-05-03 15:01:05,949 - MainThread - awscli.arguments - DEBUG - Unpacked value of 'quota-bucket' for parameter "bucket": 'quota-bucket' 2024-05-03 15:01:05,949 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.create-bucket.create-bucket-configuration: calling handler 2024-05-03 15:01:05,949 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.create-bucket.grant-full-control: calling handler 2024-05-03 15:01:05,949 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.create-bucket.grant-read: calling handler 2024-05-03 15:01:05,949 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.create-bucket.grant-read-acp: calling handler 2024-05-03 15:01:05,949 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.create-bucket.grant-write: calling handler 2024-05-03 15:01:05,949 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.create-bucket.grant-write-acp: calling handler 2024-05-03 15:01:05,950 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.create-bucket.object-lock-enabled-for-bucket: calling handler 2024-05-03 15:01:05,950 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.create-bucket.object-ownership: calling handler 2024-05-03 15:01:05,950 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.create-bucket.cli-input-json: calling handler 2024-05-03 15:01:05,950 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.create-bucket.generate-cli-skeleton: calling handler 2024-05-03 15:01:05,950 - MainThread - botocore.hooks - DEBUG - Event calling-command.s3api.create-bucket: calling handler > 2024-05-03 15:01:05,950 - MainThread - botocore.hooks - DEBUG - Event calling-command.s3api.create-bucket: calling handler > 2024-05-03 15:01:05,950 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: env 2024-05-03 15:01:05,950 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: assume-role 2024-05-03 15:01:05,950 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: assume-role-with-web-identity 2024-05-03 15:01:05,951 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: sso 2024-05-03 15:01:05,951 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: shared-credentials-file 2024-05-03 15:01:05,951 - MainThread - botocore.credentials - INFO - Found credentials in shared credentials file: ~/.aws/credentials 2024-05-03 15:01:05,952 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/lib/python3.9/site-packages/botocore/data/endpoints.json 2024-05-03 15:01:05,968 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/lib/python3.9/site-packages/botocore/data/sdk-default-configuration.json 2024-05-03 15:01:05,969 - MainThread - botocore.hooks - DEBUG - Event choose-service-name: calling handler 2024-05-03 15:01:05,984 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/lib/python3.9/site-packages/botocore/data/s3/2006-03-01/endpoint-rule-set-1.json.gz 2024-05-03 15:01:05,987 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/lib/python3.9/site-packages/botocore/data/partitions.json 2024-05-03 15:01:05,991 - MainThread - botocore.hooks - DEBUG - Event creating-client-class.s3: calling handler 2024-05-03 15:01:05,991 - MainThread - botocore.hooks - DEBUG - Event creating-client-class.s3: calling handler 2024-05-03 15:01:05,994 - MainThread - botocore.endpoint - DEBUG - Setting s3 timeout as (60, 60) 2024-05-03 15:01:05,997 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/lib/python3.9/site-packages/botocore/data/_retry.json 2024-05-03 15:01:05,997 - MainThread - botocore.client - DEBUG - Registering retry handlers for service: s3 2024-05-03 15:01:05,997 - MainThread - botocore.utils - DEBUG - Registering S3 region redirector handler 2024-05-03 15:01:05,998 - MainThread - botocore.utils - DEBUG - Registering S3Express Identity Resolver 2024-05-03 15:01:05,998 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.s3.CreateBucket: calling handler 2024-05-03 15:01:05,998 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.s3.CreateBucket: calling handler 2024-05-03 15:01:05,998 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.s3.CreateBucket: calling handler > 2024-05-03 15:01:05,998 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.s3.CreateBucket: calling handler > 2024-05-03 15:01:05,998 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.s3.CreateBucket: calling handler 2024-05-03 15:01:05,998 - MainThread - botocore.hooks - DEBUG - Event before-endpoint-resolution.s3: calling handler 2024-05-03 15:01:05,999 - MainThread - botocore.hooks - DEBUG - Event before-endpoint-resolution.s3: calling handler > 2024-05-03 15:01:05,999 - MainThread - botocore.regions - DEBUG - Calling endpoint provider with parameters: {'Bucket': 'quota-bucket', 'Region': 'us-east-1', 'UseFIPS': False, 'UseDualStack': False, 'Endpoint': 'https://rook-ceph-rgw-openstack-store.rook-ceph.svc:8443/', 'ForcePathStyle': True, 'Accelerate': False, 'UseGlobalEndpoint': True, 'DisableAccessPoints': True, 'DisableMultiRegionAccessPoints': False, 'UseArnRegion': True, 'UseS3ExpressControlEndpoint': True} 2024-05-03 15:01:06,000 - MainThread - botocore.regions - DEBUG - Endpoint provider result: https://rook-ceph-rgw-openstack-store.rook-ceph.svc:8443/quota-bucket 2024-05-03 15:01:06,000 - MainThread - botocore.regions - DEBUG - Selecting from endpoint provider's list of auth schemes: "sigv4". User selected auth scheme is: "None" 2024-05-03 15:01:06,000 - MainThread - botocore.regions - DEBUG - Selected auth type "v4" as "v4" with signing context params: {'region': 'us-east-1', 'signing_name': 's3', 'disableDoubleEncoding': True} 2024-05-03 15:01:06,000 - MainThread - botocore.hooks - DEBUG - Event before-call.s3.CreateBucket: calling handler 2024-05-03 15:01:06,000 - MainThread - botocore.hooks - DEBUG - Event before-call.s3.CreateBucket: calling handler > 2024-05-03 15:01:06,000 - MainThread - botocore.hooks - DEBUG - Event before-call.s3.CreateBucket: calling handler 2024-05-03 15:01:06,000 - MainThread - botocore.hooks - DEBUG - Event before-call.s3.CreateBucket: calling handler 2024-05-03 15:01:06,000 - MainThread - botocore.endpoint - DEBUG - Making request for OperationModel(name=CreateBucket) with params: {'url_path': '', 'query_string': {}, 'method': 'PUT', 'headers': {'User-Agent': 'aws-cli/1.32.97 md/Botocore#1.34.97 ua/2.0 os/linux#5.4.0-125-generic md/arch#x86_64 lang/python#3.9.18 md/pyimpl#CPython cfg/retry-mode#legacy botocore/1.34.97'}, 'body': b'', 'auth_path': '/quota-bucket/', 'url': 'https://rook-ceph-rgw-openstack-store.rook-ceph.svc:8443/quota-bucket', 'context': {'client_region': 'us-east-1', 'client_config': , 'has_streaming_input': False, 'auth_type': 'v4', 's3_redirect': {'redirected': False, 'bucket': 'quota-bucket', 'params': {'Bucket': 'quota-bucket'}}, 'input_params': {'Bucket': 'quota-bucket'}, 'signing': {'region': 'us-east-1', 'signing_name': 's3', 'disableDoubleEncoding': True}, 'endpoint_properties': {'authSchemes': [{'disableDoubleEncoding': True, 'name': 'sigv4', 'signingName': 's3', 'signingRegion': 'us-east-1'}]}}} 2024-05-03 15:01:06,001 - MainThread - botocore.hooks - DEBUG - Event request-created.s3.CreateBucket: calling handler > 2024-05-03 15:01:06,001 - MainThread - botocore.hooks - DEBUG - Event choose-signer.s3.CreateBucket: calling handler > 2024-05-03 15:01:06,001 - MainThread - botocore.hooks - DEBUG - Event choose-signer.s3.CreateBucket: calling handler 2024-05-03 15:01:06,001 - MainThread - botocore.hooks - DEBUG - Event before-sign.s3.CreateBucket: calling handler 2024-05-03 15:01:06,001 - MainThread - botocore.hooks - DEBUG - Event before-sign.s3.CreateBucket: calling handler > 2024-05-03 15:01:06,001 - MainThread - botocore.auth - DEBUG - Calculating signature using v4 auth. 2024-05-03 15:01:06,001 - MainThread - botocore.auth - DEBUG - CanonicalRequest: PUT /quota-bucket host:rook-ceph-rgw-openstack-store.rook-ceph.svc:8443 x-amz-content-sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 x-amz-date:20240503T150106Z host;x-amz-content-sha256;x-amz-date e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 2024-05-03 15:01:06,001 - MainThread - botocore.auth - DEBUG - StringToSign: AWS4-HMAC-SHA256 20240503T150106Z 20240503/us-east-1/s3/aws4_request d0e70b6594968e9fc0545cb36a2d0548396e8d8dde3c4e3e5b5cf13fe227cc98 2024-05-03 15:01:06,001 - MainThread - botocore.auth - DEBUG - Signature: c508e0e21d508e806c45154f5e341cf16f9e5ed406f7a16c0171ce27f868cc38 2024-05-03 15:01:06,001 - MainThread - botocore.hooks - DEBUG - Event request-created.s3.CreateBucket: calling handler 2024-05-03 15:01:06,002 - MainThread - botocore.endpoint - DEBUG - Sending http request: 2024-05-03 15:01:06,002 - MainThread - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): rook-ceph-rgw-openstack-store.rook-ceph.svc:8443 2024-05-03 15:01:06,068 - MainThread - urllib3.connectionpool - DEBUG - https://rook-ceph-rgw-openstack-store.rook-ceph.svc:8443 "PUT /quota-bucket HTTP/1.1" 400 248 2024-05-03 15:01:06,069 - MainThread - botocore.parsers - DEBUG - Response headers: {'Content-Length': '248', 'x-amz-request-id': 'tx000004f549f743c0fcb7f-006634fc32-d524-openstack-store', 'Accept-Ranges': 'bytes', 'Content-Type': 'application/xml', 'Date': 'Fri, 03 May 2024 15:01:06 GMT', 'Connection': 'Keep-Alive'} 2024-05-03 15:01:06,069 - MainThread - botocore.parsers - DEBUG - Response body: b'TooManyBucketsquota-buckettx000004f549f743c0fcb7f-006634fc32-d524-openstack-stored524-openstack-store-openstack-store' 2024-05-03 15:01:06,072 - MainThread - botocore.hooks - DEBUG - Event needs-retry.s3.CreateBucket: calling handler 2024-05-03 15:01:06,072 - MainThread - botocore.retryhandler - DEBUG - No retry needed. 2024-05-03 15:01:06,072 - MainThread - botocore.hooks - DEBUG - Event needs-retry.s3.CreateBucket: calling handler > 2024-05-03 15:01:06,072 - MainThread - botocore.hooks - DEBUG - Event after-call.s3.CreateBucket: calling handler 2024-05-03 15:01:06,072 - MainThread - awscli.clidriver - DEBUG - Exception caught in main() Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/awscli/clidriver.py", line 217, in main return command_table[parsed_args.command](remaining, parsed_args) File "/usr/local/lib/python3.9/site-packages/awscli/clidriver.py", line 361, in __call__ return command_table[parsed_args.operation](remaining, parsed_globals) File "/usr/local/lib/python3.9/site-packages/awscli/clidriver.py", line 530, in __call__ return self._operation_caller.invoke( File "/usr/local/lib/python3.9/site-packages/awscli/clidriver.py", line 652, in invoke response = self._make_client_call( File "/usr/local/lib/python3.9/site-packages/awscli/clidriver.py", line 664, in _make_client_call response = getattr(client, xform_name(operation_name))( File "/usr/local/lib/python3.9/site-packages/botocore/client.py", line 565, in _api_call return self._make_api_call(operation_name, kwargs) File "/usr/local/lib/python3.9/site-packages/botocore/client.py", line 1021, in _make_api_call raise error_class(parsed_response, operation_name) botocore.exceptions.ClientError: An error occurred (TooManyBuckets) when calling the CreateBucket operation: Unknown 2024-05-03 15:01:06,073 - MainThread - awscli.clidriver - DEBUG - Exiting with rc 255 An error occurred (TooManyBuckets) when calling the CreateBucket operation: Unknown