RHV Fast Forward Upgrade 4.0 to 4.2 fails with YUM collectd error

Solution Verified - Updated -

Environment

RHV 4.0
RHV 4.2
RHV system running 4.0 upgrading to RHV 4.2

Issue

During a fast forward upgrade from RHV 4.0 to 4.2 YUM reports an error and the upgrade fails.

[ ERROR ] Failed to execute stage 'Environment customization': [u'collectd-write_http-5.8.0-3.el7.x86_64 requires collectd(x86-64) = 5.8.0-3.el7', u'collectd-disk-5.8.0-3.el7.x86_64 requires collectd(x86-64) = 5.8.0-3.el7']

Resolution

Disable the EPEL repository.

Root Cause

Customer had the EPEL repository enabled and this was pulling in collectd packages.

Diagnostic Steps

# engine-setup
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
          Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-wsp.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
          Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20181002133253-5yl2x5.log
          Version: otopi-1.6.3 (otopi-1.6.3-1.el7ev)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ INFO  ] Stage: Environment customization

          Welcome to the RHEV 4.1 setup/upgrade.
          Please read the RHEV 4.1 install guide
          https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.1/html/installation_guide/index.html
          Please refer to the RHEV Upgrade Helper application
          https://access.redhat.com/labs/rhevupgradehelper/ which will guide you in the upgrading process.
          Would you like to proceed? (Yes, No) [Yes]:

          --== PRODUCT OPTIONS ==--


          --== PACKAGES ==--

[ INFO  ] Checking for product updates...
[ ERROR ] Yum [u'collectd-write_http-5.8.0-3.el7.x86_64 requires collectd(x86-64) = 5.8.0-3.el7', u'collectd-disk-5.8.0-3.el7.x86_64 requires collectd(x86-64) = 5.8.0-3.el7']
[ INFO  ] Yum Performing yum transaction rollback
[ ERROR ] Failed to execute stage 'Environment customization': [u'collectd-write_http-5.8.0-3.el7.x86_64 requires collectd(x86-64) = 5.8.0-3.el7', u'collectd-disk-5.8.0-3.el7.x86_64 requires collectd(x86-64) = 5.8.0-3.el7']
[ INFO  ] Stage: Clean up
          Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20181002133253-5yl2x5.log
[ INFO  ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20181002133316-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments