Do not install the EPEL repository.  See also the remark in the release notes about this

    https://ovirt.org/release/4.2.0/#epel

Do a clean install of CentOS, install oVirt. Afterwards get anything extra from epel if required.

Nico

On Mon, Apr 30, 2018 at 1:35 AM, Sam McLeod <mailinglists@smcleod.net> wrote:
This started occurring on all new oVirt installs I've attempted to do on minimal CentOS 7 since 27/4.

I logged a bug for this on Bugzilla last week: https://bugzilla.redhat.com/show_bug.cgi?id=1572434

The package ovirt-hosted-engine-setup depends on collectd, collectd-disk and collectd-write_http.

ovirt-hosted-engine-setup depends on the two collectd plugins which are provided by the ovirt-4.2-centos-opstools repo - but those two packages seem to provide files that are already included in the standard collectd package from epel (which the package also depends on).

Additionally, this conflict is not picked up until the packages are at the install phase, resulting in:

Transaction check error:
  file /usr/lib64/collectd/disk.so conflicts between attempted installs of collectd-disk-5.8.0-3.el7.x86_64 and collectd-5.8.0-3.el7.x86_64
  file /usr/lib64/collectd/write_http.so conflicts between attempted installs of collectd-write_http-5.8.0-3.el7.x86_64 and collectd-5.8.0-3.el7.x86_64

---

root@s1-b2:~ 1 # yum info collectd-write_http
Loaded plugins: fastestmirror, priorities, protectbase, rpm-warm-cache, versionlock
Loading mirror speeds from cached hostfile
 * ovirt-4.2-epel: fedora.melbourneitmirror.net
0 packages excluded due to repository protections
Available Packages
Name        : collectd-write_http
Arch        : x86_64
Version     : 5.8.0
Release     : 3.el7
Size        : 33 k
Repo        : ovirt-4.2-centos-opstools/x86_64
Summary     : HTTP output plugin for collectd
URL         : https://collectd.org/
License     : MIT and GPLv2
Description : This plugin can send data to Redis.

root@s1-b2:~  # yum info collectd-disk-5.8.0-3.el7.x86_64
Loaded plugins: fastestmirror, priorities, protectbase, rpm-warm-cache, versionlock
Loading mirror speeds from cached hostfile
 * ovirt-4.2-epel: fedora.melbourneitmirror.net
0 packages excluded due to repository protections
Available Packages
Name        : collectd-disk
Arch        : x86_64
Version     : 5.8.0
Release     : 3.el7
Size        : 26 k
Repo        : ovirt-4.2-centos-opstools/x86_64
Summary     : Disk plugin for collectd
URL         : https://collectd.org/
License     : MIT and GPLv2
Description : This plugin collects statistics of harddisk and, where supported, partitions.

root@s1-b2:~  # yum info collectd-5.8.0-3.el7.x86_64
Loaded plugins: fastestmirror, priorities, protectbase, rpm-warm-cache, versionlock
Loading mirror speeds from cached hostfile
 * ovirt-4.2-epel: fedora.melbourneitmirror.net
0 packages excluded due to repository protections
Available Packages
Name        : collectd
Arch        : x86_64
Version     : 5.8.0
Release     : 3.el7
Size        : 711 k
Repo        : epel
Summary     : Statistics collection daemon for filling RRD files
URL         : https://collectd.org/
License     : GPLv2
Description : collectd is a daemon which collects system performance statistics periodically
            : and provides mechanisms to store the values in a variety of ways,
            : for example in RRD files.


--
Sam McLeod
Please respond via email when possible.
https://smcleod.net
https://twitter.com/s_mcleod


_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users




--

Nico De Ranter

Operations Engineer

T. +32 16 38 72 10



eSATURNUS
Romeinse straat 12
3001 Leuven – Belgium

T. +32 16 40 12 82
F. +32 16 40 84 77
www.esaturnus.com

For Service & Support 

Support Line: +32 16 387210 or via email : support@esaturnus.com