Bug 2148354

Summary: periodic-tripleo-ci-rhel-9-ovb-3ctlr_1comp-featureset035-internal-rhos-17.1 failing consistently with set of keystone_tempest_plugin tests with error "Unexpected content type provided"
Product: Red Hat OpenStack Reporter: pojadhav
Component: python-oauthlibAssignee: Chandan Kumar <chkumar>
Status: CLOSED NEXTRELEASE QA Contact: Martin Kopec <mkopec>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 17.1 (Wallaby)CC: apevec, dsmigiel, jschluet, lhh, slinaber, svyas, udesale
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: python-oauthlib-3.1.1-5.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-17 10:24:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2133805    
Bug Blocks:    

Description pojadhav 2022-11-25 07:23:30 UTC
Description of problem:

periodic-tripleo-ci-rhel-9-ovb-3ctlr_1comp-featureset035-internal-rhos-17.1 failing consistently with set of tempest tests with below traceback :

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/keystone_tempest_plugin/tests/api/identity/v3/test_oauth1_tokens.py", line 145, in test_authorize_request_token
    request_token = self._create_request_token(consumer)
  File "/usr/lib/python3.9/site-packages/keystone_tempest_plugin/tests/api/identity/v3/test_oauth1_tokens.py", line 41, in _create_request_token
    request_token = self.oauth_token_client.create_request_token(
  File "/usr/lib/python3.9/site-packages/tempest/lib/services/identity/v3/oauth_token_client.py", line 130, in create_request_token
    resp, body = self.post(endpoint,
  File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 299, in post
    return self.request('POST', 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 810, in _error_checker
    raise exceptions.UnexpectedContentType(str(resp.status),
tempest.lib.exceptions.UnexpectedContentType: Unexpected content type provided
Details: 500

Comment 4 Martin Kopec 2022-11-25 09:20:42 UTC
The job where the failure occurred uses python3-oauthlib-3.1.1-2.el9.noarch which needs to be updated to a newer version per https://bugzilla.redhat.com/show_bug.cgi?id=2133805