How to set a specific release version on Red Hat Update Infrastructure (RHUI) running on Red Hat Cloud Partners providers?
環境
- Red Hat Enterprise Linux
- Red Hat Update Infrastructure at AWS
- Red Hat Update Infrastructure at Azure
問題
- How to set a specific RHEL release version on Red Hat Update Infrastructure (RHUI) running on Red Hat Cloud Partners providers?
- How to set RHEL minor releases on Red Hat Update Infrastructure (RHUI) running at AWS/Azure?
- How to lock Pay-As-You-Go AWS VMs to a specific RHEL version?
-
When setting an RHEL minor release on a system registered to the RHUI at AWS, the error below is displayed:
# yum --releasever=7.2 update Loaded plugins: amazon-id, rhui-lb, search-disabled-repos https://cds.example.com/pulp/repos//content/dist/rhel/rhui/server/7/7.2/x86_64/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found Trying other mirror.
解決策
-
On RHEL7, Enforce the
releaseveron the client by executing the command below:# echo 7.2 > /etc/yum/vars/releasever -
On RHEL8, RHEL9 the file path is
/etc/dnf/vars/releasever -
Once it is set, then check if the repository is available to your client:
# yum clean all # yum repolist -v -
For RHEL 8, only minor versions 8.2, 8.4, 8.6, 8.8, 8.9, and 8.10 are available for AWS RHUI. These minor releases are available to facilitate Leapp upgrade from RHEL 7 to RHEL 8.
-
For RHEL 9, only minor versions 9.0, 9.2, and later minor versions are available for AWS RHUI. These minor releases are available to facilitate Leapp upgrade from RHEL 8 to RHEL 9.
- See Supported in-place upgrade paths for Red Hat Enterprise Linux for more information about Leapp upgrades.
-
EUS minor version repositories are also available on AWS RHUI for hourly Pay-As-You-Go instances. More information on using EUS repositories with AWS RHUI can be found here.
-
If you still hit the
404error, please contact the Red Hat Support team.
このソリューションは、Red Hat のエンジニアがお客様のサポート中に作成したナレッジコンテンツの大型ライブラリーを提供する Fast-Track Publication Program の一環です。お客様が必要とする知識・情報を即時に提供するために、これらの記事は、未処理・未編集の状態で提示される場合がありますので、予めご了承ください。
コメント