RHV: How to manually upgrade RHEL 8 Host to 8.3
Environment
- Red Hat Virtualization 4.4.2
- Red Hat Enterprise Linux Host 8.2
Issue
- How to upgrade RHEL 8.2 Host to RHEL 8.3 Host
Resolution
- Note the recommended way of upgrading is via the Administration Portal, please see Upgrade Guide -
Updating Individual Hosts. Manual upgrades lack additional operations done by RHV-M and may produce problems.
Enable the 8.3 Stream for Advanced Virtualization, and then upgrade manually:
- Ensure the correct repositories are enabled. You can check which repositories are currently enabled by running dnf repolist.
# subscription-manager repos \
--enable=rhel-8-for-x86_64-baseos-rpms \
--enable=rhel-8-for-x86_64-appstream-rpms \
--enable=rhv-4-mgmt-agent-for-rhel-8-x86_64-rpms \
--enable=ansible-2.9-for-rhel-8-x86_64-rpms \
--enable=advanced-virt-for-rhel-8-x86_64-rpms \
--enable=fast-datapath-for-rhel-8-x86_64-rpms
- In the Administration Portal, click Compute → Hosts and select the host to be updated.
- Click Management → Maintenance.
- Update the host:
# dnf module reset virt -y; dnf module enable virt:8.3 -y
# dnf upgrade
- Reboot the host to ensure all updates are correctly applied.
Root Cause
- The documentation does not contain steps about the switch of the Advanced Virtualization Stream to 8.3
- The documentation update is being tracked in This content is not included.Bug 1886721 - "Manually Updating Hosts" document is not working for updating RHEL-AV.
Diagnostic Steps
The Advanced Virt module is still set to the 8.2 Stream
$ dnf module list virt
Advanced Virtualization for RHEL 8 x86_64 (RPMs)
Name Stream Profiles Summary
virt 8.0 common Virtualization module
virt 8.0.0 common Virtualization module
virt 8.1 common Virtualization module
virt 8.2 [e] common Virtualization module
virt 8.3 common Virtualization module
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
Name Stream Profiles Summary
virt rhel [d] common [d] Virtualization module
SBR
Product(s)
Category
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.