OpenShift 1.1 to 1.2 upgrade error

Solution Verified - Updated -

Environment

  • OpenShift 1.1

Issue

  • Dependency error when running the upgrade:
# ose-upgrade rpms
INFO: OpenShift node installed.
INFO: Setting node step 'rpms' status to UPGRADING
WARN: run_upgrade_step_rpms
This may take a while.
:
:
--BEGIN OUTPUT--
+ rpm -q httpd-2.2.22-14.ep6.el6
package httpd-2.2.22-14.ep6.el6 is not installed
+ exit 0
:
:
:
--> Running transaction check
---> Package blas.x86_64 0:3.2.1-4.el6 will be installed
---> Package openshift-origin-cartridge-jbossews.noarch 0:0.4.8-1.el6op will be installed
--> Processing Dependency: tomcat7 for package: openshift-origin-cartridge-jbossews-0.4.8-1.el6op.noarch
--> Finished Dependency Resolution
Error: Package: openshift-origin-cartridge-jbossews-0.4.8-1.el6op.noarch (rhel-server-ose-1.2-node-6-rpms)
           Requires: tomcat7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
+ exit 1

Resolution

  • Enable the channel "jb-ews-2-for-rhel-6-server-rpms" Red Hat JBoss Web Server (v 2) for 6Server x86_64
# yum-config-manager --enable jb-ews-2-for-rhel-6-server-rpms

Root Cause

  • The packages httpd-2.2.22-14.ep6.el6 and tomcat7 are provided by the "Red Hat JBoss Web Server (v 2) for 6Server x86_64"
    channel but is disabled during the upgrade.

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