8.3. 已知问题
这部分论述了 Red Hat Update Infrastructure 4.5 中已知的问题。
- 因为活跃的登录,升级到 RHUI 4.5 会失败
目前,当您试图升级在 RHEL 8.6 之前部署的 RHUI 实例时,运行 Ansible Engine 而不是 Ansible Core 时,安装程序会失败并显示以下错误:
RUNNING HANDLER [Delete the active login session file] *********************************************************************** [DEPRECATION WARNING]: evaluating 'rhui_active_login_file' as a bare variable, this behaviour will go away and you might need to add |bool to the expression in the future. Also see CONDITIONAL_BARE_VARS configuration toggle. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. fatal: [localhost]: FAILED! => {"msg": "The conditional check 'rhui_active_login_file' failed. The error was: template error while templating string: unexpected '/'. String: {% if /root/.rhui/http-localhost:24817 %} True {% else %} False {% endif %}\n\nThe error appears to be in '/usr/share/rhui-installer/playbooks/rhua-provision.yml': line 76, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Delete the active login session file\n ^ here\n"}
要临时解决这个问题,请使用
rhui-manager --logout
命令删除当前活跃的登录,然后再次运行rhui-installer --rerun
命令。