Bug 1033832

Summary: Ship oo-admin-yum-validator with OSE 1.2.z
Product: OpenShift Container Platform Reporter: Brenton Leanhardt <bleanhar>
Component: Cluster Version OperatorAssignee: Luke Meyer <lmeyer>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.2.0CC: jdetiber, jialiu, libra-onpremise-devel, xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-openshift-origin-common-1.8.16-1.el6op, openshift-enterprise-upgrade-1.2.7-1.el6op Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-04 14:51:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Brenton Leanhardt 2013-11-23 14:55:21 UTC
Description of problem:

oo-admin-yum-validator should ship with OSE 1.2.z.  If possible, we should update the 1.1->1.2 ose-upgrade scripts to use this as well.

Comment 2 Luke Meyer 2013-11-27 21:47:47 UTC
Changes are merged into 1.2.z branch but not built. Haven't put it in 1.1.z for the 1.1 => 1.2 upgrade; probably should for 1.2.7...

Comment 3 Brenton Leanhardt 2013-12-16 06:42:05 UTC
For QE:

The upstream fix for Bug #1031686 will ship with this as well.  Please verify that oo-diagnostics calls oo-admin-yum-validator if it is available.

Comment 4 Johnny Liu 2013-12-23 06:45:51 UTC
Verified this bug with openshift-enterprise-yum-validator-1.2.7-1.el6op.noarch, and rubygem-openshift-origin-common-1.8.16-1.el6op.noarch, PASS.


The upgrade script from 1.1 to 1.2 does not call 
oo-admin-yum-validator yet, but oo-diagnostics are already call it now.


# oo-diagnostics -v
<--snip-->
INFO: running: test_yum_configuration
NO ERRORS


Did some change to the existing repo configuration.
# oo-diagnostics
<--snip-->
INFO: running: test_yum_configuration
WARN: test_yum_configuration
        oo-admin-yum-validator reported some possible problems
        with your package source configuration:
--------------------------------------------------------------
      No roles have been specified. Attempting to guess the roles for this system...
If the roles listed below are incorrect or incomplete, please re-run this script with the appropriate --role arguments
    node
    node-eap
Detected OpenShift Enterprise repository subscription managed by Red Hat Subscription Manager.
Detected installed OpenShift Enterprise version 1.2

Checking if yum-plugin-priorities is installed
Checking channel/repository priorities
Resolving repository/channel/subscription priority conflicts
To resolve conflicting repositories, update repo priority by running:
# yum-config-manager --setopt=openshift_jbosseap.priority=40 openshift_jbosseap --save
# yum-config-manager --setopt=openshift_node.priority=40 openshift_node --save
Please re-run this tool after making any recommended repairs to this system

--------------------------------------------------------------
        Incorrect package source configuration could lead to
        failure to install the correct RPMs.

NO ERRORS