Skip to content

S3 Tests fail to run on ceph cluster #719

@Squid1990

Description

@Squid1990

I tried to run this set of tests against a reef (and a quincy) ceph cluster and recieved the below error:

S3TEST_CONF=s3tests.conf tox -- s3tests_boto3/functional/test_s3.py::test_bucket_list_empty
.pkg: _optional_hooks> python /usr/lib/python3/dist-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__                                     
.pkg: get_requires_for_build_sdist> python /usr/lib/python3/dist-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 

-- SNIP --

        if http.status_code >= 300:
            error_code = parsed_response.get("Error", {}).get("Code")
            error_class = self.exceptions.from_code(error_code)
>           raise error_class(parsed_response, operation_name)
E           botocore.exceptions.ClientError: An error occurred (SignatureDoesNotMatch) when calling the ListBuckets operation: None

.tox/py/lib/python3.12/site-packages/botocore/client.py:938: ClientError
--------------------------------------------------------------------- Captured stdout setup ---------------------------------------------------------------------
Done with cleanup of buckets in tests.
Done with cleanup of buckets in tests.

I have verified the credentials supplied to the test suite with both s3cmd and by using boto in a python shell, and both of these work. I anticipated that perhaps I was running into boto/boto3#4400 and so I disabled the checksums by setting env vars in tox.ini however the issue was not resolved. I tried both the ceph-reef and master branches of this project with the same result. This looks like a bug but perhaps I set something up incorrectly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions