이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 8. 4.5 Release Notes


8.1. New Features

This following major enhancements have been introduced in Red Hat Update Infrastructure 4.5.

yum plugins are no longer automatically enabled
With this update, the client configuration RPMs in rhui-manager prevent subscription manager from automatically enabling yum plugins. As a result, RHUI repository users will no longer see irrelevant messages from subscription manager.
RHUI repository status files are now machine-readable

With this update, you can generate machine-readable files with the status of each RHUI repository. To use this feature, run the following command:

rhui-manager --non-interactive status --repo_json <output file>
Exit codes are now available with rhui-manager

With this update, the rhui-manager CLI command uses a variety of unique exit codes to indicate different types of errors. For example, if you attempt to add a Red Hat repository that has already been added, the command will exit with a status of 245. However, if you attempt to add a Red Hat repository that does not exist in the RHUI entitlement, the command will exit with a status of 246.

For a complete list of codes, see the /usr/lib/python3.6/site-packages/rhui/common/rhui_exit_codes.py file.

8.2. Bug Fixes

The following bugs have been fixed in Red Hat Update Infrastructure 4.5 that have a significant impact on users.

Using a cron job to run rhui-manager no longer generates a login name error message
Previously, the rhui-manager command used the logname command to obtain the login name. However, when rhui-manager is run using the rhui-repo-sync cron job, a login name is not defined. Consequently, emails sent by the cron job contained the error message logname: no login name. With this update, rhui-manager does not obtain the login name using the logname command and the error message is no longer generated.
rhui-manager no longer logs a traceback when an invalid repository ID is used

Previously, when an invalid repository ID was used with the rhui-manager command to synchronize or delete a repository, the command failed with following error:

An unexpected error has occurred during the last operation.

Additionally, a traceback was also logged.

With this update, the error message has been improved and failure to run no longer logs a traceback.

8.3. Known Issues

This part describes known issues in Red Hat Update Infrastructure 4.5.

Upgrading to RHUI 4.5 fails due to active logins

Currently, when you try to upgrade RHUI instances that were deployed before RHEL 8.6, which run Ansible Engine rather than Ansible Core, the installer fails with the following error:

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"}

To work around this problem, remove the current active logins using the rhui-manager --logout command and then run the rhui-installer --rerun command again.

Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

© 2024 Red Hat, Inc.