Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1548843

Summary: [Upgrade] Failed to upgrade 4.1.9.1 engine to 4.2.2.3 due to dependency issues on engine.
Product: [oVirt] ovirt-engine Reporter: Nikolai Sednev <nsednev>
Component: Setup.EngineAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED WORKSFORME QA Contact: Pavel Stehlik <pstehlik>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 4.2.2CC: bugs
Target Milestone: ---Flags: nsednev: planning_ack?
nsednev: devel_ack?
nsednev: testing_ack?
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-25 17:43:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nikolai Sednev 2018-02-25 12:35:30 UTC
Description of problem:

I was trying to upgrade the 4.1.9.1 engine, which had been upgraded from rhel7.4 to rhel7.5 OS and restarted, but then received "Error: rhvm-setup-plugins conflicts with ovirt-engine-4.1.9.1-0.1.el7.noarch" message, when tried to upgrade ovirt-engine-setup package on the engine.

# yum update ovirt-engine-setup ovirt-engine-setup-plugin-websocket-proxy ovirt-engine-dwh-setup
--> Finished Dependency Resolution
Error: rhvm-setup-plugins conflicts with ovirt-engine-4.1.9.1-0.1.el7.noarch

he-1 ~]# 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-20180225071812-w8a4nl.log
          Version: otopi-1.7.7 (otopi-1.7.7-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...
          Setup has found updates for some packages:
          PACKAGE: [install] 1:apache-commons-io-2.4-12.el7.noarch
          PACKAGE: [install] archaius-core-0.4.1-1.el7ev.noarch
          PACKAGE: [install] cockpit-dashboard-157-1.el7.x86_64
          PACKAGE: [install] cockpit-ws-157-1.el7.x86_64
          PACKAGE: [install] glib-networking-2.50.0-1.el7.x86_64
          PACKAGE: [install] glusterfs-3.8.4-54.el7.x86_64
          PACKAGE: [install] glusterfs-api-3.8.4-54.el7.x86_64
          PACKAGE: [install] glusterfs-client-xlators-3.8.4-54.el7.x86_64
          PACKAGE: [install] glusterfs-libs-3.8.4-54.el7.x86_64
          PACKAGE: [install] gnutls-3.3.26-9.el7.x86_64
          PACKAGE: [install] gsettings-desktop-schemas-3.24.1-1.el7.x86_64
          PACKAGE: [install] httpcomponents-client-4.2.5-5.el7_0.noarch
          PACKAGE: [install] httpcomponents-core-4.2.4-6.el7.noarch
          PACKAGE: [install] hystrix-core-1.4.21-6.el7ev.noarch
          PACKAGE: [install] hystrix-metrics-event-stream-1.4.21-6.el7ev.noarch
          PACKAGE: [install] jackson-core-2.6.3-1.el7ev.noarch
          PACKAGE: [install] jboss-annotations-1.1-api-1.0.1-0.6.20120212git76e1a2.el7.noarch
          PACKAGE: [install] jctools-1.1-0.3.alpha.el7ev.noarch
          PACKAGE: [install] json-glib-1.2.6-1.el7.x86_64
          PACKAGE: [install] libmodman-2.0.1-8.el7.x86_64
          PACKAGE: [install] libproxy-0.4.11-11.el7.x86_64
          PACKAGE: [install] libssh-0.7.1-3.el7.x86_64
          PACKAGE: [install] nettle-2.7.1-8.el7.x86_64
          PACKAGE: [install] openstack-java-cinder-client-3.1.2-2.el7.noarch
          PACKAGE: [install] openstack-java-cinder-model-3.1.2-2.el7.noarch
          PACKAGE: [install] openstack-java-client-3.1.2-2.el7.noarch
          PACKAGE: [install] openstack-java-glance-client-3.1.2-2.el7.noarch
          PACKAGE: [install] openstack-java-glance-model-3.1.2-2.el7.noarch
          PACKAGE: [install] openstack-java-keystone-client-3.1.2-2.el7.noarch
          PACKAGE: [install] openstack-java-keystone-model-3.1.2-2.el7.noarch
          PACKAGE: [install] openstack-java-quantum-client-3.1.2-2.el7.noarch
          PACKAGE: [install] openstack-java-quantum-model-3.1.2-2.el7.noarch
          PACKAGE: [install] openstack-java-resteasy-connector-3.1.2-2.el7.noarch
          PACKAGE: [install] openvswitch-2.7.3-2.git20171010.el7fdp.x86_64
          PACKAGE: [install] openvswitch-ovn-central-2.7.3-2.git20171010.el7fdp.x86_64
          PACKAGE: [install] openvswitch-ovn-common-2.7.3-2.git20171010.el7fdp.x86_64
          PACKAGE: [install] ovirt-ansible-cluster-upgrade-1.1.5-1.el7ev.noarch
          PACKAGE: [install] ovirt-ansible-disaster-recovery-0.2-1.el7ev.noarch
          PACKAGE: [install] ovirt-ansible-engine-setup-1.1.0-1.el7ev.noarch
          PACKAGE: [install] ovirt-ansible-image-template-1.1.5-1.el7ev.noarch
          PACKAGE: [install] ovirt-ansible-infra-1.1.3-1.el7ev.noarch
          PACKAGE: [install] ovirt-ansible-manageiq-1.1.5-1.el7ev.noarch
          PACKAGE: [install] ovirt-ansible-repositories-1.1.0-1.el7ev.noarch
          PACKAGE: [install] ovirt-ansible-roles-1.1.3-1.el7ev.noarch
          PACKAGE: [install] ovirt-ansible-vm-infra-1.1.5-1.el7ev.noarch
          PACKAGE: [install] ovirt-cockpit-sso-0.0.4-1.el7ev.noarch
          PACKAGE: [updated] ovirt-engine-4.1.9.1-0.1.el7.noarch
          PACKAGE: [obsoleting] ovirt-engine-4.2.2.1-0.1.el7.noarch
          PACKAGE: [install] ovirt-engine-api-explorer-0.0.1-1.el7ev.noarch
          PACKAGE: [updated] ovirt-engine-backend-4.1.9.1-0.1.el7.noarch
          PACKAGE: [update] ovirt-engine-backend-4.2.2.1-0.1.el7.noarch
          PACKAGE: [updated] ovirt-engine-dashboard-1.1.8-1.el7ev.noarch
          PACKAGE: [update] ovirt-engine-dashboard-1.2.2-1.el7ev.noarch
          PACKAGE: [updated] ovirt-engine-dbscripts-4.1.9.1-0.1.el7.noarch
          PACKAGE: [update] ovirt-engine-dbscripts-4.2.2.1-0.1.el7.noarch
          PACKAGE: [updated] ovirt-engine-dwh-4.1.9-1.el7ev.noarch
          PACKAGE: [update] ovirt-engine-dwh-4.2.2.1-1.el7ev.noarch
          PACKAGE: [updated] ovirt-engine-dwh-setup-4.1.9-1.el7ev.noarch
          PACKAGE: [update] ovirt-engine-dwh-setup-4.2.2.1-1.el7ev.noarch
          PACKAGE: [updated] ovirt-engine-extension-aaa-jdbc-1.1.6-1.el7ev.noarch
          PACKAGE: [update] ovirt-engine-extension-aaa-jdbc-1.1.7-1.el7ev.noarch
          PACKAGE: [updated] ovirt-engine-extensions-api-impl-4.1.9.1-0.1.el7.noarch
          PACKAGE: [update] ovirt-engine-extensions-api-impl-4.2.2.1-0.1.el7.noarch
          PACKAGE: [updated] ovirt-engine-lib-4.1.9.1-0.1.el7.noarch
          PACKAGE: [update] ovirt-engine-lib-4.2.2.1-0.1.el7.noarch
          PACKAGE: [updated] ovirt-engine-metrics-1.0.8-1.el7ev.noarch
          PACKAGE: [update] ovirt-engine-metrics-1.1.3.2-1.el7ev.noarch
          PACKAGE: [updated] ovirt-engine-restapi-4.1.9.1-0.1.el7.noarch
          PACKAGE: [update] ovirt-engine-restapi-4.2.2.1-0.1.el7.noarch
          PACKAGE: [updated] ovirt-engine-setup-4.1.9.1-0.1.el7.noarch
          PACKAGE: [update] ovirt-engine-setup-4.2.2.1-0.1.el7.noarch
          PACKAGE: [updated] ovirt-engine-setup-base-4.1.9.1-0.1.el7.noarch
          PACKAGE: [update] ovirt-engine-setup-base-4.2.2.1-0.1.el7.noarch
          PACKAGE: [updated] ovirt-engine-setup-plugin-ovirt-engine-4.1.9.1-0.1.el7.noarch
          PACKAGE: [update] ovirt-engine-setup-plugin-ovirt-engine-4.2.2.1-0.1.el7.noarch
          PACKAGE: [updated] ovirt-engine-setup-plugin-ovirt-engine-common-4.1.9.1-0.1.el7.noarch
          PACKAGE: [update] ovirt-engine-setup-plugin-ovirt-engine-common-4.2.2.1-0.1.el7.noarch
          PACKAGE: [updated] ovirt-engine-setup-plugin-vmconsole-proxy-helper-4.1.9.1-0.1.el7.noarch
          PACKAGE: [update] ovirt-engine-setup-plugin-vmconsole-proxy-helper-4.2.2.1-0.1.el7.noarch
          PACKAGE: [updated] ovirt-engine-setup-plugin-websocket-proxy-4.1.9.1-0.1.el7.noarch
          PACKAGE: [update] ovirt-engine-setup-plugin-websocket-proxy-4.2.2.1-0.1.el7.noarch
          PACKAGE: [updated] ovirt-engine-tools-4.1.9.1-0.1.el7.noarch
          PACKAGE: [update] ovirt-engine-tools-4.2.2.1-0.1.el7.noarch
          PACKAGE: [updated] ovirt-engine-tools-backup-4.1.9.1-0.1.el7.noarch
          PACKAGE: [update] ovirt-engine-tools-backup-4.2.2.1-0.1.el7.noarch
          PACKAGE: [obsoleted] ovirt-engine-userportal-4.1.9.1-0.1.el7.noarch
          PACKAGE: [updated] ovirt-engine-vmconsole-proxy-helper-4.1.9.1-0.1.el7.noarch
          PACKAGE: [update] ovirt-engine-vmconsole-proxy-helper-4.2.2.1-0.1.el7.noarch
          PACKAGE: [updated] ovirt-engine-webadmin-portal-4.1.9.1-0.1.el7.noarch
          PACKAGE: [update] ovirt-engine-webadmin-portal-4.2.2.1-0.1.el7.noarch
          PACKAGE: [updated] ovirt-engine-websocket-proxy-4.1.9.1-0.1.el7.noarch
          PACKAGE: [update] ovirt-engine-websocket-proxy-4.2.2.1-0.1.el7.noarch
          PACKAGE: [updated] ovirt-host-deploy-1.6.7-1.el7ev.noarch
          PACKAGE: [update] ovirt-host-deploy-1.7.2-1.el7ev.noarch
          PACKAGE: [updated] ovirt-host-deploy-java-1.6.7-1.el7ev.noarch
          PACKAGE: [update] ovirt-host-deploy-java-1.7.2-1.el7ev.noarch
          PACKAGE: [updated] ovirt-iso-uploader-4.0.2-1.el7ev.noarch
          PACKAGE: [update] ovirt-iso-uploader-4.2.0-1.el7ev.noarch
          PACKAGE: [install] ovirt-js-dependencies-1.2.0-3.1.el7ev.noarch
          PACKAGE: [updated] ovirt-log-collector-4.1.7-1.el7ev.noarch
          PACKAGE: [update] ovirt-log-collector-4.2.4-1.el7ev.noarch
          PACKAGE: [install] ovirt-provider-ovn-1.2.7-2.el7ev.noarch
          PACKAGE: [install] python-extras-0.0.3-8.el7ost.noarch
          PACKAGE: [install] python-fixtures-3.0.0-2.el7ost.noarch
          PACKAGE: [install] python-linecache2-1.0.0-1.el7ost.noarch
          PACKAGE: [install] python-mimeparse-0.1.4-6.el7ost.noarch
          PACKAGE: [install] python-netaddr-0.7.18-1.el7ost.noarch
          PACKAGE: [install] python-openvswitch-2.7.3-2.git20171010.el7fdp.noarch
          PACKAGE: [updated] python-ovirt-engine-sdk4-4.1.7-1.el7ev.x86_64
          PACKAGE: [update] python-ovirt-engine-sdk4-4.2.4-1.el7ev.x86_64
          PACKAGE: [install] python-ovsdbapp-0.6.0-1.el7ev.noarch
          PACKAGE: [install] python-testtools-1.8.0-2.el7ost.noarch
          PACKAGE: [install] python-traceback2-1.4.0-2.el7ost.noarch
          PACKAGE: [install] python-unittest2-1.0.1-1.el7ost.noarch
          PACKAGE: [install] python2-pbr-3.1.1-1.el7ost.noarch
          PACKAGE: [obsoleted] redhat-support-plugin-rhev-4.1.0-1.el7.noarch
          PACKAGE: [install] resteasy-base-jaxrs-3.0.6-4.el7.noarch
          PACKAGE: [install] resteasy-base-jaxrs-api-3.0.6-4.el7.noarch
          PACKAGE: [install] rh-postgresql95-postgresql-9.5.9-1.el7.x86_64
          PACKAGE: [install] rh-postgresql95-postgresql-contrib-9.5.9-1.el7.x86_64
          PACKAGE: [install] rh-postgresql95-postgresql-libs-9.5.9-1.el7.x86_64
          PACKAGE: [install] rh-postgresql95-postgresql-server-9.5.9-1.el7.x86_64
          PACKAGE: [install] rh-postgresql95-runtime-2.2-2.el7.x86_64
          PACKAGE: [obsoleted] rhevm-4.1.9.1-0.1.el7.noarch
          PACKAGE: [obsoleted] rhevm-branding-rhev-4.1.8-1.el7ev.noarch
          PACKAGE: [obsoleted] rhevm-dependencies-4.1.1-1.el7ev.noarch
          PACKAGE: [obsoleted] rhevm-doc-4.1.8-1.el7ev.noarch
          PACKAGE: [obsoleted] rhevm-setup-plugins-4.1.4-1.el7ev.noarch
          PACKAGE: [obsoleting] rhvm-4.2.2.1-0.1.el7.noarch
          PACKAGE: [obsoleting] rhvm-branding-rhv-4.2.2-1.el7ev.noarch
          PACKAGE: [obsoleting] rhvm-dependencies-4.2.1-1.el7ev.noarch
          PACKAGE: [obsoleting] rhvm-doc-4.2.2-1.el7ev.noarch
          PACKAGE: [obsoleting] rhvm-setup-plugins-4.2.3-1.el7ev.noarch
          PACKAGE: [install] rxjava-1.0.13-3.el7ev.noarch
          PACKAGE: [install] scannotation-1.0.3-0.7.r12.el7.noarch
          PACKAGE: [install] trousers-0.3.14-2.el7.x86_64
          PACKAGE: [install] uuid-1.6.2-26.el7.x86_64
          PACKAGE: [updated] vdsm-jsonrpc-java-1.3.16-1.el7ev.noarch
          PACKAGE: [update] vdsm-jsonrpc-java-1.4.11-1.el7ev.noarch
          do you wish to update them now? (Yes, No) [Yes]: 
[ INFO  ] Checking for an update for Setup...
          An update for the Setup packages ovirt-engine-setup ovirt-engine-setup-plugin-websocket-proxy ovirt-engine-dwh-setup was found. Please update that package by running:
          "yum update ovirt-engine-setup ovirt-engine-setup-plugin-websocket-proxy ovirt-engine-dwh-setup"
          and then execute Setup again.
[ ERROR ] Failed to execute stage 'Environment customization': Please update the Setup packages
[ INFO  ] Stage: Clean up
          Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20180225071812-w8a4nl.log
[ INFO  ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20180225071848-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed



Version-Release number of selected component (if applicable):
ovirt-engine-setup-4.1.9.1-0.1.el7.noarch
rhv-release-4.2.2-3-001.noarch
Linux 3.10.0-855.el7.x86_64 #1 SMP Tue Feb 20 06:46:45 EST 2018 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 7.5 Beta (Maipo)

How reproducible:
100%

Steps to Reproduce:
1.Following ovirt-engine-setup-4.1.9.1-0.1.el7.noarch, customer had to upgrade the engine using 4.2 repos, while 4.1 ha-hosts were in global maintenance.
2.Engine's upgrade failed because of the dependency issues on engine.


Actual results:
Upgrade failed on engine.

Expected results:
4.1 engine should be upgraded successfully, when it has 4.2 repos with no dependency issues.

Additional info:

Comment 1 Nikolai Sednev 2018-02-25 17:43:08 UTC
I also tried to upgrade the engine to the latest bits of 4.1.10.1-0.1, which is ovirt-engine-setup-4.1.10.1-0.1.el7.noarch, I ran engine-setup to upgrade to latest bits the engine and succeeded.
Then I was still unable to yum update to ovirt-engine-setup-4.2.2.1-0.1.el7.noarch:

Moving to closed as it works for me.

 nsednev-he-1 ~]# 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-20180225123534-2iy676.log
          Version: otopi-1.7.7 (otopi-1.7.7-1.el7ev)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ INFO  ] Stage: Environment customization
         
          Welcome to the RHV 4.2 setup/upgrade.
          Please read the RHV 4.2 install guide
          https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/html/installation_guide/index.html
          Please refer to the RHV 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 ==--
         
          Configure ovirt-provider-ovn (Yes, No) [Yes]: 
         
          --== PACKAGES ==--
         
[ INFO  ] Checking for product updates...
          Setup needs to install or update the following packages:
          [install] 1:apache-commons-io-2.4-12.el7.noarch will be installed
          [install] archaius-core-0.4.1-1.el7ev.noarch will be installed
          [install] cockpit-dashboard-157-1.el7.x86_64 will be installed
          [install] cockpit-ws-157-1.el7.x86_64 will be installed
          [install] glib-networking-2.50.0-1.el7.x86_64 will be installed
          [install] glusterfs-3.8.4-54.el7.x86_64 will be installed
          [install] glusterfs-api-3.8.4-54.el7.x86_64 will be installed
          [install] glusterfs-client-xlators-3.8.4-54.el7.x86_64 will be installed
          [install] glusterfs-libs-3.8.4-54.el7.x86_64 will be installed
          [install] gnutls-3.3.26-9.el7.x86_64 will be installed
          [install] gsettings-desktop-schemas-3.24.1-1.el7.x86_64 will be installed
          [install] httpcomponents-client-4.2.5-5.el7_0.noarch will be installed
          [install] httpcomponents-core-4.2.4-6.el7.noarch will be installed
          [install] hystrix-core-1.4.21-6.el7ev.noarch will be installed
          [install] hystrix-metrics-event-stream-1.4.21-6.el7ev.noarch will be installed
          [install] jackson-core-2.6.3-1.el7ev.noarch will be installed
          [install] jboss-annotations-1.1-api-1.0.1-0.6.20120212git76e1a2.el7.noarch will be installed
          [install] jctools-1.1-0.3.alpha.el7ev.noarch will be installed
          [install] json-glib-1.2.6-1.el7.x86_64 will be installed
          [install] libmodman-2.0.1-8.el7.x86_64 will be installed
          [install] libproxy-0.4.11-11.el7.x86_64 will be installed
          [install] libssh-0.7.1-3.el7.x86_64 will be installed
          [install] nettle-2.7.1-8.el7.x86_64 will be installed
          [install] openstack-java-cinder-client-3.1.2-2.el7.noarch will be installed
          [install] openstack-java-cinder-model-3.1.2-2.el7.noarch will be installed
          [install] openstack-java-client-3.1.2-2.el7.noarch will be installed
          [install] openstack-java-glance-client-3.1.2-2.el7.noarch will be installed
          [install] openstack-java-glance-model-3.1.2-2.el7.noarch will be installed
          [install] openstack-java-keystone-client-3.1.2-2.el7.noarch will be installed
          [install] openstack-java-keystone-model-3.1.2-2.el7.noarch will be installed
          [install] openstack-java-quantum-client-3.1.2-2.el7.noarch will be installed
          [install] openstack-java-quantum-model-3.1.2-2.el7.noarch will be installed
          [install] openstack-java-resteasy-connector-3.1.2-2.el7.noarch will be installed
          [install] ovirt-ansible-cluster-upgrade-1.1.5-1.el7ev.noarch will be installed
          [install] ovirt-ansible-disaster-recovery-0.2-1.el7ev.noarch will be installed
          [install] ovirt-ansible-engine-setup-1.1.0-1.el7ev.noarch will be installed
          [install] ovirt-ansible-image-template-1.1.5-1.el7ev.noarch will be installed
          [install] ovirt-ansible-infra-1.1.3-1.el7ev.noarch will be installed
          [install] ovirt-ansible-manageiq-1.1.5-1.el7ev.noarch will be installed
          [install] ovirt-ansible-repositories-1.1.0-1.el7ev.noarch will be installed
          [install] ovirt-ansible-roles-1.1.3-1.el7ev.noarch will be installed
          [install] ovirt-ansible-vm-infra-1.1.5-1.el7ev.noarch will be installed
          [install] ovirt-cockpit-sso-0.0.4-1.el7ev.noarch will be installed
          [updated] ovirt-engine-4.1.10.1-0.1.el7.noarch will be updated
          [obsoleting] ovirt-engine-4.2.2.1-0.1.el7.noarch will be installed
          [install] ovirt-engine-api-explorer-0.0.1-1.el7ev.noarch will be installed
          [updated] ovirt-engine-backend-4.1.10.1-0.1.el7.noarch will be updated
          [update] ovirt-engine-backend-4.2.2.1-0.1.el7.noarch is an update
          [updated] ovirt-engine-dashboard-1.1.8-1.el7ev.noarch will be updated
          [update] ovirt-engine-dashboard-1.2.2-1.el7ev.noarch is an update
          [updated] ovirt-engine-dbscripts-4.1.10.1-0.1.el7.noarch will be updated
          [update] ovirt-engine-dbscripts-4.2.2.1-0.1.el7.noarch is an update
          [updated] ovirt-engine-dwh-4.1.9-1.el7ev.noarch will be updated
          [update] ovirt-engine-dwh-4.2.2.1-1.el7ev.noarch is an update
          [updated] ovirt-engine-extension-aaa-jdbc-1.1.6-1.el7ev.noarch will be updated
          [update] ovirt-engine-extension-aaa-jdbc-1.1.7-1.el7ev.noarch is an update
          [updated] ovirt-engine-extensions-api-impl-4.1.10.1-0.1.el7.noarch will be updated
          [update] ovirt-engine-extensions-api-impl-4.2.2.1-0.1.el7.noarch is an update
          [updated] ovirt-engine-metrics-1.0.8-1.el7ev.noarch will be updated
          [update] ovirt-engine-metrics-1.1.3.2-1.el7ev.noarch is an update
          [updated] ovirt-engine-restapi-4.1.10.1-0.1.el7.noarch will be updated
          [update] ovirt-engine-restapi-4.2.2.1-0.1.el7.noarch is an update
          [updated] ovirt-engine-tools-4.1.10.1-0.1.el7.noarch will be updated
          [update] ovirt-engine-tools-4.2.2.1-0.1.el7.noarch is an update
          [updated] ovirt-engine-tools-backup-4.1.10.1-0.1.el7.noarch will be updated
          [update] ovirt-engine-tools-backup-4.2.2.1-0.1.el7.noarch is an update
          [obsoleted] ovirt-engine-userportal-4.1.10.1-0.1.el7.noarch will be removed
          [updated] ovirt-engine-vmconsole-proxy-helper-4.1.10.1-0.1.el7.noarch will be updated
          [update] ovirt-engine-vmconsole-proxy-helper-4.2.2.1-0.1.el7.noarch is an update
          [updated] ovirt-engine-webadmin-portal-4.1.10.1-0.1.el7.noarch will be updated
          [update] ovirt-engine-webadmin-portal-4.2.2.1-0.1.el7.noarch is an update
          [updated] ovirt-engine-websocket-proxy-4.1.10.1-0.1.el7.noarch will be updated
          [update] ovirt-engine-websocket-proxy-4.2.2.1-0.1.el7.noarch is an update
          [updated] ovirt-host-deploy-1.6.7-1.el7ev.noarch will be updated
          [update] ovirt-host-deploy-1.7.2-1.el7ev.noarch is an update
          [updated] ovirt-host-deploy-java-1.6.7-1.el7ev.noarch will be updated
          [update] ovirt-host-deploy-java-1.7.2-1.el7ev.noarch is an update
          [updated] ovirt-iso-uploader-4.0.2-1.el7ev.noarch will be updated
          [update] ovirt-iso-uploader-4.2.0-1.el7ev.noarch is an update
          [install] ovirt-js-dependencies-1.2.0-3.1.el7ev.noarch will be installed
          [updated] ovirt-log-collector-4.1.8-1.el7ev.noarch will be updated
          [update] ovirt-log-collector-4.2.4-1.el7ev.noarch is an update
          [updated] python-ovirt-engine-sdk4-4.1.7-1.el7ev.x86_64 will be updated
          [update] python-ovirt-engine-sdk4-4.2.4-1.el7ev.x86_64 is an update
          [obsoleted] redhat-support-plugin-rhev-4.1.0-1.el7.noarch will be removed
          [install] resteasy-base-jaxrs-3.0.6-4.el7.noarch will be installed
          [install] resteasy-base-jaxrs-api-3.0.6-4.el7.noarch will be installed
          [obsoleted] rhevm-4.1.10.1-0.1.el7.noarch will be removed
          [obsoleted] rhevm-branding-rhev-4.1.8-1.el7ev.noarch will be removed
          [obsoleted] rhevm-dependencies-4.1.1-1.el7ev.noarch will be removed
          [obsoleted] rhevm-doc-4.1.8-1.el7ev.noarch will be removed
          [obsoleting] rhvm-4.2.2.1-0.1.el7.noarch will be installed
          [obsoleting] rhvm-branding-rhv-4.2.2-1.el7ev.noarch will be installed
          [obsoleting] rhvm-dependencies-4.2.1-1.el7ev.noarch will be installed
          [obsoleting] rhvm-doc-4.2.2-1.el7ev.noarch will be installed
          [install] rxjava-1.0.13-3.el7ev.noarch will be installed
          [install] scannotation-1.0.3-0.7.r12.el7.noarch will be installed
          [install] trousers-0.3.14-2.el7.x86_64 will be installed
          [updated] vdsm-jsonrpc-java-1.3.16-1.el7ev.noarch will be updated
          [update] vdsm-jsonrpc-java-1.4.11-1.el7ev.noarch is an update
          Replying "No" will abort Setup. You can pass the option "--offline" to prevent installing or updating packages.
          Do you wish to update them now? (Yes, No) [Yes]: 
[ INFO  ] Checking for an update for Setup...
          Setup will not be able to rollback new packages in case of a failure, because the following installed packages were not found in enabled repositories:
         
          python-ovirt-engine-sdk4-4.1.7-1.el7ev.x86_64
          Do you want to abort Setup? (Yes, No) [Yes]: no
         
          --== NETWORK CONFIGURATION ==--
         
          Setup can automatically configure the firewall on this system.
          Note: automatic configuration of the firewall may overwrite current settings.
          NOTICE: iptables is deprecated and will be removed in future releases
          Do you want Setup to configure the firewall? (Yes, No) [Yes]: 
[ INFO  ] firewalld will be configured as firewall manager.
         
          --== DATABASE CONFIGURATION ==--
         
         
          Found the following problems in PostgreSQL configuration for the Engine database:
           work_mem required to be at least 8192
          Please set:
           work_mem = 8192
          in postgresql.conf on 'localhost'. Its location is usually /var/lib/pgsql/data , or somewhere under /etc/postgresql* .
          The database requires these configurations values to be changed. Setup can fix them for you or abort. Fix automatically? (Yes, No) [Yes]: 
[WARNING] This release requires PostgreSQL server 9.5.9 but the engine database is currently hosted on PostgreSQL server 9.2.23.
          This tool can automatically upgrade PostgreSQL. Automatically upgrade? (Yes, No) [Yes]: 
          PostgreSQL will be upgraded by copying its data to a new directory.
          Do you want to automatically clean up the old data directory on success to reclaim its space (70 MB)? (Yes, No) [Yes]: 
[ INFO  ] Any further action on the DB will be performed only after PostgreSQL has been successfully upgraded to 9.5.
[ INFO  ] Engine DB and DWH one shares the same PostgreSQL instance that is going to be upgraded
          Perform full vacuum on the oVirt engine history
          database ovirt_engine_history@localhost?
          This operation may take a while depending on this setup health and the
          configuration of the db vacuum process.
          See https://www.postgresql.org/docs/9.0/static/sql-vacuum.html
          (Yes, No) [No]: 
         
          --== OVIRT ENGINE CONFIGURATION ==--
         
          Perform full vacuum on the engine database engine@localhost?
          This operation may take a while depending on this setup health and the
          configuration of the db vacuum process.
          See https://www.postgresql.org/docs/9.0/static/sql-vacuum.html
          (Yes, No) [No]: 
          oVirt OVN provider user[admin@internal]: admin
          oVirt OVN provider password: 
         
          --== STORAGE CONFIGURATION ==--
         
         
          --== PKI CONFIGURATION ==--
         
         
          --== APACHE CONFIGURATION ==--
         
         
          --== SYSTEM CONFIGURATION ==--
         
         
          --== MISC CONFIGURATION ==--
         
         
          --== END OF CONFIGURATION ==--
         
[ INFO  ] Stage: Setup validation
          During execution engine service will be stopped (OK, Cancel) [OK]: 
[ INFO  ] Hosted Engine HA is in Global Maintenance mode.
[ INFO  ] Cleaning stale zombie tasks and commands
         
          --== CONFIGURATION PREVIEW ==--
         
          Default SAN wipe after delete           : False
          Firewall manager                        : firewalld
          Update Firewall                         : True
          Host FQDN                               : nsednev-he-1.qa.lab.tlv.redhat.com
          Require packages rollback               : False
          Upgrade packages                        : True
          Engine database secured connection      : False
          Engine database user name               : engine
          Engine database name                    : engine
          Engine database host                    : localhost
          Engine database port                    : 5432
          Engine database host name validation    : False
          Engine installation                     : True
          PKI organization                        : qa.lab.tlv.redhat.com
          Set up ovirt-provider-ovn               : True
          Configure WebSocket Proxy               : True
          DWH installation                        : True
          DWH database secured connection         : False
          DWH database host                       : localhost
          DWH database user name                  : ovirt_engine_history
          DWH database name                       : ovirt_engine_history
          DWH database port                       : 5432
          DWH database host name validation       : False
          Configure Image I/O Proxy               : True
          Configure VMConsole Proxy               : True
         
          Please confirm installation settings (OK, Cancel) [OK]: 
[ INFO  ] Cleaning async tasks and compensations
[ INFO  ] Unlocking existing entities
[ INFO  ] Checking the Engine database consistency
[ INFO  ] Stage: Transaction setup
[ INFO  ] Stopping engine service
[ INFO  ] Stopping ovirt-fence-kdump-listener service
[ INFO  ] Stopping dwh service
[ INFO  ] Stopping Image I/O Proxy service
[ INFO  ] Stopping vmconsole-proxy service
[ INFO  ] Stopping websocket-proxy service
[ INFO  ] Stage: Misc configuration
[ INFO  ] Upgrading PostgreSQL
[ INFO  ] PostgreSQL has been successfully upgraded, starting the new instance (rh-postgresql95-postgresql).
[ INFO  ] Updating PostgreSQL configuration
[ INFO  ] Stage: Package installation
[ ERROR ] Yum [u'rhevm-4.1.10.1-0.1.el7.noarch requires rhevm-doc >= 4.0', u'ovirt-engine-4.2.2.1-0.1.el7.noarch requires rhvm = 4.2.2.1-0.1.el7', u'rhevm-4.1.10.1-0.1.el7.noarch requires redhat-support-plugin-rhev >= 4.0', u'rhevm-4.1.10.1-0.1.el7.noarch requires ovirt-engine = 4.1.10.1-0.1.el7']
[ ERROR ] Failed to execute stage 'Package installation': [u'rhevm-4.1.10.1-0.1.el7.noarch requires rhevm-doc >= 4.0', u'ovirt-engine-4.2.2.1-0.1.el7.noarch requires rhvm = 4.2.2.1-0.1.el7', u'rhevm-4.1.10.1-0.1.el7.noarch requires redhat-support-plugin-rhev >= 4.0', u'rhevm-4.1.10.1-0.1.el7.noarch requires ovirt-engine = 4.1.10.1-0.1.el7']
[ INFO  ] Rolling back to the previous PostgreSQL instance (postgresql).
[ INFO  ] Stage: Clean up
          Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20180225123534-2iy676.log
[ INFO  ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20180225123815-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed

Closing this very bug as customer is required to upgrade to latest bits, prior to upgrading to major versions.