Upgrade to RHEVm 3.0 to RHEVm 3.1 fails with yum issues

Solution Verified - Updated -

Issue

  • Upgrade fails with the following message:
To track the installation process run tail -f /var/log/yum.log in another session).
Note that the transition from package removal to package installation is expected
to take a significant amount of time. No output will appear in the log file during
this transition.... [ ERROR ]
Restoring Database...                                    [ DONE ]
Skipping yum rollback
Starting ovirt-engine...                                 [ ERROR ]

 **Error: Upgrade failed, rolling back**
 **Reason: Error: Upgrade failed**
  • When looking at `/var/log/ovirt-engine/ovirt-engine-upgrade file, we can see the failure occur:
Complete!

2013-01-24 15:13:56::DEBUG::common_utils::378::root:: stderr = 
2013-01-24 15:13:56::DEBUG::common_utils::379::root:: retcode = 0
2013-01-24 15:13:56::DEBUG::upgrade_utils30::216::root:: Yum install started
2013-01-24 15:13:56::DEBUG::common_utils::339::root:: Executing command --> '/usr/bin/yum install -q -y rhevm rhevm-backend rhevm-config rhevm-dbscripts rhevm-genericapi rhevm-notification-service rhevm-restapi rhevm-setup rhevm-tools-common rhevm-userportal rhevm-webadmin-portal rhevm-image-uploader rhevm-iso-uploader rhevm-log-collector vdsm-bootstrap'
2013-01-24 15:14:10::DEBUG::common_utils::377::root:: output = Package xml-commons-apis is obsoleted by xml-commons-jaxp-1.3-apis, but obsoleting package does not provide for requirements
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

2013-01-24 15:14:10::DEBUG::common_utils::378::root:: stderr = Error: Package: jbosssx2-2.0.5-8.3.SP3_1.ep5.el6.noarch (jbappplatform-5-x86_64-server-6-rpm)
           Requires: jaxb_2_1_api
           Available: glassfish-jaxb-2.1.12-9.ep5.el6.noarch (jbappplatform-5-x86_64-server-6-rpm)
               jaxb_2_1_api = 2.1.12-9.ep5.el6
           Available: glassfish-jaxb-2.1.12-10_patch_02.ep5.el6.noarch (jbappplatform-5-x86_64-server-6-rpm)
               jaxb_2_1_api = 2.1.12-10_patch_02.ep5.el6
           Available: glassfish-jaxb-2.1.12-12_patch_03.ep5.el6.noarch (jbappplatform-5-x86_64-server-6-rpm)
               jaxb_2_1_api = 2.1.12-12_patch_03.ep5.el6
           Available: glassfish-jaxb-2.2.5-4_redhat_1.ep6.el6.noarch (jbappplatform-6-x86_64-server-6-rpm)
               Not found
           Installing: glassfish-jaxb-2.2.5-10_redhat_3.ep6.el6.noarch (jbappplatform-6-x86_64-server-6-rpm)
               Not found
Error: Package: 1:mx4j-3.0.1-12.ep5.el6.noarch (jbappplatform-5-x86_64-server-6-rpm)
           Requires: xml-commons
           Available: xml-commons-1.3.04-7.14.ep5.el6.noarch (jbappplatform-5-x86_64-server-6-rpm)
               xml-commons = 1.3.04-7.14.ep5.el6
           Available: xml-commons-1.3.04-8.2_patch_01.ep5.el6.noarch (jbappplatform-5-x86_64-server-6-rpm)
               xml-commons = 1.3.04-8.2_patch_01.ep5.el6
           Available: xml-commons-apis-1.3.04-3.6.el6.x86_64 (rhel-x86_64-server-6)
               xml-commons = 1.3.04-3.6.el6

2013-01-24 15:14:10::DEBUG::common_utils::379::root:: retcode = 1
2013-01-24 15:14:10::ERROR::upgrade_utils30::224::root:: Traceback (most recent call last):
  File "/usr/share/ovirt-engine/scripts/upgrade_utils30.py", line 218, in upgrade
  File "/usr/share/ovirt-engine/scripts/common_utils.py", line 382, in execCmd
Exception: Error: Yum update failed

2013-01-24 15:14:10::ERROR::rhevm-upgrade::1341::root:: Traceback (most recent call last):
  File "/usr/bin/rhevm-upgrade", line 1309, in main
  File "/usr/bin/rhevm-upgrade", line 676, in runFunc
  File "/usr/share/ovirt-engine/scripts/upgrade_utils30.py", line 234, in upgrade
Exception: Error: Upgrade failed

2013-01-24 15:14:10::ERROR::rhevm-upgrade::1342::root:: Rolling back update
2013-01-24 15:14:10::DEBUG::rhevm-upgrade::689::root:: Verifing update is related to db
2013-01-24 15:14:10::DEBUG::rhevm-upgrade::699::root:: isUpdateRelatedToDb value is True
2013-01-24 15:14:10::DEBUG::rhevm-upgrade::560::root:: DB Restore started
2013-01-24 15:14:10::DEBUG::common_utils::339::root:: Executing command --> '/usr/bin/dropdb -U postgres -h localhost -p 5432 engine_2013_01_24_15_08_35'
2013-01-24 15:14:11::DEBUG::common_utils::377::root:: output = 
2013-01-24 15:14:11::DEBUG::common_utils::378::root:: stderr = 
2013-01-24 15:14:11::DEBUG::common_utils::379::root:: retcode = 0
2013-01-24 15:14:11::DEBUG::common_utils::339::root:: Executing command --> '/usr/bin/psql -U postgres -h localhost -p 5432 -d template1 -f /var/lib/ovirt-engine/backups/ovirt-engine_db_backup_2013_01_24_15_08_35.sql'
2013-01-24 15:14:20::DEBUG::common_utils::377::root:: output = SET

Environment

  • Red Hat Enterprise Virtualization Manager 3.0.8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

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