Bug 1401507 - ovirt-vmconsole-host fails to install on RHEL7.3
Summary: ovirt-vmconsole-host fails to install on RHEL7.3
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: ovirt-vmconsole
Classification: oVirt
Component: Packaging.rpm
Version: master
Hardware: Unspecified
OS: Unspecified
unspecified
medium vote
Target Milestone: ---
: ---
Assignee: Francesco Romani
QA Contact: Nikolai Sednev
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-05 13:19 UTC by Roman Hodain
Modified: 2016-12-13 13:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-13 13:13:57 UTC
oVirt Team: Rel-Eng
rhodain: planning_ack?
rhodain: devel_ack?
rhodain: testing_ack?


Attachments (Terms of Use)

Description Roman Hodain 2016-12-05 13:19:52 UTC
Description of problem:
It is not possible to install this package due to missing rpm dependencies.

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

How reproducible:
100

Steps to Reproduce:
1. yum install ovirt-vmconsole-host

Actual results:
Error: Package: ovirt-vmconsole-host-1.0.4-1.el7.centos.noarch (ovirt-4.1-pre)
           Requires: ovirt-vmconsole = 1.0.4-1.el7.centos
           Installed: ovirt-vmconsole-1.0.4-1.el7ev.noarch (@rhel-7-server-rhv-4-mgmt-agent-rpms)
               ovirt-vmconsole = 1.0.4-1.el7ev
           Available: ovirt-vmconsole-1.0.4-1.el7.centos.noarch (ovirt-4.1-pre)
               ovirt-vmconsole = 1.0.4-1.el7.centos


Expected results:
The package is installed

Additional info:

[root@ovirt41_01 ~]# yum clean all
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Cleaning repos: centos-opstools-testing centos-ovirt-common-candidate centos-ovirt41-candidate ovirt-4.1
              : ovirt-4.1-centos-gluster38 ovirt-4.1-epel ovirt-4.1-patternfly1-noarch-epel ovirt-4.1-pre
              : rhel-7-server-optional-rpms rhel-7-server-rh-common-rpms rhel-7-server-rpms virtio-win-stable
Cleaning up everything


[root@ovirt41_01 ~]# yum repolist
Loaded plugins: product-id, search-disabled-repos, subscription-manager
centos-opstools-testing                              | 2.9 kB  00:00:00     
centos-ovirt-common-candidate                        | 3.4 kB  00:00:00     
centos-ovirt41-candidate                             | 3.4 kB  00:00:00     
ovirt-4.1-centos-gluster38                           | 2.9 kB  00:00:00     
ovirt-4.1-epel/x86_64/metalink                       |  24 kB  00:00:00     
ovirt-4.1-epel                                       | 4.3 kB  00:00:00     
ovirt-4.1-patternfly1-noarch-epel                    | 3.0 kB  00:00:00     
ovirt-4.1-pre                                        | 2.9 kB  00:00:00     
rhel-7-server-optional-rpms                          | 3.5 kB  00:00:00     
rhel-7-server-rh-common-rpms                         | 3.8 kB  00:00:00     
rhel-7-server-rpms                                   | 3.5 kB  00:00:00     
virtio-win-stable                                    | 3.0 kB  00:00:00     
(1/19): ovirt-4.1-epel/x86_64/group_gz               | 170 kB  00:00:00     
(2/19): ovirt-4.1-epel/x86_64/updateinfo             | 674 kB  00:00:00     
(3/19): centos-opstools-testing/x86_64/primary_db    |  69 kB  00:00:00     
(4/19): ovirt-4.1-epel/x86_64/primary_db             | 4.4 MB  00:00:00     
(5/19): centos-ovirt41-candidate/x86_64/primary_db   | 9.4 kB  00:00:00     
(6/19): ovirt-4.1-centos-gluster38/x86_64/primary_db |  65 kB  00:00:00     
(7/19): ovirt-4.1-patternfly1-noarch-epel/x86_64/primary_db | 2.2 kB  00:00:00     
(8/19): centos-ovirt-common-candidate/x86_64/primary_db |  87 kB  00:00:01     
(9/19): ovirt-4.1-pre/7Server/primary_db             |  72 kB  00:00:01     
(10/19): rhel-7-server-optional-rpms/7Server/x86_64/group|  25 kB  00:00:01     
(11/19): rhel-7-server-optional-rpms/7Server/x86_64/updateinfo| 1.3 MB  00:00:02     
(12/19): rhel-7-server-rh-common-rpms/7Server/x86_64/group|  104 B  00:00:01     
(13/19): rhel-7-server-rh-common-rpms/7Server/x86_64/updateinfo|  29 kB  00:00:01     
(14/19): rhel-7-server-rh-common-rpms/7Server/x86_64/primary_db                                  | 110 kB  00:00:01     
(15/19): rhel-7-server-optional-rpms/7Server/x86_64/primary_db| 4.9 MB  00:00:02     
(16/19): rhel-7-server-rpms/7Server/x86_64/group     | 701 kB  00:00:02     
(17/19): rhel-7-server-rpms/7Server/x86_64/updateinfo| 1.7 MB  00:00:02     
(18/19): virtio-win-stable/primary_db                | 2.3 kB  00:00:01     
(19/19): rhel-7-server-rpms/7Server/x86_64/primary_db|  31 MB  00:00:08     
repo id                                      repo name                                                            status
centos-opstools-testing/x86_64               CentOS-7 - OpsTools - testing repo                                      181
centos-ovirt-common-candidate/x86_64         CentOS-7 - oVirt common                                                 206
centos-ovirt41-candidate/x86_64              CentOS-7 - oVirt 4.1                                                     13
ovirt-4.1-centos-gluster38/x86_64            CentOS-7 - Gluster 3.8                                                  121
*ovirt-4.1-epel/x86_64                       Extra Packages for Enterprise Linux 7 - x86_64                       10,861
ovirt-4.1-patternfly1-noarch-epel/x86_64     Copr repo for patternfly1 owned by patternfly                             2
ovirt-4.1-pre/7Server                        oVirt 4.1 Pre-Release                                                   170
rhel-7-server-optional-rpms/7Server/x86_64   Red Hat Enterprise Linux 7 Server - Optional (RPMs)                  10,393
rhel-7-server-rh-common-rpms/7Server/x86_64  Red Hat Enterprise Linux 7 Server - RH Common (RPMs)                    209
rhel-7-server-rpms/7Server/x86_64            Red Hat Enterprise Linux 7 Server (RPMs)                             13,410
virtio-win-stable                            virtio-win builds roughly matching what was shipped in latest RHEL        4
repolist: 35,570


[root@ovirt41_01 ~]# yum install ovirt-vmconsole-host
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package ovirt-vmconsole-host.noarch 0:1.0.4-1.el7.centos will be installed
--> Processing Dependency: ovirt-vmconsole = 1.0.4-1.el7.centos for package: ovirt-vmconsole-host-1.0.4-1.el7.centos.noarch
--> Finished Dependency Resolution
Error: Package: ovirt-vmconsole-host-1.0.4-1.el7.centos.noarch (ovirt-4.1-pre)
           Requires: ovirt-vmconsole = 1.0.4-1.el7.centos
           Installed: ovirt-vmconsole-1.0.4-1.el7ev.noarch (@rhel-7-server-rhv-4-mgmt-agent-rpms)
               ovirt-vmconsole = 1.0.4-1.el7ev
           Available: ovirt-vmconsole-1.0.4-1.el7.centos.noarch (ovirt-4.1-pre)
               ovirt-vmconsole = 1.0.4-1.el7.centos
**********************************************************************
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-vmconsole-host-1.0.4-1.el7.centos.noarch (ovirt-4.1-pre)
           Requires: ovirt-vmconsole = 1.0.4-1.el7.centos
           Installed: ovirt-vmconsole-1.0.4-1.el7ev.noarch (@rhel-7-server-rhv-4-mgmt-agent-rpms)
               ovirt-vmconsole = 1.0.4-1.el7ev
           Available: ovirt-vmconsole-1.0.4-1.el7.centos.noarch (ovirt-4.1-pre)
               ovirt-vmconsole = 1.0.4-1.el7.centos
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Comment 1 Michal Skrivanek 2016-12-05 13:27:59 UTC
why do you mix RHEL and CentOS channels/repos?

Comment 2 Roman Hodain 2016-12-05 14:11:36 UTC
(In reply to Michal Skrivanek from comment #1)
> why do you mix RHEL and CentOS channels/repos?
Well I followed the release guide. 

    http://www.ovirt.org/release/4.1.0/

========================================================
In order to install it on a clean system, you need to install

# yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release41-pre.rpm
========================================================

It does sow any OS related information. I overlooked the ".centos" my bad.

I suppose the RHEL repo is not available yet?

The announce mail

    http://lists.ovirt.org/pipermail/announce/2016-December/000302.html

says that it should be available for RHEL as well.

Comment 3 Michal Skrivanek 2016-12-05 14:21:09 UTC
it is available on RHEL 7.3, but you shouldn't mix those channels with CentOS 7.2.
Here it's clashing since on CentOS we have it in ovirt repos with different suffix and it somehow sees it as a new version...hm, that's not ideal. 
Either way, why are you doing "yum install ovirt-vmconsole-host" yourself?  It seems it's already present (the el7ev "flavor" is), which is expected as these packages are supposedly installed during host-deploy.

Comment 4 Roman Hodain 2016-12-05 14:29:45 UTC
As it is dependency for the appliance.

BTW do you know where the RHEL repos for ovirt 4.1 are?

Comment 8 Michal Skrivanek 2016-12-06 07:55:57 UTC
may make sense to drop the %{dist} from spec

Comment 9 Roman Hodain 2016-12-06 08:55:28 UTC
This was my fault. I forgot vdsm package installed from the RHV channels. That caused the conflicts. It works with clean RHEL installation.

I think we can close the bugzilla (apologize for the confusion)

Comment 10 Francesco Romani 2016-12-13 13:13:57 UTC
closing as per https://bugzilla.redhat.com/show_bug.cgi?id=1401507#c9


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