Description of problem: yum update or yum install of ovirt fails due to conflicting package versions of collectd, collectd-disk and collectd-write_http provided by the ovirt repos. ovirt-4.2-epel/x86_64 provides collectd-5.8.0-4, but collectd is supposed to come from the ovirt-4.2-centos-opstools repo, which only has collectd-5.8.0-3 and related packages at that version. If you disable the ovirt provided epel repo the packages install / update without issue: yum install ovirt-engine-appliance ovirt-host ovirt-hosted-engine-setup --enablerepo ovirt-4.2-centos-opstools --disablerepo ovirt-4.2-epel Version-Release number of selected component (if applicable): collectd 5.8.0-4 ovirt 4.2.3 CentOS 7.5 How reproducible: Every time. Steps to Reproduce: 1. yum install ovirt-engine-appliance ovirt-host ovirt-hosted-engine-setup Actual results: # yum install ovirt-engine-appliance ovirt-host ovirt-hosted-engine-setup Loaded plugins: enabled_repos_upload, fastestmirror, package_upload, priorities, product-id, protectbase, rpm-warm-cache, search-disabled-repos, subscription-manager, : versionlock This system is not registered with an entitlement server. You can use subscription-manager to register. Loading mirror speeds from cached hostfile 0 packages excluded due to repository protections Resolving Dependencies --> Running transaction check ---> Package ovirt-engine-appliance.noarch 0:4.2-20180504.1.el7.centos will be installed ---> Package ovirt-host.x86_64 0:4.2.2-2.el7.centos will be installed --> Processing Dependency: ovirt-host-dependencies = 4.2.2-2.el7.centos for package: ovirt-host-4.2.2-2.el7.centos.x86_64 --> Processing Dependency: cockpit-ovirt-dashboard for package: ovirt-host-4.2.2-2.el7.centos.x86_64 ---> Package ovirt-hosted-engine-setup.noarch 0:2.2.20-1.el7.centos will be installed --> Running transaction check ---> Package cockpit-ovirt-dashboard.noarch 0:0.11.24-1.el7.centos will be installed ---> Package ovirt-host-dependencies.x86_64 0:4.2.2-2.el7.centos will be installed --> Processing Dependency: collectd-netlink for package: ovirt-host-dependencies-4.2.2-2.el7.centos.x86_64 --> Processing Dependency: collectd-virt for package: ovirt-host-dependencies-4.2.2-2.el7.centos.x86_64 --> Processing Dependency: collectd-write_http for package: ovirt-host-dependencies-4.2.2-2.el7.centos.x86_64 --> Running transaction check ---> Package collectd-netlink.x86_64 0:5.8.0-4.el7 will be installed --> Processing Dependency: collectd(x86-64) = 5.8.0-4.el7 for package: collectd-netlink-5.8.0-4.el7.x86_64 ---> Package collectd-virt.x86_64 0:5.8.0-4.el7 will be installed ---> Package collectd-write_http.x86_64 0:5.8.0-3.el7 will be installed --> Processing Dependency: collectd(x86-64) = 5.8.0-3.el7 for package: collectd-write_http-5.8.0-3.el7.x86_64 --> Running transaction check ---> Package collectd.x86_64 0:5.8.0-3.el7 will be updated --> Processing Dependency: collectd(x86-64) = 5.8.0-3.el7 for package: collectd-write_http-5.8.0-3.el7.x86_64 --> Processing Dependency: collectd(x86-64) = 5.8.0-3.el7 for package: collectd-disk-5.8.0-3.el7.x86_64 ---> Package collectd.x86_64 0:5.8.0-4.el7 will be an update ---> Package collectd-write_http.x86_64 0:5.8.0-3.el7 will be installed --> Processing Dependency: collectd(x86-64) = 5.8.0-3.el7 for package: collectd-write_http-5.8.0-3.el7.x86_64 --> Finished Dependency Resolution Error: Package: collectd-write_http-5.8.0-3.el7.x86_64 (ovirt-4.2-centos-opstools) Requires: collectd(x86-64) = 5.8.0-3.el7 Removing: collectd-5.8.0-3.el7.x86_64 (@ovirt-4.2-centos-opstools) collectd(x86-64) = 5.8.0-3.el7 Updated By: collectd-5.8.0-4.el7.x86_64 (ovirt-4.2-epel) collectd(x86-64) = 5.8.0-4.el7 Available: collectd-5.7.2-1.el7.x86_64 (ovirt-4.2-centos-opstools) collectd(x86-64) = 5.7.2-1.el7 Available: collectd-5.7.2-3.el7.x86_64 (ovirt-4.2-centos-opstools) collectd(x86-64) = 5.7.2-3.el7 Available: collectd-5.8.0-2.el7.x86_64 (ovirt-4.2-centos-opstools) collectd(x86-64) = 5.8.0-2.el7 Error: Package: collectd-disk-5.8.0-3.el7.x86_64 (@ovirt-4.2-centos-opstools) Requires: collectd(x86-64) = 5.8.0-3.el7 Removing: collectd-5.8.0-3.el7.x86_64 (@ovirt-4.2-centos-opstools) collectd(x86-64) = 5.8.0-3.el7 Updated By: collectd-5.8.0-4.el7.x86_64 (ovirt-4.2-epel) collectd(x86-64) = 5.8.0-4.el7 Available: collectd-5.7.2-1.el7.x86_64 (ovirt-4.2-centos-opstools) collectd(x86-64) = 5.7.2-1.el7 Available: collectd-5.7.2-3.el7.x86_64 (ovirt-4.2-centos-opstools) collectd(x86-64) = 5.7.2-3.el7 Available: collectd-5.8.0-2.el7.x86_64 (ovirt-4.2-centos-opstools) collectd(x86-64) = 5.8.0-2.el7 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest Uploading Enabled Repositories Report Loaded plugins: fastestmirror, priorities, product-id, protectbase, rpm-warm- : cache, subscription-manager, versionlock Expected results: Packages to install without conflicts Additional info: The same problem can be reproduced when updating packages, you can also work around this by disabling the ovirt provided epel repo when performing the yum update: # yum update Loaded plugins: enabled_repos_upload, fastestmirror, package_upload, priorities, product-id, protectbase, rpm-warm-cache, search-disabled-repos, subscription-manager, : versionlock This system is not registered with an entitlement server. You can use subscription-manager to register. Loading mirror speeds from cached hostfile 0 packages excluded due to repository protections Resolving Dependencies --> Running transaction check ---> Package collectd.x86_64 0:5.8.0-3.el7 will be updated --> Processing Dependency: collectd(x86-64) = 5.8.0-3.el7 for package: collectd-write_http-5.8.0-3.el7.x86_64 --> Processing Dependency: collectd(x86-64) = 5.8.0-3.el7 for package: collectd-disk-5.8.0-3.el7.x86_64 ---> Package collectd.x86_64 0:5.8.0-4.el7 will be an update ---> Package collectd-netlink.x86_64 0:5.8.0-3.el7 will be updated ---> Package collectd-netlink.x86_64 0:5.8.0-4.el7 will be an update ---> Package collectd-virt.x86_64 0:5.8.0-3.el7 will be updated ---> Package collectd-virt.x86_64 0:5.8.0-4.el7 will be an update --> Finished Dependency Resolution Error: Package: collectd-write_http-5.8.0-3.el7.x86_64 (@ovirt-4.2-centos-opstools) Requires: collectd(x86-64) = 5.8.0-3.el7 Removing: collectd-5.8.0-3.el7.x86_64 (@ovirt-4.2-centos-opstools) collectd(x86-64) = 5.8.0-3.el7 Updated By: collectd-5.8.0-4.el7.x86_64 (ovirt-4.2-epel) collectd(x86-64) = 5.8.0-4.el7 Available: collectd-5.7.2-1.el7.x86_64 (ovirt-4.2-centos-opstools) collectd(x86-64) = 5.7.2-1.el7 Available: collectd-5.7.2-3.el7.x86_64 (ovirt-4.2-centos-opstools) collectd(x86-64) = 5.7.2-3.el7 Available: collectd-5.8.0-2.el7.x86_64 (ovirt-4.2-centos-opstools) collectd(x86-64) = 5.8.0-2.el7 Error: Package: collectd-disk-5.8.0-3.el7.x86_64 (@ovirt-4.2-centos-opstools) Requires: collectd(x86-64) = 5.8.0-3.el7 Removing: collectd-5.8.0-3.el7.x86_64 (@ovirt-4.2-centos-opstools) collectd(x86-64) = 5.8.0-3.el7 Updated By: collectd-5.8.0-4.el7.x86_64 (ovirt-4.2-epel) collectd(x86-64) = 5.8.0-4.el7 Available: collectd-5.7.2-1.el7.x86_64 (ovirt-4.2-centos-opstools) collectd(x86-64) = 5.7.2-1.el7 Available: collectd-5.7.2-3.el7.x86_64 (ovirt-4.2-centos-opstools) collectd(x86-64) = 5.7.2-3.el7 Available: collectd-5.8.0-2.el7.x86_64 (ovirt-4.2-centos-opstools) collectd(x86-64) = 5.8.0-2.el7 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest Uploading Enabled Repositories Report Loaded plugins: fastestmirror, priorities, product-id, protectbase, rpm-warm- : cache, subscription-manager, versionlock # yum update --enablerepo ovirt-4.2-centos-opstools --disablerepo ovirt-4.2-epel Loaded plugins: enabled_repos_upload, fastestmirror, package_upload, priorities, product-id, protectbase, rpm-warm-cache, search-disabled-repos, subscription-manager, : versionlock This system is not registered with an entitlement server. You can use subscription-manager to register. Loading mirror speeds from cached hostfile 0 packages excluded due to repository protections No packages marked for update Uploading Enabled Repositories Report Loaded plugins: fastestmirror, priorities, product-id, protectbase, rpm-warm- : cache, subscription-manager, versionlock
Can't reproduce this. Please note that ovirt-4.2-epel doesn't include collectd: [ovirt-4.2-epel] name=Extra Packages for Enterprise Linux 7 - $basearch #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch failovermethod=priority enabled=1 includepkgs= ansible, ansible-doc, epel-release, ioprocess, libtomcrypt, libtommath, ovirt-guest-agent*, puppet, python2-crypto, python2-ecdsa, python2-paramiko, python34*, python-argparse, python-ecdsa, python-ioprocess, python-ordereddict, python-paramiko, python-ply, rubygem-rgen, nbdkit, nbdkit-devel, nbdkit-plugin-python-common, nbdkit-plugin-python2 Did you change the repository config file on your system?
Closing with insufficient data resolution for now. Please reopen if you can provide needed info.
*** Bug 1592126 has been marked as a duplicate of this bug. ***
Re-opening since we got another report about this and I want to understand how it happens that epel repo is enabled.
Can you please post output of "yum repolist enabled"? I can't reproduce on clean install with: repo id repo name status base/7/x86_64 CentOS-7 - Base 9911 centos-sclo-rh-release/x86_64 CentOS-7 - SCLo rh 7514 extras/7/x86_64 CentOS-7 - Extras 313 ovirt-4.2/7 Latest oVirt 4.2 Release 1670 ovirt-4.2-centos-gluster312/x86_64 CentOS-7 - Gluster 3.12 189 ovirt-4.2-centos-opstools/x86_64 CentOS-7 - OpsTools - release 493 ovirt-4.2-centos-ovirt42/x86_64 CentOS-7 - oVirt 4.2 359 ovirt-4.2-centos-qemu-ev/x86_64 CentOS-7 - QEMU EV 55 ovirt-4.2-epel/x86_64 Extra Packages for Enterprise Linux 7 12584 ovirt-4.2-virtio-win-latest virtio-win builds roughly matching wha 37 updates/7/x86_64 CentOS-7 - Updates 695 which are supported repositories. Are you enabling epel repository for a specific reason?
Here is the O/P [nilesh@localhost ~]$ yum repolist enabled Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: centos.excellmedia.net * centos-virt-xen-epel: mirror1.ku.ac.th * elrepo: hkg.mirror.rackspace.com * epel: mirror1.ku.ac.th * extras: mirrors.vinahost.vn * nux-dextop: mirror.li.nux.ro * ovirt-4.2: ovirt.repo.nfrance.com * ovirt-4.2-epel: mirror1.ku.ac.th * updates: centos-hn.viettelidc.com.vn repo id repo name status base/7/x86_64 CentOS-7 - Base 9,911 centos-sclo-rh-release/x86_64 CentOS-7 - SCLo rh 7,514 centos-virt-xen-46/7/x86_64 CentOS-7 - xen 249 centos-virt-xen-epel/7/x86_64 Extra Packages from EPEL for Xen - x86_64 12,584 elrepo ELRepo.org Community Enterprise Linux Repository - el7 254 epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 12,584 extras/7/x86_64 CentOS-7 - Extras 313 google-earth-pro google-earth-pro 2 nux-dextop/x86_64 Nux.Ro RPMs for general desktop use 2,653 ovirt-4.2/7 Latest oVirt 4.2 Release 1,670 ovirt-4.2-centos-gluster312/x86_64 CentOS-7 - Gluster 3.12 189 ovirt-4.2-centos-opstools/x86_64 CentOS-7 - OpsTools - release 493 ovirt-4.2-centos-ovirt42/x86_64 CentOS-7 - oVirt 4.2 359 ovirt-4.2-centos-qemu-ev/x86_64 CentOS-7 - QEMU EV 55 ovirt-4.2-epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 12,584 ovirt-4.2-virtio-win-latest virtio-win builds roughly matching what will be shipped in upcoming RHEL 37 updates/7/x86_64 CentOS-7 - Updates 695 repolist: 62,146 [nilesh@localhost ~]$
Sorry all, have been insanely busy this week. (In reply to Sandro Bonazzola from comment #1) > Did you change the repository config file on your system? As a policy we do not let packages rewrite (or create) yum repo configuration, that is 100% managed by automation so any 'unmanaged' repo files are cleaned up as they can result in an unmanaged state. What we do is we get deploy the yum repos from automation (puppet in our case) and those manage from the ovirt package that places them there on an unmanaged system, so they should always be the same (with the addition of our SOE settings like our proxy). I see that list of custom package includes has been added (I'm assuming by an ovirt upgrade at some point) - this wasn't there when we last deployed the repo so I can add those in. ``` # cat ovirt-4.2-epel.repo [ovirt-4.2-epel] name=Extra Packages for Enterprise Linux 7 - $basearch baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch enabled=1 gpgcheck=1 gpgkey=https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7 exclude= retries=2 timeout=5 protect=0 proxy=http://int-proxy-vip.<redacted> sslverify=True skip_if_unavailable=1 ``` It's not ideal having packages that install their own yum repos at the best of times, but it's even worse when they do that and have lots of workarounds in them like including or excluding packages. (In reply to Sandro Bonazzola from comment #5) > Can you please post output of "yum repolist enabled"? ``` # yum repolist enabled Loaded plugins: enabled_repos_upload, fastestmirror, package_upload, priorities, product-id, protectbase, rpm-warm-cache, search-disabled-repos, subscription-manager, versionlock This system is not registered with an entitlement server. You can use subscription-manager to register. Loading mirror speeds from cached hostfile 0 packages excluded due to repository protections repo id repo name status base/7/x86_64 base 9,911 centos-sclo-rh-release/x86_64 CentOS-7 - SCLo rh 7,514 elrepo-kernel/7/x86_64 ELRepo.org Community Enterprise Linux Kernel Repository - el7 - x86_64 37 extras/7/x86_64 extras 313 ixa packages hosted by Infoxchange 139 ovirt-4.2/7 Latest oVirt 4.2 Release 1,670 ovirt-4.2-centos-gluster312/x86_64 CentOS-7 - Gluster 3.12 189 ovirt-4.2-centos-opstools/x86_64 CentOS-7 - OpsTools - release 493 ovirt-4.2-centos-ovirt42/x86_64 CentOS-7 - oVirt 4.2 359 ovirt-4.2-centos-qemu-ev/x86_64 CentOS-7 - QEMU EV 55 ovirt-4.2-epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 12,584 ovirt-4.2-virtio-win-latest virtio-win builds roughly matching what will be shipped in upcoming RHEL 37 pe_repo Puppet Managed Package Repo 26 updates/7/x86_64 updates 695 repolist: 34,022 Uploading Enabled Repositories Report Loaded plugins: fastestmirror, priorities, product-id, protectbase, rpm-warm- : cache, subscription-manager, versionlock ```
Ok, thanks for the info you provided. I'm going to close this as not a bug. Both the configurations have repositories which are not the ones we support in oVirt. In one case epel/x86_64 is enabled, pulling in the offending packages. In the other case ovirt-4.2-epel is used without the includepkgs directive. If you need EPEL for other packages, please add as a minimum: exclude=collectd* in the epel repository configuration. Thanks.
(In reply to Sandro Bonazzola from comment #8) > > If you need EPEL for other packages, please add as a minimum: > exclude=collectd* > in the epel repository configuration. > Here is the ovirt-4.2-epel repository, [ovirt-4.2-epel] name=Extra Packages for Enterprise Linux 7 - $basearch #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch failovermethod=priority enabled=1 includepkgs= ansible, ansible-doc, epel-release, ioprocess, libtomcrypt, libtommath, ovirt-guest-agent*, puppet, python2-crypto, python2-ecdsa, python2-paramiko, python34*, python-argparse, python-ecdsa, python-ioprocess, python-ordereddict, python-paramiko, python-ply, rubygem-rgen, nbdkit, nbdkit-devel gpgcheck=1 gpgkey=https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7 and the epel repository [epel] name=Extra Packages for Enterprise Linux 7 - $basearch #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch failovermethod=priority enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 [epel-debuginfo] name=Extra Packages for Enterprise Linux 7 - $basearch - Debug #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch failovermethod=priority enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 gpgcheck=1 [epel-source] name=Extra Packages for Enterprise Linux 7 - $basearch - Source #baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch failovermethod=priority enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 gpgcheck=1 So, the above code "excluded=collect*", where and in which file should be added. And so for above asked question, I have not manually edited any of the repo files till now, all the files have been generated by different programs itself.
In epel repo: [epel] name=Extra Packages for Enterprise Linux 7 - $basearch #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch failovermethod=priority enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 exclude=collectd*
Hi MSG: Error: Package: nbdkit-plugin-vddk-1.2.6-1.el7_6.2.x86_64 (updates) Requires: nbdkit(x86-64) = 1.2.6-1.el7_6.2 Available: nbdkit-1.2.6-1.el7.x86_64 (base) nbdkit(x86-64) = 1.2.6-1.el7 Available: nbdkit-1.2.6-1.el7_6.2.x86_64 (updates) nbdkit(x86-64) = 1.2.6-1.el7_6.2 Installing: nbdkit-1.2.7-2.el7.x86_64 (ovirt-4.2-epel) nbdkit(x86-64) = 1.2.7-2.el7 Cannot upload enabled repos report, is this client registered? 2018-12-10 16:32:38,895 p=23757 u=ovirt | PLAY RECAP ********************************************************************* 2018-12-10 16:32:38,895 p=23757 u=ovirt | ovirt-hv3.pbtech : ok=1 changed=0 unreachable=0 failed=1
(In reply to Douglas Duckworth from comment #11) > Hi > > MSG: > > Error: Package: nbdkit-plugin-vddk-1.2.6-1.el7_6.2.x86_64 (updates) > Requires: nbdkit(x86-64) = 1.2.6-1.el7_6.2 > Available: nbdkit-1.2.6-1.el7.x86_64 (base) > nbdkit(x86-64) = 1.2.6-1.el7 > Available: nbdkit-1.2.6-1.el7_6.2.x86_64 (updates) > nbdkit(x86-64) = 1.2.6-1.el7_6.2 > Installing: nbdkit-1.2.7-2.el7.x86_64 (ovirt-4.2-epel) > nbdkit(x86-64) = 1.2.7-2.el7 > Cannot upload enabled repos report, is this client registered? > > > 2018-12-10 16:32:38,895 p=23757 u=ovirt | PLAY RECAP > ********************************************************************* > 2018-12-10 16:32:38,895 p=23757 u=ovirt | ovirt-hv3.pbtech : ok=1 > changed=0 unreachable=0 failed=1 This comment is not relevant for the original bug, a new bug should have been opened for this. Next time, please open a new bug. About your issue, looks like your system is not seeing nbdkit-plugin-vddk in epel repo. The package is enabled in epel repo from ovirt-release424 since ovirt-release42-4.2.7_rc4. Please yum upgrade ovirt-release42 and retry.