Translated message

A translation of this page exists in English.

使用 rhui-manager migrate 命令从 RHUI3 到 RHUI4 的一些配置迁移任务会失败。

Solution In Progress - Updated -

Issue

使用 rhui-manager migrate 命令从 RHUI3 到 RHUI4 的一些配置迁移任务会失败。

第 1 章. 迁移 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] *************************************************************************************
fatal: [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_loginn    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 getn    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": []}

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