Bug 1832711 - [Docs] [Install] RHV 4.4 beta Installation Guide missing repos
Summary: [Docs] [Install] RHV 4.4 beta Installation Guide missing repos
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: Documentation
Version: 4.4.0
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ovirt-4.4.0
: 4.4.0
Assignee: Steve Goodman
QA Contact: rhev-docs@redhat.com
URL:
Whiteboard:
: 1812029 1833023 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-07 07:12 UTC by Steve Goodman
Modified: 2020-06-16 12:20 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-14 17:15:47 UTC
oVirt Team: Integration
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Steve Goodman 2020-05-07 07:12:19 UTC
From Ahmed El-Rayess via chat (summarized):

1. Missing repo is fast-datapath-for-rhel-8-x86_64-rpms
2. The rhv-4-mgmt-agent-for-rhel-8-x86_64-rpms needs to be rhv-4-mgmt-agent-beta-for-rhel-8-x86_64-rpms you are missing the beta part
3. Setting the correct stream for virt was an issue as well as it defaults to the virt:rhel/common one, you needed to disable that stream and enable the virt:8.2/common.
The first one is coming from Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs), while the required stream is from Advanced Virtualization for RHEL 8 x86_64 (RPMs)


I followed this document:
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4-beta/html-single/installing_red_hat_virtualization_as_a_self-hosted_engine_using_the_cockpit_web_interface/index#Installing_Red_Hat_Enterprise_Linux_Hosts_SHE_deployment_host

and this is the list of repos it requested
subscription-manager repos \
    --disable='*' \
    --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

Comment 1 Steve Goodman 2020-05-07 07:16:26 UTC
Didi, I don't understand this comment, can you help me address it?

>3. Setting the correct stream for virt was an issue as well as it defaults to the virt:rhel/common one, you needed to disable that stream and enable the virt:8.2/common.
The first one is coming from Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs), while the required stream is from Advanced Virtualization for RHEL 8 x86_64 (RPMs)

Comment 2 Michal Skrivanek 2020-05-07 07:37:52 UTC
3 - shouldn't cause any issue really as host deploy sets the right virt module stream. But we should include a warning that until advanced-virt-for-rhel-8-x86_64-rpms is enabled any installation of virt package will enable the wrong virt:rhel stream.

Comment 3 Steve Goodman 2020-05-07 07:43:31 UTC
(In reply to Michal Skrivanek from comment #2)
> 3 - shouldn't cause any issue really as host deploy sets the right virt
> module stream. But we should include a warning that until
> advanced-virt-for-rhel-8-x86_64-rpms is enabled any installation of virt
> package will enable the wrong virt:rhel stream.

What do you mean by "enabled"? I mean, this is what we say to do:

subscription-manager repos \
    --disable='*' \
    --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

So it appears that advanced-virt-for-rhel-8-x86_64-rpms was already enabled.

Comment 4 Steve Goodman 2020-05-07 08:26:12 UTC
Please see if this addresses the issues.

It's not clear to me yet if the third issue is really an issue I need to address or not.

https://gitlab.cee.redhat.com/rhci-documentation/docs-Red_Hat_Enterprise_Virtualization/merge_requests/1645

Comment 5 Martin Tessun 2020-05-07 09:11:05 UTC
(In reply to Steve Goodman from comment #4)
> Please see if this addresses the issues.
> 
> It's not clear to me yet if the third issue is really an issue I need to
> address or not.

You probably need, but you can point to RHEL module documentation on how to switch a stream. Ideally virt:rhel is not even enabled, so you "just" need to enable virt:8.2 stream - but you should check.

So the process should be:
1. Check if virt is enabled:
# yum module list virt

This should produce an output similar to this:
RHEL8 latest devel compose AppStream
Name                              Stream                                Profiles                               Summary                                          
virt                              rhel [d]                              common [d]                             Virtualization module                            

RHEL 8 latest devel compose Advanced Virtualization
Name                              Stream                                Profiles                               Summary                                          
virt                              8.2 [e]                               common                                 Virtualization module                            

Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled

IN case virt:rhel is enabled (has an [e] behind the Stream) you need to do the following:

2a. # yum module disable virt:rhel
2b. # yum module enable virt:8.2
2c. # yum distro-sync

In case virt:rhel is not enabled, it is simpler:

3. # yum enable virt:8.2

> 
> https://gitlab.cee.redhat.com/rhci-documentation/docs-
> Red_Hat_Enterprise_Virtualization/merge_requests/1645

Comment 6 Steve Goodman 2020-05-07 13:32:32 UTC
Martin,

Where in the installation process should this take place? Before/after rebooting the machine? Immediately after enabling the repos?

Why is this step necessary for 4.4 when it wasn't necessary before now?

Comment 7 Steve Goodman 2020-05-07 13:37:03 UTC
Ahmed, Can you describe what you did and when you saw the message about the virt:rhel/common stream being enabled instead of virt:8.2/common?

See Martin's messaging in comment 5. Where in the guide would that info have been helpful to you?

Comment 8 Ryan Barry 2020-05-07 13:37:32 UTC
EL8 has different repos and streams, so it's needed for 4.4

This should happen before installing any packages.

Comment 9 Steve Goodman 2020-05-07 13:44:51 UTC
So if you look at the link in comment 0, switching to the virt:8.2/common stream should be step 5 (after enabling repos, before running "yum update")?

Comment 10 Ryan Barry 2020-05-07 13:46:28 UTC
Right

Comment 11 Steve Goodman 2020-05-07 17:11:11 UTC
Martin,

You wrote:

> In case virt:rhel is not enabled, it is simpler:

> 3. # yum enable virt:8.2

But in the example you gave, it appears that 8.2 is already enabled:

RHEL 8 latest devel compose Advanced Virtualization
Name       Stream          Profiles            Summary                                         
virt       8.2 [e]         common              Virtualization module

?

Comment 12 Steve Goodman 2020-05-07 17:28:52 UTC
(In reply to Ryan Barry from comment #8)
> EL8 has different repos and streams, so it's needed for 4.4

Does this apply to the hosts (including the host for the hosted engine), and also a standalone engine machine?

Comment 13 Ryan Barry 2020-05-07 17:56:53 UTC
(In reply to Steve Goodman from comment #12)
> (In reply to Ryan Barry from comment #8)
> > EL8 has different repos and streams, so it's needed for 4.4
> 
> Does this apply to the hosts (including the host for the hosted engine), and
> also a standalone engine machine?

HE is the only recommended use case at this point. But yes, all hosts. Sandro, Martin, are we doing to handle this downstream? ovirt-host-deploy? ovirt-host? Or manual intervention?

Comment 15 Steffen Froemer 2020-05-07 18:09:08 UTC
For a RHEL-8.2 based engine installation, following steps need to be done, to be able to install the rhvm package.

# subscription-manager repos \
  --disable=* \
  --enable=rhel-8-for-x86_64-baseos-rpms \
  --enable=rhel-8-for-x86_64-appstream-rpms \
  --enable=rhv-4-manager-beta-for-rhel-8-x86_64-rpms \
  --enable=fast-datapath-for-rhel-8-x86_64-rpms \
  --enable=ansible-2.9-for-rhel-8-x86_64-rpms \
  --enable=codeready-builder-for-rhel-8-x86_64-rpms \
  --enable=jb-eap-7.3-for-rhel-8-x86_64-rpms


# yum module enable pki-deps postgresql:12 javapackages-tools

Comment 16 Ahmed El-Rayess 2020-05-07 22:32:26 UTC
What I did was installed RHEL 8.2 minimum, do the server registration and attach to the correct pool then:

# subscription-manager repos \
    --disable='*' \
    --enable=rhel-8-for-x86_64-baseos-rpms \
    --enable=rhel-8-for-x86_64-appstream-rpms \
    --enable=rhv-4-mgmt-agent-beta-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

# yum update -y

# yum install cockpit-ovirt-dashboard
Updating Subscription Management repositories.
Last metadata expiration check: 0:04:24 ago on Fri 08 May 2020 05:59:58 AM +04.
Error: 
 Problem: package cockpit-ovirt-dashboard-0.14.5-1.el8ev.noarch requires ovirt-hosted-engine-setup >= 2.4.4, but none of the providers can be installed
  - package ovirt-hosted-engine-setup-2.4.4-1.el8ev.noarch requires qemu-img >= 15:3.1.0-20.module+el8+2888+cdc893a8, but none of the providers can be installed
  - conflicting requests
  - package qemu-img-15:3.1.0-20.module+el8+2888+cdc893a8.x86_64 is filtered out by modular filtering
  - package qemu-img-15:3.1.0-30.module+el8.0.1+3755+6782b0ed.x86_64 is filtered out by modular filtering
  - package qemu-img-15:4.1.0-13.module+el8.1.0+4313+ef76ec61.x86_64 is filtered out by modular filtering
  - package qemu-img-15:4.1.0-14.module+el8.1.0+4548+ed1300f4.x86_64 is filtered out by modular filtering
  - package qemu-img-15:4.1.0-23.module+el8.1.1+5467+ba2d821b.x86_64 is filtered out by modular filtering
  - package qemu-img-15:4.1.0-14.module+el8.1.0+4754+8d38b36b.x86_64 is filtered out by modular filtering
  - package qemu-img-15:4.1.0-14.module+el8.1.0+5346+c31201bb.1.x86_64 is filtered out by modular filtering
  - package qemu-img-15:4.1.0-23.module+el8.1.1+5748+5fcc84a8.1.x86_64 is filtered out by modular filtering
  - package qemu-img-15:4.1.0-23.module+el8.1.1+5938+f5e53076.2.x86_64 is filtered out by modular filtering
  - package qemu-img-15:4.1.0-23.module+el8.1.1+6238+f5d69f68.3.x86_64 is filtered out by modular filtering
  - package qemu-img-15:4.2.0-19.module+el8.2.0+6296+6b821950.x86_64 is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

# yum module list
Updating Subscription Management repositories.
Last metadata expiration check: 0:16:17 ago on Fri 08 May 2020 05:59:58 AM +04.
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                               common                                                         Virtualization module                                                                             

Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
Name                                       Stream                            Profiles                                                       Summary                                                                                           
389-ds                                     1.4                                                                                              389 Directory Server (base)                                                                       
ant                                        1.10 [d]                          common [d]                                                     Java build tool                                                                                   
container-tools                            rhel8 [d]                         common [d]                                                     Common tools and dependencies for container runtimes                                              
container-tools                            1.0                               common [d]                                                     Common tools and dependencies for container runtimes                                              
container-tools                            2.0                               common [d]                                                     Common tools and dependencies for container runtimes                                              
freeradius                                 3.0 [d]                           server [d]                                                     High-performance and highly configurable free RADIUS server                                       
gimp                                       2.8 [d]                           common [d], devel                                              gimp module                                                                                       
go-toolset                                 rhel8 [d]                         common [d]                                                     Go                                                                                                
httpd                                      2.4 [d]                           common [d], devel, minimal                                     Apache HTTP Server                                                                                
idm                                        DL1                               adtrust, client, common [d], dns, server                       The Red Hat Enterprise Linux Identity Management system module                                    
idm                                        client [d]                        common [d]                                                     RHEL IdM long term support client module                                                          
inkscape                                   0.92.3 [d]                        common [d]                                                     Vector-based drawing program using SVG                                                            
javapackages-runtime                       201801 [d]                        common [d]                                                     Basic runtime utilities to support Java applications                                              
jmc                                        rhel8 [d]                         common [d], core                                               Java Mission Control is a profiling and diagnostics tool for the Hotspot JVM                      
libselinux-python                          2.8                               common                                                         Python 2 bindings for libselinux                                                                  
llvm-toolset                               rhel8 [d]                         common [d]                                                     LLVM                                                                                              
mailman                                    2.1 [d]                           common [d]                                                     Electronic mail discussion and e-newsletter lists managing software                               
mariadb                                    10.3 [d]                          client, galera, server [d]                                     MariaDB Module                                                                                    
maven                                      3.5 [d]                           common [d]                                                     Java project management and project comprehension tool                                            
maven                                      3.6                               common [d]                                                     Java project management and project comprehension tool                                            
mercurial                                  4.8 [d]                           common [d]                                                     Mercurial -- a distributed SCM                                                                    
mod_auth_openidc                           2.3                                                                                              Apache module suporting OpenID Connect authentication                                             
mysql                                      8.0 [d]                           client, server [d]                                             MySQL Module                                                                                      
nginx                                      1.14 [d]                          common [d]                                                     nginx webserver                                                                                   
nginx                                      1.16                              common [d]                                                     nginx webserver                                                                                   
nodejs                                     10 [d]                            common [d], development, minimal, s2i                          Javascript runtime                                                                                
nodejs                                     12                                common [d], development, minimal, s2i                          Javascript runtime                                                                                
parfait                                    0.5                               common                                                         Parfait Module                                                                                    
perl                                       5.24                              common [d], minimal                                            Practical Extraction and Report Language                                                          
perl                                       5.26 [d]                          common [d], minimal                                            Practical Extraction and Report Language                                                          
perl-App-cpanminus                         1.7044 [d]                        common [d]                                                     Get, unpack, build and install CPAN modules                                                       
perl-DBD-MySQL                             4.046 [d]                         common [d]                                                     A MySQL interface for Perl                                                                        
perl-DBD-Pg                                3.7 [d]                           common [d]                                                     A PostgreSQL interface for Perl                                                                   
perl-DBD-SQLite                            1.58 [d]                          common [d]                                                     SQLite DBI driver                                                                                 
perl-DBI                                   1.641 [d]                         common [d]                                                     A database access API for Perl                                                                    
perl-FCGI                                  0.78 [d]                          common [d]                                                     FastCGI Perl bindings                                                                             
perl-YAML                                  1.24 [d]                          common [d]                                                     Perl parser for YAML                                                                              
php                                        7.2 [d]                           common [d], devel, minimal                                     PHP scripting language                                                                            
php                                        7.3                               common [d], devel, minimal                                     PHP scripting language                                                                            
pki-core                                   10.6                                                                                             PKI Core module for PKI 10.6 or later                                                             
pki-deps                                   10.6                                                                                             PKI Dependencies module for PKI 10.6 or later                                                     
postgresql                                 9.6                               client, server [d]                                             PostgreSQL server and client module                                                               
postgresql                                 10 [d]                            client, server [d]                                             PostgreSQL server and client module                                                               
postgresql                                 12                                client, server [d]                                             PostgreSQL server and client module                                                               
python27                                   2.7 [d]                           common [d]                                                     Python programming language, version 2.7                                                          
python36                                   3.6 [d]                           build, common [d]                                              Python programming language, version 3.6                                                          
python38                                   3.8 [d]                           build, common [d]                                              Python programming language, version 3.8                                                          
redis                                      5 [d]                             common [d]                                                     Redis persistent key-value database                                                               
rhn-tools                                  1.0 [d]                           common [d]                                                     Red Hat Satellite 5 tools for RHEL                                                                
ruby                                       2.5 [d]                           common [d]                                                     An interpreter of object-oriented scripting language                                              
ruby                                       2.6                               common [d]                                                     An interpreter of object-oriented scripting language                                              
rust-toolset                               rhel8 [d]                         common [d]                                                     Rust                                                                                              
satellite-5-client                         1.0 [d][e]                        common [d], gui                                                Red Hat Satellite 5 client packages                                                               
scala                                      2.10 [d]                          common [d]                                                     A hybrid functional/object-oriented language for the JVM                                          
squid                                      4 [d]                             common [d]                                                     Squid - Optimising Web Delivery                                                                   
subversion                                 1.10 [d]                          common [d], server                                             Apache Subversion                                                                                 
swig                                       3.0 [d]                           common [d], complete                                           Connects C/C++/Objective C to some high-level programming languages                               
varnish                                    6 [d]                             common [d]                                                     Varnish HTTP cache                                                                                
virt                                       rhel [d][e]                       common [d]                                                     Virtualization module                                                                             

Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled

# yum module disable virt:rhel/common
Updating Subscription Management repositories.
Last metadata expiration check: 0:22:46 ago on Fri 08 May 2020 05:59:58 AM +04.
Only module name is required. Ignoring unneeded information in argument: 'virt:rhel/common'
Dependencies resolved.
==============================================================================================================================================================================================================================================
 Package                                                   Architecture                                             Version                                                   Repository                                                 Size
==============================================================================================================================================================================================================================================
Disabling modules:
 virt                                                                                                                                                                                                                                        

Transaction Summary
==============================================================================================================================================================================================================================================

Is this ok [y/N]: y
Complete!

# yum module enable virt:8.2/common
Updating Subscription Management repositories.
Last metadata expiration check: 0:23:35 ago on Fri 08 May 2020 05:59:58 AM +04.
Ignoring unnecessary profile: 'virt/common'
Dependencies resolved.
==============================================================================================================================================================================================================================================
 Package                                                   Architecture                                             Version                                                   Repository                                                 Size
==============================================================================================================================================================================================================================================
Enabling module streams:
 virt                                                                                                               8.2                                                                                                                      

Transaction Summary
==============================================================================================================================================================================================================================================

Is this ok [y/N]: y
Complete!

# yum install cockpit-ovirt-dashboard
Updating Subscription Management repositories.
Last metadata expiration check: 0:24:47 ago on Fri 08 May 2020 05:59:58 AM +04.
Dependencies resolved.
==============================================================================================================================================================================================================================================
 Package                                                          Architecture                 Version                                                               Repository                                                          Size
==============================================================================================================================================================================================================================================
Installing:
 cockpit-ovirt-dashboard                                          noarch                       0.14.5-1.el8ev                                                        rhv-4-mgmt-agent-beta-for-rhel-8-x86_64-rpms                       3.5 M
Installing dependencies:
 GConf2                                                           x86_64                       3.2.6-22.el8                                                          rhel-8-for-x86_64-appstream-rpms                                   1.0 M
 NetworkManager-config-server                                     noarch                       1:1.22.8-4.el8                                                        rhel-8-for-x86_64-baseos-rpms                                      120 k
.
.
.
.

 libudisks2                                                       x86_64                       2.8.3-2.el8                                                           rhel-8-for-x86_64-appstream-rpms                                   140 k
 libusal                                                          x86_64                       1.1.11-39.el8                                                         rhel-8-for-x86_64-appstream-rpms                                   145 k
 libvirt-admin                                                    x86_64                       6.0.0-17.module+el8.2.0+6257+0d066c28                                 advanced-virt-for-rhel-8-x86_64-rpms                                98 k
 libvirt-bash-completion                                          x86_64                       6.0.0-17.module+el8.2.0+6257+0d066c28                                 advanced-virt-for-rhel-8-x86_64-rpms                                56 k
 libvirt-client                                                   x86_64                       6.0.0-17.module+el8.2.0+6257+0d066c28                                 advanced-virt-for-rhel-8-x86_64-rpms                               362 k
 libvirt-daemon                                                   x86_64                       6.0.0-17.module+el8.2.0+6257+0d066c28                                 advanced-virt-for-rhel-8-x86_64-rpms                               345 k
 libvirt-daemon-config-network                                    x86_64                       6.0.0-17.module+el8.2.0+6257+0d066c28                                 advanced-virt-for-rhel-8-x86_64-rpms                                57 k
 libvirt-daemon-config-nwfilter                                   x86_64                       6.0.0-17.module+el8.2.0+6257+0d066c28                                 advanced-virt-for-rhel-8-x86_64-rpms                                61 k
 libvirt-daemon-driver-interface                                  x86_64                       6.0.0-17.module+el8.2.0+6257+0d066c28                                 advanced-virt-for-rhel-8-x86_64-rpms                               203 k
 libvirt-daemon-driver-network                                    x86_64                       6.0.0-17.module+el8.2.0+6257+0d066c28                                 advanced-virt-for-rhel-8-x86_64-rpms                               230 k
 libvirt-daemon-driver-nodedev                                    x86_64                       6.0.0-17.module+el8.2.0+6257+0d066c28                                 advanced-virt-for-rhel-8-x86_64-rpms                               202 k
 libvirt-daemon-driver-nwfilter                                   x86_64                       6.0.0-17.module+el8.2.0+6257+0d066c28                                 advanced-virt-for-rhel-8-x86_64-rpms                               227 k
 libvirt-daemon-driver-qemu                                       x86_64                       6.0.0-17.module+el8.2.0+6257+0d066c28                                 advanced-virt-for-rhel-8-x86_64-rpms                               839 k
 libvirt-daemon-driver-secret                                     x86_64                       6.0.0-17.module+el8.2.0+6257+0d066c28                                 advanced-virt-for-rhel-8-x86_64-rpms                               193 k
 libvirt-daemon-driver-storage                                    x86_64                       6.0.0-17.module+el8.2.0+6257+0d066c28                                 advanced-virt-for-rhel-8-x86_64-rpms                                55 k
 libvirt-daemon-driver-storage-core                               x86_64                       6.0.0-17.module+el8.2.0+6257+0d066c28                                 advanced-virt-for-rhel-8-x86_64-rpms                               253 k
 libvirt-daemon-driver-storage-disk                               x86_64                       6.0.0-17.module+el8.2.0+6257+0d066c28                                 advanced-virt-for-rhel-8-x86_64-rpms                                77 k
 libvirt-daemon-driver-storage-gluster                            x86_64                       6.0.0-17.module+el8.2.0+6257+0d066c28                                 advanced-virt-for-rhel-8-x86_64-rpms                                82 k
 libvirt-daemon-driver-storage-iscsi                              x86_64                       6.0.0-17.module+el8.2.0+6257+0d066c28                                 advanced-virt-for-rhel-8-x86_64-rpms                                74 k
 libvirt-daemon-driver-storage-iscsi-direct                       x86_64                       6.0.0-17.module+el8.2.0+6257+0d066c28                                 advanced-virt-for-rhel-8-x86_64-rpms                                76 k
 libvirt-daemon-driver-storage-logical                            x86_64                       6.0.0-17.module+el8.2.0+6257+0d066c28                                 advanced-virt-for-rhel-8-x86_64-rpms                                78 k
 libvirt-daemon-driver-storage-mpath                              x86_64                       6.0.0-17.module+el8.2.0+6257+0d066c28                                 advanced-virt-for-rhel-8-x86_64-rpms                                72 k
 libvirt-daemon-driver-storage-rbd                                x86_64                       6.0.0-17.module+el8.2.0+6257+0d066c28                                 advanced-virt-for-rhel-8-x86_64-rpms                                81 k
 libvirt-daemon-driver-storage-scsi                               x86_64                       6.0.0-17.module+el8.2.0+6257+0d066c28                                 advanced-virt-for-rhel-8-x86_64-rpms                                74 k
 libvirt-daemon-kvm                                               x86_64                       6.0.0-17.module+el8.2.0+6257+0d066c28                                 advanced-virt-for-rhel-8-x86_64-rpms                                55 k
 libvirt-libs                                                     x86_64                       6.0.0-17.module+el8.2.0+6257+0d066c28                                 advanced-virt-for-rhel-8-x86_64-rpms                               4.3 M
 libvirt-lock-sanlock                                             x86_64                       6.0.0-17.module+el8.2.0+6257+0d066c28                                 advanced-virt-for-rhel-8-x86_64-rpms                                87 k
.
.
.
.
Enabling module streams:
 idm                                                                                           client                                                                                                                                        
 llvm-toolset                                                                                  rhel8                                                                                                                                         
 python36                                                                                      3.6                                                                                                                                           

Transaction Summary
==============================================================================================================================================================================================================================================
Install  534 Packages

Total download size: 262 M
Installed size: 1.1 G
Is this ok [y/N]: 



I hope that this helps, I don't know if there is a better way, maybe have more details in the package dependency to specify which application stream it depends on, you might need to check how this can be done with the team managing yum/dnf

Comment 18 Marina Kalinin 2020-05-07 22:43:48 UTC
I am wondering if this is not a bug, actually, that:
--enable=advanced-virt-for-rhel-8-x86_64-rpms

Does not enable the AV stream.

I am not sure where are the instructions for the streams should be enabled and what is the right procedure for RHV here.

Comment 19 Marina Kalinin 2020-05-07 22:53:44 UTC
(In reply to Marina Kalinin from comment #18)
> I am wondering if this is not a bug, actually, that:
> --enable=advanced-virt-for-rhel-8-x86_64-rpms
> 
> Does not enable the AV stream.
> 
> I am not sure where are the instructions for the streams should be enabled
> and what is the right procedure for RHV here.

Martin's comment#5 explains how it should work, but my question here is what are the expectations from subscription-manager here. Why wouldn't it set the stream?

Comment 20 Steve Goodman 2020-05-08 07:48:47 UTC
(In reply to Marina Kalinin from comment #19)
> (In reply to Marina Kalinin from comment #18)
> > I am wondering if this is not a bug, actually, that:
> > --enable=advanced-virt-for-rhel-8-x86_64-rpms
> > 
> > Does not enable the AV stream.
> > 
> > I am not sure where are the instructions for the streams should be enabled
> > and what is the right procedure for RHV here.
> 
> Martin's comment#5 explains how it should work, but my question here is what
> are the expectations from subscription-manager here. Why wouldn't it set the
> stream?

Marina, who should know the answer to your question (you didn't address it to anyone in particular)? Please follow up with whoever it is.

From the user's standpoint, I agree with you 100%.

Comment 21 Ahmed El-Rayess 2020-05-08 18:05:35 UTC
the whole idea of having multiple streams in RHEL 8 of the same application is to support different requirements for different apps. the example was always given for postgresql, one application might require 9.6, while another might require 10 or 12. so now by using the streams, Red Hat can support different versions under the same RHEL, not as before where we used to have only a specific version of postgresql per release of RHEL supported by Red Hat.

the default repository "Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)" contains a version of the Virt which is set as default, but Red Hat also ships another version under the "Advanced Virtualization for RHEL 8 x86_64 (RPMs)" which is the one that you need to install RHV.

Also I can see that the "Advanced Virtualization for RHEL 8 x86_64 (RPMs)" contains multiple application streams for Virt. so we need to document which version to use and when.


as per the documentation https://docs.fedoraproject.org/en-US/modularity/architecture/consuming/dnf-behavior/ , you only need to enable the correct module before the deployment, so you can skip the disable step from what I executed. as what was mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=1832711#c5

Comment 22 Marina Kalinin 2020-05-08 21:23:07 UTC
(In reply to Martin Tessun from comment #5)
> (In reply to Steve Goodman from comment #4)
> > Please see if this addresses the issues.
> > 
> > It's not clear to me yet if the third issue is really an issue I need to
> > address or not.
> 
> You probably need, but you can point to RHEL module documentation on how to
> switch a stream. Ideally virt:rhel is not even enabled, so you "just" need
> to enable virt:8.2 stream - but you should check.
> 
> So the process should be:
> 1. Check if virt is enabled:
> # yum module list virt
> 
> This should produce an output similar to this:
> RHEL8 latest devel compose AppStream
> Name                              Stream                               
> Profiles                               Summary                              
> 
> virt                              rhel [d]                             
> common [d]                             Virtualization module                
> 
> 
> RHEL 8 latest devel compose Advanced Virtualization
> Name                              Stream                               
> Profiles                               Summary                              
> 
> virt                              8.2 [e]                              
> common                                 Virtualization module                
> 
> 
> Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled
> 
> IN case virt:rhel is enabled (has an [e] behind the Stream) you need to do
> the following:
> 
> 2a. # yum module disable virt:rhel
> 2b. # yum module enable virt:8.2
> 2c. # yum distro-sync
> 
> In case virt:rhel is not enabled, it is simpler:
> 
> 3. # yum enable virt:8.2
> 
> > 
> > https://gitlab.cee.redhat.com/rhci-documentation/docs-
> > Red_Hat_Enterprise_Virtualization/merge_requests/1645

Hi Steve,

We should add those instructions after subscription-manager commands.
Subscription-manager only enables the repo, but does not care about the content. So, once the repo is enabled, it probably installs the virt module too, we then need to switch to AV stream - virt:8.2.

No need to specify the common profile, since it is the default one.

Comment 23 Marina Kalinin 2020-05-08 21:24:15 UTC
Also note, as RHEL-AV releases new versions, it will release new streams, and the user will need to change those manually. Unless, we addressed this in the software. Did we, Michal?

Comment 24 Marina Kalinin 2020-05-08 21:26:31 UTC
(In reply to Steve Goodman from comment #12)
> (In reply to Ryan Barry from comment #8)
> > EL8 has different repos and streams, so it's needed for 4.4
> 
> Does this apply to the hosts (including the host for the hosted engine), and
> also a standalone engine machine?

This should apply to any RHEL hosts. RHVH should have a single repo that will contain everything.
This is not applicable to RHV-Manager, since it does not need virtualization packages, it is a VM.

Comment 25 Marina Kalinin 2020-05-08 21:29:28 UTC
Ahmed, how is fast-datapath works, do you know?
Is enabling the repo enough? OR anything else is needed similar to AV?

Comment 26 Ahmed El-Rayess 2020-05-09 03:19:01 UTC
just enabling the repo works, no additional steps required for it.

Comment 27 Steve Goodman 2020-05-11 03:38:21 UTC
*** Bug 1833023 has been marked as a duplicate of this bug. ***

Comment 28 Martin Perina 2020-05-11 09:59:46 UTC
(In reply to Ryan Barry from comment #13)
> (In reply to Steve Goodman from comment #12)
> > (In reply to Ryan Barry from comment #8)
> > > EL8 has different repos and streams, so it's needed for 4.4
> > 
> > Does this apply to the hosts (including the host for the hosted engine), and
> > also a standalone engine machine?
> 
> HE is the only recommended use case at this point. But yes, all hosts.
> Sandro, Martin, are we doing to handle this downstream? ovirt-host-deploy?
> ovirt-host? Or manual intervention?

We are enabling 'virt:8.y' according to underlying RHEL 8.y version during host deploy flow, so no manual action needed.

Comment 29 Martin Perina 2020-05-11 10:04:07 UTC
(In reply to Steffen Froemer from comment #15)
> For a RHEL-8.2 based engine installation, following steps need to be done,
> to be able to install the rhvm package.
> 
> # subscription-manager repos \
>   --disable=* \
>   --enable=rhel-8-for-x86_64-baseos-rpms \
>   --enable=rhel-8-for-x86_64-appstream-rpms \
>   --enable=rhv-4-manager-beta-for-rhel-8-x86_64-rpms \
>   --enable=fast-datapath-for-rhel-8-x86_64-rpms \
>   --enable=ansible-2.9-for-rhel-8-x86_64-rpms \
>   --enable=codeready-builder-for-rhel-8-x86_64-rpms \
>   --enable=jb-eap-7.3-for-rhel-8-x86_64-rpms
> 
> 
> # yum module enable pki-deps postgresql:12 javapackages-tools


This is wrong, only below channels/modules should be enabled for 4.4 beta:

  # subscription-manager repos \
     --disable=* \
     --enable=rhel-8-for-x86_64-baseos-rpms \
     --enable=rhel-8-for-x86_64-appstream-rpms \
     --enable=rhv-4-manager-beta-for-rhel-8-x86_64-rpms \
     --enable=fast-datapath-for-rhel-8-x86_64-rpms \
     --enable=ansible-2.9-for-rhel-8-x86_64-rpms \
     --enable=jb-eap-7.3-for-rhel-8-x86_64-rpms

  # dnf module -y enable pki-deps postgresql:12

Comment 32 Steve Goodman 2020-05-12 07:18:48 UTC
So are you saying that we should list rhv-4-tools-beta-for-rhel-8-x86_64-rpms in the Release Notes, but change the Subscription pool and repository name from Red Hat Virtualization to Red Hat Enterprise Linux Server?

So the row will change from:

Subscription Pool | Repository Name | Repository Label                        | Details
------------------------------------------------------------------------------------------------------------------------------------
Red Hat           | Red Hat         | rhv-4-tools-beta-for-rhel-8-x86_64-rpms | Provides dependencies for the
Virtualization    | Virtualzation   |                                         | Red Hat Virtualization Manager that
                  |                 |                                         | are common to all Red Hat Virtualization 4 releases.

to (only first columns change):


Subscription Pool | Repository Name | Repository Label                        | Details
------------------------------------------------------------------------------------------------------------------------------------
Red Hat           | Red Hat         | rhv-4-tools-beta-for-rhel-8-x86_64-rpms | Provides dependencies for the
Enterprise Linux  | Enterprise Linux|                                         | Red Hat Virtualization Manager that
                  |                 |                                         | are common to all Red Hat Virtualization 4 releases.

Comment 33 Martin Perina 2020-05-12 07:30:50 UTC
(In reply to Steve Goodman from comment #32)
> So are you saying that we should list
> rhv-4-tools-beta-for-rhel-8-x86_64-rpms in the Release Notes, but change the
> Subscription pool and repository name from Red Hat Virtualization to Red Hat
> Enterprise Linux Server?
> 
> So the row will change from:
> 
> Subscription Pool | Repository Name | Repository Label                      
> | Details
> -----------------------------------------------------------------------------
> -------------------------------------------------------
> Red Hat           | Red Hat         |
> rhv-4-tools-beta-for-rhel-8-x86_64-rpms | Provides dependencies for the
> Virtualization    | Virtualzation   |                                       
> | Red Hat Virtualization Manager that
>                   |                 |                                       
> | are common to all Red Hat Virtualization 4 releases.
> 
> to (only first columns change):
> 
> 
> Subscription Pool | Repository Name | Repository Label                      
> | Details
> -----------------------------------------------------------------------------
> -------------------------------------------------------
> Red Hat           | Red Hat         |
> rhv-4-tools-beta-for-rhel-8-x86_64-rpms | Provides dependencies for the
> Enterprise Linux  | Enterprise Linux|                                       
> | Red Hat Virtualization Manager that
>                   |                 |                                       
> | are common to all Red Hat Virtualization 4 releases.

No idea, it's still being solved: https://projects.engineering.redhat.com/browse/CLOUDDST-615

Comment 35 Steve Goodman 2020-05-13 05:00:58 UTC
I created a new merge request [1] for this to replace the one mentioned previously in comment 4.

[1] https://gitlab.cee.redhat.com/rhci-documentation/docs-Red_Hat_Enterprise_Virtualization/merge_requests/1649

Comment 36 Martin Perina 2020-05-13 07:27:30 UTC
(In reply to Steve Goodman from comment #14)
> Other places that mention these repos:
> 
> Updating a host between minor releases:
> https://cee-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/CCS/job/ccs-mr-
> preview/9183/artifact/doc-Administration_Guide/preview/index.
> html#Updating_a_host_between_minor_releases
> 
> Adding an OpenStack Networking (Neutron) Instance for Network Provisioning
> https://cee-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/CCS/job/ccs-mr-
> preview/9183/artifact/doc-Administration_Guide/preview/index.
> html#Adding_an_OpenStack_Network_Service_Neutron_for_Network_Provisioning
> 
> 
> 
> Do we need to mention enabling modules/streams there as well?

No, modules are enabled only during installation, we don't anything else for beta or GA

Comment 37 Martin Perina 2020-05-13 07:30:06 UTC
(In reply to Marina Kalinin from comment #23)
> Also note, as RHEL-AV releases new versions, it will release new streams,
> and the user will need to change those manually. Unless, we addressed this
> in the software. Did we, Michal?

We are going to handle that in host upgrade flow

Comment 38 Steve Goodman 2020-05-13 14:44:37 UTC
Just to close up some loose ends:

1. For now, I'm not documenting module enabling, because the host deployment should handle it, as per comment 37.
   That said, there is still disagreement on the need to document this for manual upgrades.
   If the decision is made that this need to be documented, please open a new bug, with priority set appropriately.
2. re comment 15: No documentation change. The codeready repo is just a workaround for wrong CDN content which has been (hopefully) fixed by now.
3. re comment 19: 
   > Martin's comment#5 explains how it should work, but my question here is what
   > are the expectations from subscription-manager here. Why wouldn't it set the
   > stream?
   as per Michal: It just doesn’t work that way. it makes a stream available, but doesn’t enable it. that needs to be done manually (or in case of out host deploy it’s a part of that)
4. re documenting in Release Notes, as per Martin Perina:
   > I don't think it's needed, because this channel was introduced in 4.3.5 to
   > have EL8 builds of SDKs and oVirt Ansible roles available for CloudForms,
   > but somehow we forgot to add to RHEL SKU. So once this is done, we should
   > properly announce it.
   So I removed it from Release Notes.

Comment 39 Steve Goodman 2020-05-13 15:03:30 UTC
In comment 38, item 4, I meant to write:

4. re documenting `rhv-4-tools-beta-for-rhel-8-x86_64-rpms` in Release Notes

Comment 41 Steve Goodman 2020-05-14 16:07:39 UTC
Reverted Neutron host repos back to 4.3 as per bug 1826661.

Comment 42 Martin Perina 2020-05-14 16:48:31 UTC
(In reply to Steve Goodman from comment #40)
> Apparently we didn't get the repos 100% right, so I'm reopening. I created a
> new merge request:
> 
> https://gitlab.cee.redhat.com/rhci-documentation/docs-
> Red_Hat_Enterprise_Virtualization/merge_requests/1656
> 
> Preview sections are:
> 
> Repos for RHVM:
> https://cee-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/CCS/job/ccs-mr-
> preview/9594/artifact/assembly-Installing_Red_Hat_Virtualization_as_a_self-
> hosted_engine_using_the_Cockpit_web_interface/preview/index.
> html#Enabling_the_Red_Hat_Virtualization_Manager_Repositories_install_RHVM
> 
> 
> Repos for RHEL Hosts:
> https://cee-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/CCS/job/ccs-mr-
> preview/9594/artifact/assembly-Installing_Red_Hat_Virtualization_as_a_self-
> hosted_engine_using_the_Cockpit_web_interface/preview/index.
> html#Enabling_the_Red_Hat_Enterprise_Linux_Host_Repositories_SHE_deployment_h
> ost
> 
> Repos for RHVH:
> https://cee-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/CCS/job/ccs-mr-
> preview/9594/artifact/assembly-Installing_Red_Hat_Virtualization_as_a_self-
> hosted_engine_using_the_Cockpit_web_interface/preview/index.
> html#Enabling_the_RHVH_repository_SHE_deployment_host
> 
> 
> Repos for Neutron Hosts:
> https://cee-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/CCS/job/ccs-mr-
> preview/9594/artifact/doc-Administration_Guide/preview/index.
> html#Adding_an_OpenStack_Network_Service_Neutron_for_Network_Provisioning
> 
> We also have repos for DB machines: Engine and DWH. But I think we got those
> right.

Looks good to me

Comment 43 Steve Goodman 2020-05-14 17:15:47 UTC
Merged and published.

Comment 44 Steve Goodman 2020-05-21 12:15:01 UTC
*** Bug 1812029 has been marked as a duplicate of this bug. ***

Comment 45 amashah 2020-06-04 17:49:32 UTC
(In reply to Martin Perina from comment #28)

> We are enabling 'virt:8.y' according to underlying RHEL 8.y version during
> host deploy flow, so no manual action needed.

It is needed if deploying HE on a new RHEL 8.2 host. Without manually enabling the module, ovirt-hosted-engine-setup cannot be installed due to dependency issues and one cannot deploy HE.

# yum install ovirt-hosted-engine-setup
Updating Subscription Management repositories.
Last metadata expiration check: 1:40:54 ago on Thu 04 Jun 2020 11:46:34 AM EDT.
Error: 
 Problem: package ovirt-hosted-engine-setup-2.4.4-1.el8ev.noarch requires qemu-img >= 15:3.1.0-20.module+el8+2888+cdc893a8, but none of the providers can be installed
  - conflicting requests
  - package qemu-img-15:3.1.0-20.module+el8+2888+cdc893a8.x86_64 is filtered out by modular filtering
  - package qemu-img-15:3.1.0-30.module+el8.0.1+3755+6782b0ed.x86_64 is filtered out by modular filtering
  - package qemu-img-15:4.1.0-13.module+el8.1.0+4313+ef76ec61.x86_64 is filtered out by modular filtering
  - package qemu-img-15:4.1.0-14.module+el8.1.0+4548+ed1300f4.x86_64 is filtered out by modular filtering
  - package qemu-img-15:4.1.0-23.module+el8.1.1+5467+ba2d821b.x86_64 is filtered out by modular filtering


I can file a separate BZ if needed.

Comment 47 amashah 2020-06-08 20:11:31 UTC
New BZ filed https://bugzilla.redhat.com/show_bug.cgi?id=1845289

Comment 48 Steve Goodman 2020-06-16 12:20:25 UTC
OK, I'll take care of it in the new bug in comment 47.


Note You need to log in before you can comment on or make changes to this bug.