Bug 1299060 - oo-diagnostics test_enterprise_rpms should exclude tests for nodejs010-nodejs-wordwrap and nodejs010-nodejs-optimist
Summary: oo-diagnostics test_enterprise_rpms should exclude tests for nodejs010-nodejs...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Containers
Version: 2.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Miciah Dashiel Butler Masters
QA Contact: Gaoyun Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-15 20:37 UTC by John W. Lamb
Modified: 2016-09-09 14:49 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-09 14:49:37 UTC
Target Upstream Version:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.