Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1886721

Summary: "Manually Updating Hosts" document is not working for updating RHEL-AV
Product: Red Hat Enterprise Virtualization Manager Reporter: chhu
Component: DocumentationAssignee: rhev-docs <rhev-docs>
Status: CLOSED CURRENTRELEASE QA Contact: rhev-docs <rhev-docs>
Severity: high Docs Contact:
Priority: high    
Version: 4.4.2CC: aspauldi, dyuan, gveitmic, jgao, lizhu, lmen, lmiksik, lsurette, mhicks, mkalinin, sgoodman, srevivo, yalzhang
Target Milestone: ---Keywords: Documentation
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: libvirt_RHV_INT
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-12 15:22:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Docs RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description chhu 2020-10-09 08:28:09 UTC
Steps in "Manually Updating Hosts" document is not working for updating RHEL-AV:
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html/upgrade_guide/manually_updating_hosts_minor_updates

RHV 4.4.2 is with RHEL-AV 8.2.1.
For updating hosts manually for RHEL-AV(E.g. update to RHEL-AV 8.3.0), 
following steps are needed:
1. Ensure the correct repositories are enabled. You can check which repositories are currently enabled by running dnf repolist.
# subscription-manager repos --enable=rhvh-4-for-rhel-8-x86_64-rpms
# subscription-manager repos \
    --enable=rhel-8-for-x86_64-baseos-rpms \
    --enable=rhel-8-for-x86_64-appstream-rpms \
    ......
    --enable=advanced-virt-for-rhel-8-x86_64-rpms \
    ......
2. In the Administration Portal, click Compute → Hosts and select the host to be updated.
3. Click Management → Maintenance.

4. Update the host: 
# dnf module reset virt -y; dnf module enable virt:8.3 -y
# dnf upgrade

5. Reboot the host to ensure all updates are correctly applied. 

More details:
-------------------------------------------------------------------
1. Prepare RHEL-AV 8.2.1 env
# yum module list
Name                 Stream       Profiles                Summary                                                     
virt                 8.2 [e]      common [d] [i]          Virtualization module
...
2. Enable RHEL-AV 8.3.0 repo
# yum module list
Name                 Stream       Profiles                Summary                                                     
virt                 8.3          common [d]              Virtualization module
...
3. Run `dnf upgrade`, no RHEL-AV 8.3.0 libvirt, qemu-kvm packages are listed.
4. Run `dnf module reset virt -y; dnf module enable virt:8.3 -y`
# yum module list
Name                 Stream       Profiles                Summary                                                     
virt                 8.3 [e]      common [d]              Virtualization module
5. Run `dnf upgrade`, libvirt, qemu-kvm can be upgraded to RHEL-AV 8.3.0 packages.
# dnf upgrade

Comment 1 Germano Veit Michel 2020-10-12 00:29:16 UTC
The installation docs [1] also say to enable AV and gives an example with 8.2. The instructions are clear but I'm afraid some customers may make a mistake and enable 8.2 instead of adjusting and enable 8.3.

If we are updating the docs, maybe also update the example?
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html/installing_red_hat_virtualization_as_a_self-hosted_engine_using_the_command_line/installing_the_self-hosted_engine_deployment_host_she_cli_deploy#Enabling_the_Red_Hat_Enterprise_Linux_Host_Repositories_SHE_deployment_host

Comment 5 Marina Kalinin 2020-11-11 22:07:52 UTC
I suspect this bug is a duplicate of this: bz#1888620.

Comment 6 Steve Goodman 2020-11-12 15:22:04 UTC
(In reply to Marina Kalinin from comment #5)
> I suspect this bug is a duplicate of this: bz#1888620.

Yes, see: https://gitlab.cee.redhat.com/rhci-documentation/docs-Red_Hat_Enterprise_Virtualization/-/merge_requests/1841

*** This bug has been marked as a duplicate of bug 1888620 ***

Comment 7 Audrey Spaulding 2020-11-12 19:34:18 UTC
@mkalinin, Steve has closed this as a duplicate. Please let me know if you need additional information, and thanks.