Description of problem: During Tempest run, tempest.api.object_storage.test_object_services.ObjectTest.test_create_object_with_transfer_encoding fails with error: ... Response - Headers: {'content-type': 'text/plain', 'content-length': '78', 'x-trans-id': 'tx254375a31aa74e0fb0324-0063eef5cc', 'x-openstack-request-id': 'tx254375a31aa74e0fb0324-0063eef5cc', 'date': 'Fri, 17 Feb 2023 03:34:36 GMT', 'connection': 'close', 'status': '501', 'content-location': 'http://10.0.0.138:8080/v1/AUTH_aca6d604b53e46f1b2861f493c076c70/tempest-TestContainer-870338229/tempest-TestObject-897321110'} Body: b'Unsupported Transfer-Coding header value specified in Transfer-Encoding header' }}} Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/tempest/api/object_storage/test_object_services.py", line 190, in test_create_object_with_transfer_encoding resp, _ = self.object_client.create_object( File "/usr/lib/python3.9/site-packages/tempest/lib/services/object_storage/object_client.py", line 51, in create_object resp, body = self.put(url, data, headers, chunked=chunked) File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 363, in put return self.request('PUT', url, extra_headers, headers, body, chunked) File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 893, in _error_checker raise exceptions.NotImplemented(resp_body, resp=resp, tempest.lib.exceptions.NotImplemented: Got NotImplemented error Details: b'Unsupported Transfer-Coding header value specified in Transfer-Encoding header' Version-Release number of selected component (if applicable): OSP17.1 Additional info: * likely related to already reported issue: https://bugs.launchpad.net/tripleo/+bug/1982874 ** possible solutions seem to be urllib bump and/or openstack-tempest fix?
uc $ python -m testtools.run tempest.api.object_storage.test_object_services.ObjectTest.test_create_object_with_transfer_encoding RHOS-17.1-RHEL-9-20230301.n.1, 32.0.0-1.20221003160712.bc12bd4.el9ost: FAIL RHOS-17.1-RHEL-9-20230301.n.1, 33.0.0-1.20230308130919.1580f6f.el9ost manually installed on top of^: PASS Fix verified. To be unskipped in CI asap.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2023:4577