Bug 1349793

Summary: [Tracker] RHEVM 4.0 beta installation stops with dependency error (optional channel is required)
Product: Red Hat Enterprise Virtualization Manager Reporter: daniel <dmoessne>
Component: distributionAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED CURRENTRELEASE QA Contact: Pavol Brilla <pbrilla>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.0.0CC: dmoessne, eedri, fdeutsch, gklein, jboggs, jmatthew, lsurette, michal.skrivanek, mkalinin, mtessun, pbabinca, pstehlik, rbalakri, Rhev-m-bugs, sbonazzo, srevivo, ykaul
Target Milestone: ovirt-4.0.1Keywords: Rebase, Tracking
Target Release: 4.0.1Flags: jboggs: needinfo-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Dependencies previously provided by optional channel are now included in RHV channels.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-29 11:51:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Rel-Eng RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1349822, 1349824, 1349825, 1349826, 1349828, 1349831, 1349832, 1349835, 1350705, 1353630, 1353633, 1353639, 1353642, 1353648, 1353655, 1353656, 1353658, 1353660, 1353661, 1353663, 1353665, 1353668, 1353674, 1353675, 1353679, 1356154, 1365170    
Bug Blocks: 1350297    

Description daniel 2016-06-24 09:37:28 UTC
Description of problem:
Following https://access.redhat.com/documentation/en/red-hat-virtualization/4.0-beta/installation-guide/chapter-3-red-hat-virtualization-manager
(# subscription-manager repos --enable=rhel-7-server-rpms --enable=rhel-7-server-supplementary-rpms --enable=rhel-7-server-rhv-4-beta-rpms --enable=jb-eap-7-for-rhel-7-server-rpms)
 leads to dependency error:

[root@rhevm04 ~]# yum install rhevm
[..]

---> Package perl-parent.noarch 1:0.225-244.el7 will be installed
--> Finished Dependency Resolution
Error: Package: ovirt-engine-4.0.0.6-0.1.el7ev.noarch (rhel-7-server-rhv-4-beta-rpms)
           Requires: apache-commons-jxpath
Error: Package: ovirt-engine-4.0.0.6-0.1.el7ev.noarch (rhel-7-server-rhv-4-beta-rpms)
           Requires: ws-commons-util
Error: Package: ovirt-engine-backend-4.0.0.6-0.1.el7ev.noarch (rhel-7-server-rhv-4-beta-rpms)
           Requires: aopalliance >= 1.0
Error: Package: ovirt-engine-4.0.0.6-0.1.el7ev.noarch (rhel-7-server-rhv-4-beta-rpms)
           Requires: apache-commons-configuration
Error: Package: ovirt-engine-4.0.0.6-0.1.el7ev.noarch (rhel-7-server-rhv-4-beta-rpms)
           Requires: fop
Error: Package: ovirt-engine-4.0.0.6-0.1.el7ev.noarch (rhel-7-server-rhv-4-beta-rpms)
           Requires: apache-commons-compress
Error: Package: ovirt-engine-4.0.0.6-0.1.el7ev.noarch (rhel-7-server-rhv-4-beta-rpms)
           Requires: xmlrpc-client
Error: Package: ovirt-engine-setup-plugin-ovirt-engine-common-4.0.0.6-0.1.el7ev.noarch (rhel-7-server-rhv-4-beta-rpms)
           Requires: cracklib-python
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************

Error: Package: ovirt-engine-4.0.0.6-0.1.el7ev.noarch (rhel-7-server-rhv-4-beta-rpms)
           Requires: apache-commons-jxpath
Error: Package: ovirt-engine-4.0.0.6-0.1.el7ev.noarch (rhel-7-server-rhv-4-beta-rpms)
           Requires: ws-commons-util
Error: Package: ovirt-engine-backend-4.0.0.6-0.1.el7ev.noarch (rhel-7-server-rhv-4-beta-rpms)
           Requires: aopalliance >= 1.0
Error: Package: ovirt-engine-4.0.0.6-0.1.el7ev.noarch (rhel-7-server-rhv-4-beta-rpms)
           Requires: apache-commons-configuration
Error: Package: ovirt-engine-4.0.0.6-0.1.el7ev.noarch (rhel-7-server-rhv-4-beta-rpms)
           Requires: fop
Error: Package: ovirt-engine-4.0.0.6-0.1.el7ev.noarch (rhel-7-server-rhv-4-beta-rpms)
           Requires: apache-commons-compress
Error: Package: ovirt-engine-4.0.0.6-0.1.el7ev.noarch (rhel-7-server-rhv-4-beta-rpms)
           Requires: xmlrpc-client
Error: Package: ovirt-engine-setup-plugin-ovirt-engine-common-4.0.0.6-0.1.el7ev.noarch (rhel-7-server-rhv-4-beta-rpms)
           Requires: cracklib-python
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@rhevm04 ~]# 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. # subscription-manager repos --enable=rhel-7-server-rpms --enable=rhel-7-server-supplementary-rpms --enable=rhel-7-server-rhv-4-beta-rpms --enable=jb-eap-7-for-rhel-7-server-rpms
2.# yum clean all
3.# yum install rhevm

Actual results:
dependency error, see above


Expected results:
RHEVM get's installed like described in document (https://access.redhat.com/documentation/en/red-hat-virtualization/4.0-beta/installation-guide/chapter-3-red-hat-virtualization-manager)


Additional info:

-  adding optional channel let's install RHEVM:
*****

[root@rhevm04 ~]# subscription-manager repos --enable=rhel-7-server-rpms --enable=rhel-7-server-supplementary-rpms --enable=rhel-7-server-rhv-4-beta-rpms --enable=jb-eap-7-for-rhel-7-server-rpms --enable rhel-7-server-optional-rpms
[root@rhevm04 ~]# yum clean all
[root@rhevm04 ~]# yum install rhevm -y

--> OK


- replacing suppl by optional channel still leads to dependency error:
*******
[root@rhevm04 ~]# subscription-manager repos --enable=rhel-7-server-rpms --enable=rhel-7-server-rhv-4-beta-rpms --enable=jb-eap-7-for-rhel-7-server-rpms --enable rhel-7-server-optional-rpms
[root@rhevm04 ~]# yum clean all 
[root@rhevm04 ~]# yum install rhevm 
[...]
--> Finished Dependency Resolution
Error: Package: rhevm-4.0.0.6-0.1.el7ev.noarch (rhel-7-server-rhv-4-beta-rpms)
           Requires: virtio-win >= 1.6.6-1
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************

Error: Package: rhevm-4.0.0.6-0.1.el7ev.noarch (rhel-7-server-rhv-4-beta-rpms)
           Requires: virtio-win >= 1.6.6-1
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@rhevm04 ~]#

Comment 1 Sandro Bonazzola 2016-06-24 09:55:41 UTC
Both optional and supplementary channel are needed right now.
Please check.

Comment 2 daniel 2016-06-24 10:04:12 UTC
Sandro, see my comment in the initial post:

-  adding optional channel let's install RHEVM:
*****

[root@rhevm04 ~]# subscription-manager repos --enable=rhel-7-server-rpms --enable=rhel-7-server-supplementary-rpms --enable=rhel-7-server-rhv-4-beta-rpms --enable=jb-eap-7-for-rhel-7-server-rpms --enable rhel-7-server-optional-rpms
[root@rhevm04 ~]# yum clean all
[root@rhevm04 ~]# yum install rhevm -y

--> OK

So I'm aware or better found, that both seem to be needed
If this is intended it is a documentation bug, as it currently states:

~~~

3.1. Subscribing to the Required Entitlements

 Enable the required repositories:

# subscription-manager repos --enable=rhel-7-server-rpms
# subscription-manager repos --enable=rhel-7-server-supplementary-rpms
# subscription-manager repos --enable=rhel-7-server-rhv-4-beta-rpms
# subscription-manager repos --enable=jb-eap-7-for-rhel-7-server-rpms


~~~

and should then be corrected there ;)

Comment 3 Michal Skrivanek 2016-06-24 10:09:54 UTC
Sanro, it's verified in description that using both optional and supplementary works ok. 
This is ok for beta. We're trying to get rid of "optional" for GA
Moving to docs, though not sure if it makes sense to update if we are not using that channel in GA

Comment 5 Sandro Bonazzola 2016-06-24 10:57:50 UTC
(In reply to Michal Skrivanek from comment #3)
> Sanro, it's verified in description that using both optional and
> supplementary works ok. 
> This is ok for beta. We're trying to get rid of "optional" for GA
> Moving to docs, though not sure if it makes sense to update if we are not
> using that channel in GA

So let's be sure we track this properly.

Comment 6 Eyal Edri 2016-06-24 18:20:24 UTC
Can we have a 1-1 mapping of the interna repos we can use that match the public beta channels?

Comment 8 Pavel Stehlik 2016-07-06 09:52:37 UTC
So we need following packages also in  'rhv-mgmt-agent’ channel  [1]:
--> Finished Dependency Resolution
Error: Package: vdsm-4.18.3-0.el7ev.x86_64 (vdsm)
           Requires: libvirt-lock-sanlock
Error: Package: vdsm-4.18.3-0.el7ev.x86_64 (vdsm)
           Requires: sanlock-python
Error: Package: vdsm-4.18.3-0.el7ev.x86_64 (vdsm)
           Requires: sanlock >= 2.8-2

Comment 12 Pavol Brilla 2016-08-23 08:37:08 UTC
All errata for 4.0 GA  should be contained in this tracker

Comment 13 Pavol Brilla 2016-08-23 09:01:08 UTC
Installation succesfull with following repos:

rhel-7-server-rpms
rhel-7-server-rhv-4.0-rpms
rhel-7-server-supplementary-rpms
jb-eap-7.0-for-rhel-7-server-rpms

Installed:
  rhevm.noarch 0:4.0.2.7-0.1.el7ev