After building RHUI4 and executing '1.3. Migrating client RPMs from RHUI 3 to RHUI 4', operation with rhui-manager gives an error.

Solution Verified - Updated -

Issue

After building RHUI4 and executing '1.3. Migrating client RPMs from RHUI 3 to RHUI 4', operation with rhui-manager gives an error.

1.3. Migrating client RPMs from RHUI 3 to RHUI 4

# rhui-installer --remote-fs-server rhui4-storage.exmaple.com:/export --rhua-hostname rhui4-rhua.exmaple.com --cds-lb-hostname rhui4-haproxy.exmaple.com --user-supplied-ca-crt /root/rhui3/ca-certs/rhui-default-ca.crt --user-supplied-ca-key /root/rhui3/ca-certs/rhui-default-ca.key --rerun
rhui-manager (repo list)
----
rhui (repo) => l

An unexpected error has occurred during the last operation.
More information can be found in /root/.rhui/rhui.log.
----

/root/.rhui/rhui.log
----
2022-07-26 16:40:02,690 - Unexpected error caught at the shell level
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/rhui/tools/cli.py", line 76, in run
    Cli.run(self, args)
  File "/usr/lib/python3.6/site-packages/rhui/common/cli.py", line 266, in run
    command_or_section.execute(remaining_args)
  File "/usr/lib/python3.6/site-packages/rhui/common/cli.py", line 113, in execute
    self.method(**arg_dict)
  File "/usr/lib/python3.6/site-packages/rhui/tools/commands/repo.py", line 409, in sync_all
    repos = self.pulp.repos_with_sync_status(name__contains=TASK_SYNC_SUBSTRING)
  File "/usr/lib/python3.6/site-packages/rhui/tools/pulp_api.py", line 734, in repos_with_sync_status
    repo_list.extend(self.repo_container_list())
  File "/usr/lib/python3.6/site-packages/rhui/tools/pulp_api.py", line 378, in repo_container_list
    return self._repo_plugin_list(REPO_TYPE_CONTAINER, self.repos_container_api)
  File "/usr/lib/python3.6/site-packages/rhui/tools/pulp_api.py", line 395, in _repo_plugin_list
    for repo in repo_iter:
  File "/usr/lib/python3.6/site-packages/rhui/tools/pulp_api.py", line 1444, in _paged_call_iterator
    results = api.list(offset=offset, limit=limit, **kwargs).results
  File "/usr/lib/python3.6/site-packages/pulpcore/client/pulp_container/api/repositories_container_api.py", line 824, in list
    return self.list_with_http_info(**kwargs)  # noqa: E501
  File "/usr/lib/python3.6/site-packages/pulpcore/client/pulp_container/api/repositories_container_api.py", line 950, in list_with_http_info
    collection_formats=collection_formats)
  File "/usr/lib/python3.6/site-packages/pulpcore/client/pulp_container/api_client.py", line 370, in call_api
    _preload_content, _request_timeout, _host)
  File "/usr/lib/python3.6/site-packages/pulpcore/client/pulp_container/api_client.py", line 189, in __call_api
    raise e
  File "/usr/lib/python3.6/site-packages/pulpcore/client/pulp_container/api_client.py", line 186, in __call_api
    _request_timeout=_request_timeout)
  File "/usr/lib/python3.6/site-packages/pulpcore/client/pulp_container/api_client.py", line 394, in request
    headers=headers)
  File "/usr/lib/python3.6/site-packages/pulpcore/client/pulp_container/rest.py", line 235, in GET
    query_params=query_params)
  File "/usr/lib/python3.6/site-packages/pulpcore/client/pulp_container/rest.py", line 225, in request
    raise ApiException(http_resp=r)
pulpcore.client.pulp_container.exceptions.ApiException: (404)
Reason: Not Found
HTTP response headers: HTTPHeaderDict({'Server': 'gunicorn', 'Date': 'Tue, 26 Jul 2022 07:40:02 GMT', 'Connection': 'close', 'Content-Type': 'text/html', 'X-Frame-Options': 'DENY', 'Content-Length': '179', 'X-Content-Type-Options': 'nosniff', 'Referrer-Policy': 'same-origin', 'Correlation-ID': 'fcff437d30394bc5b5843d976242dbcb', 'Access-Control-Expose-Headers': 'Correlation-ID'})
HTTP response body:
<!doctype html>
<html lang="en">
<head>
  <title>Not Found</title>
</head>
<body>
`  <h1>Not Found</h1><p>The requested resource was not found on this server.</p>`
</body>
</html>

Environment

Red Hat Update Infrastructure 4.x

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