Bug 1299060

Summary: oo-diagnostics test_enterprise_rpms should exclude tests for nodejs010-nodejs-wordwrap and nodejs010-nodejs-optimist
Product: OpenShift Container Platform Reporter: John W. Lamb <jolamb>
Component: ContainersAssignee: Miciah Dashiel Butler Masters <mmasters>
Status: CLOSED CURRENTRELEASE QA Contact: Gaoyun Pei <gpei>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.2.0CC: aos-bugs, gpei, jokerman, mmccomas, rthrashe, tiwillia
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-09 14:49:37 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:

Description John W. Lamb 2016-01-15 20:37:17 UTC
Description of problem:

RHSCL has two new nodejs010 packages tagged in its candidate tag: nodejs010-nodejs-wordwrap-1.0.0-2.el6 and nodejs010-nodejs-optimist-0.4.0-6.el6

When these are released, they will supersede the versions shipped with OpenShift Enterprise 2.2.x, and the package versions will no longer match those checked against in oo-diagnostics

Version-Release number of selected component (if applicable):

nodejs010-nodejs-wordwrap-1.0.0-2.el6
nodejs010-nodejs-optimist-0.4.0-6.el6

How reproducible:

very

Steps to Reproduce:
1. On the node, install the nodejs010-nodejs-wordwrap-1.0.0-2.el6 package from this build: https://brewweb.devel.redhat.com/buildinfo?buildID=474006

2. On the node, install the nodejs010-nodejs-optimist-0.4.0-6.el6 package from this build: https://brewweb.devel.redhat.com/buildinfo?buildID=473120

3. Run oo-diagnostics on the node

Actual results:

INFO: loading list of installed packages
INFO: OpenShift broker installed.
INFO: OpenShift node installed.
INFO: Loading the broker rails environment.
INFO: running: prereq_dns_server_available
INFO: checking that the first server in /etc/resolv.conf responds
INFO: running: prereq_domain_resolves
INFO: checking that we can resolve our application domain
INFO: running: test_enterprise_rpms
INFO: Checking that all OpenShift RPMs are actually from OpenShift Enterprise
FAIL: test_enterprise_rpms
      The following problems were found with your RPMs:
      
        nodejs010-nodejs-debug should be an OpenShift Enterprise RPM but installed version 2.2.0-2.el6 does not have 'el6op' in it
        nodejs010-nodejs-optimist should be an OpenShift Enterprise RPM but installed version 0.4.0-6.el6 does not have 'el6op' in it
        nodejs010-nodejs-wordwrap should be an OpenShift Enterprise RPM but installed version 1.0.0-2.el6 does not have 'el6op' in it

      Please ensure that you have not enabled EPEL or other third-party repositories, and
      do not have any of these RPMs pre-installed in your install image. These RPMs must come
      from your OpenShift Enterprise subscription in order to be supported.

Expected results:

If the packages have been successfully validated by QE, then no error should be emitted (the nodejs010-nodejs-debug is a known issue, addressed in Bug 1294513)

Additional info:

These packages need QE validation before this can be properly addressed. If QE determines the new RHSCL packages don't work with OpenShift, we may need to carry our own versions of the packages in OpenShift channels, or find some other way to exclude the affected RHSCL packages on OpenShift node installations.

Comment 1 Miciah Dashiel Butler Masters 2016-02-09 01:16:38 UTC
PR: https://github.com/openshift/enterprise-server/pull/504

Comment 3 Gaoyun Pei 2016-09-09 05:12:43 UTC
Verify this issue with released 2.2.10 env.

Version-Release number of selected component:
rubygem-openshift-origin-common-1.29.5.2-1.el6op.noarch

[root@broker ~]# rpm -qa |grep -e nodejs010-nodejs-wordwrap-1.0.0-2.el6 -e nodejs010-nodejs-optimist-0.4.0-6.el6
nodejs010-nodejs-optimist-0.4.0-6.el6.noarch
nodejs010-nodejs-wordwrap-1.0.0-2.el6.noarch

[root@broker ~]# oo-diagnostics test_enterprise_rpms -v
INFO: loading list of installed packages
INFO: OpenShift broker installed.
INFO: OpenShift node installed.
INFO: Loading the broker rails environment.
INFO: running: test_enterprise_rpms
INFO: Checking that all OpenShift RPMs are actually from OpenShift Enterprise
NO ERRORS

Comment 4 Timothy Williams 2016-09-09 14:49:37 UTC
Thanks!

Closing this since it is fixed in the CURRENTRELEASE