[SOLVED] RHEVM Update from 4.0 to 4.1 failed

Latest response

Hello,

i have the problem that i can't update to 4.1.

Here is the output:

[root@rhevm ~]# 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-20170517203636-9m3l61.log
          Version: otopi-1.6.1 (otopi-1.6.1-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/site/documentation/en-US/Red_Hat_Enterprise_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]: yes

          --== PRODUCT OPTIONS ==--


          --== PACKAGES ==--

[ INFO  ] Checking for product updates...
[ ERROR ] Yum [u'collectd-write_http-5.7.0-4.el7.x86_64 ben\xf6tigt collectd(x86-64) = 5.7.0-4.el7', u'collectd-disk-5.7.0-4.el7.x86_64 ben\xf6tigt collectd(x86-64) = 5.7.0-4.el7']
[ INFO  ] Yum Performing yum transaction rollback
[ ERROR ] Failed to execute stage 'Environment customization': [u'collectd-write_http-5.7.0-4.el7.x86_64 ben\xf6tigt collectd(x86-64) = 5.7.0-4.el7', u'collectd-disk-5.7.0-4.el7.x86_64 ben\xf6tigt collectd(x86-64) = 5.7.0-4.el7']
[ INFO  ] Stage: Clean up
          Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20170517203636-9m3l61.log
[ INFO  ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20170517203648-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed

Logfile is attached

Attachments

Responses

It looks like a package version mismatch or the package is missing: collectd-write_http-5.7.0-4.el7.x86_64 requires collectd(x86-64) = 5.7.0-4.el7 collectd-disk-5.7.0-4.el7.x86_64 requires collectd(x86-64) = 5.7.0-4.el7

Check if the collectd package is present and the version is the same.

Collectd is installed:

collectd.x86_64             5.7.0-4.el7                      @rhel-7-server-rhv-4.1-rpms
collectd-disk.x86_64        5.7.0-4.el7                      @rhel-7-server-rhv-4.1-rpms
collectd-write_http.x86_64  5.7.0-4.el7                      @rhel-7-server-rhv-4.1-rpms
libcollectdclient.x86_64    5.7.0-4.el7                      @rhel-7-server-rhv-4.1-rpms

I think i found the solution.

Remove all collectd packages and then only install collectd.x86_64. It is working now.

I met the similar problem and fixed it by disabling the EPEL repo, because EPEL has newer version of collectd

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.