rhui-manager command fails with 'pulpcore.client.pulpcore.exceptions.ApiException: (500)'

Solution In Progress - Updated -

Issue

  • Executing the rhui-manager command causes the following error message:
# rhui-manager
Traceback (most recent call last):
  File "/bin/rhui-manager", line 11, in <module>
    load_entry_point('rhui-tools==4.6.0', 'console_scripts', 'rhui-manager')()
  File "/usr/lib/python3.6/site-packages/rhui/tools/launcher.py", line 312, in main
    pulp_api = _pulp_api(config, prompt, values.username, values.password, values.logout)
  File "/usr/lib/python3.6/site-packages/rhui/tools/launcher.py", line 136, in _pulp_api
    pulp_api.ping()
  File "/usr/lib/python3.6/site-packages/rhui/tools/pulp_api.py", line 211, in ping
    self.status_api.status_read()
  File "/usr/lib/python3.6/site-packages/pulpcore/client/pulpcore/api/status_api.py", line 62, in status_read
    return self.status_read_with_http_info( **kwargs)  # noqa: E501
  File "/usr/lib/python3.6/site-packages/pulpcore/client/pulpcore/api/status_api.py", line 143, in status_read_with_http_info
    collection_formats=collection_formats)
  File "/usr/lib/python3.6/site-packages/pulpcore/client/pulpcore/api_client.py", line 370, in call_api
    _preload_content, _request_timeout, _host)
  File "/usr/lib/python3.6/site-packages/pulpcore/client/pulpcore/api_client.py", line 189, in __call_api
    raise e
  File "/usr/lib/python3.6/site-packages/pulpcore/client/pulpcore/api_client.py", line 186, in __call_api
    _request_timeout=_request_timeout)
  File "/usr/lib/python3.6/site-packages/pulpcore/client/pulpcore/api_client.py", line 394, in request
    headers=headers)
  File "/usr/lib/python3.6/site-packages/pulpcore/client/pulpcore/rest.py", line 235, in GET
    query_params=query_params)
  File "/usr/lib/python3.6/site-packages/pulpcore/client/pulpcore/rest.py", line 225, in request
    raise ApiException(http_resp=r)
pulpcore.client.pulpcore.exceptions.ApiException: (500)
Reason: Internal Server Error
HTTP response headers: HTTPHeaderDict({'Server': 'gunicorn', 'Date': 'Thu, 07 Dec 2023 05:02:59 GMT', 'Connection': 'close', 'Content-Type': 'text/html; charset=utf-8', 'X-Frame-Options': 'DENY', 'Content-Length': '145', 'Vary': 'Cookie', 'X-Content-Type-Options': 'nosniff', 'Referrer-Policy': 'same-origin', 'Cross-Origin-Opener-Policy': 'same-origin', 'Correlation-ID': '93d043692eb5460e8c2b667ff58f8036', 'Access-Control-Expose-Headers': 'Correlation-ID'})
HTTP response body:
<!doctype html>
<html lang="en">
<head>
  <title>Server Error (500)</title>
</head>
<body>
  <h1>Server Error (500)</h1><p></p>
</body>
</html>

Environment

  • RHUI 4.6 and later

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content