Some configuration migration tasks from RHUI3 to RHUI4 with rhui-manager migrate command fail.

Solution In Progress - Updated -

Issue

Some configuration migration tasks from RHUI3 to RHUI4 with rhui-manager migrate command fail.

Chapter 1. Migrating Red Hat Update Infrastructure

# rhui-manager migrate --remote_system_user root --hostname xx.xx.xx.xx --password *** --keyfile_path /root/.ssh/id_rsa_rhua --force

<snip>
TASK [Execute migrate_custom_repos.py script on RHUI3] *************************************************************************************
[0;31mfatal: [xx.xx.xx.xx]: FAILED! => {"changed": true, "cmd": "/root/.rhui/migration/migrate_custom_repos.py --username *** --password ***", "delta": "0:00:00.153658", "end": "2022-12-01 14:32:16.813816", "msg": "non-zero return code", "rc": 1, "start": "2022-12-01 14:32:16.660158", "stderr": "Traceback (most recent call last):\n  File \"/root/.rhui/migration/migrate_custom_repos.py\", line 164, in <module>\n    repos = RepoData()\n  File \"/root/.rhui/migration/migrate_custom_repos.py\", line 27, in __init__\n    self.pulp = self.pulp_login(self.config, username, password)\n  File \"/root/.rhui/migration/migrate_custom_repos.py\", line 56, in pulp_login\n    pulp_ca_path = config.get('security', 'ssl_ca_crt')\n  File \"/usr/lib/python2.7/site-packages/rhui/tools/file_utils.py\", line 61, in get\n    raise RhuiException(error_codes.RHUI0018, section=section, config_key=option)\nrhui.common.exceptions.RhuiException: The configuration value found in [security] ssl_ca_crt is not valid.", "stderr_lines": ["Traceback (most recent call last):", "  File \"/root/.rhui/migration/migrate_custom_repos.py\", line 164, in <module>", "    repos = RepoData()", "  File \"/root/.rhui/migration/migrate_custom_repos.py\", line 27, in __init__", "    self.pulp = self.pulp_login(self.config, username, password)", "  File \"/root/.rhui/migration/migrate_custom_repos.py\", line 56, in pulp_login", "    pulp_ca_path = config.get('security', 'ssl_ca_crt')", "  File \"/usr/lib/python2.7/site-packages/rhui/tools/file_utils.py\", line 61, in get", "    raise RhuiException(error_codes.RHUI0018, section=section, config_key=option)", "rhui.common.exceptions.RhuiException: The configuration value found in [security] ssl_ca_crt is not valid."], "stdout": "", "stdout_lines": []}[0m

NO MORE HOSTS LEFT *************************************************************************************************************************
<snip>

Environment

Red Hat Update Infrastructure 3.x
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