Bug 1221024 - oo-admin-yum-validator can not show any message on RHEL67
Summary: oo-admin-yum-validator can not show any message on RHEL67
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node
Version: 2.2.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: ---
Assignee: John W. Lamb
QA Contact: libra bugs
URL:
Whiteboard:
Depends On: 1223038
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-13 07:21 UTC by Ma xiaoqiang
Modified: 2017-05-31 18:22 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Changes in the subscription-manager and/or python-rhsm libraries shipped with RHEL 6.7 beta conflict with the way yum-validator uses the "logging" module shipped with Python. Consequence: Output from the oo-admin-yum-validator tool was suppressed. Fix: oo-admin-yum-validator has been updated to instantiate a unique, named logging.Logger object, which isolates its output from the common "root" Logger object and isn't affected by changes to the root Logger object. Result: oo-admin-yum-validator generates output as expected under RHEL 6.7 beta.
Clone Of:
Environment:
Last Closed: 2017-05-31 18:22:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ma xiaoqiang 2015-05-13 07:21:39 UTC
Description of problem: 
oo-admin-yum-validator can not show any message on RHEL67

Version-Release number of selected component (if applicable):
[2.2.6/2015-05-08.1/RHEL67]


How reproducible:
100%


Steps to Reproduce:
1. run o-a-y-v after installation on RHEL67
#oo-admin-yum-validator


Actual results:
Doesn't show any message


Expected results:
Should show message:
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
    broker
<--snip-->

Additional info:

Comment 1 John W. Lamb 2015-05-13 14:56:57 UTC
Probably something in the subscription-manager library dependency has changed. Will inspect today or tomorrow.

Comment 2 John W. Lamb 2015-05-15 21:16:50 UTC
This looks like it might be a bug in subscription-manager-1.14.5-1.el6. subscription_manager.repolib.RepoActionInvoker.is_manager() is failing because of a missing "matching_content" attribute. Will investigate further Monday.

Comment 3 John W. Lamb 2015-05-19 16:07:18 UTC
Actually there are two problems here - the first is that the logging.RootLogger object used by oo-admin-yum-validator for output gets broken during the CheckSources initialization - but only under RHEL 6.7.

The second is the aforementioned problem with is_managed, which I've confirmed is an actual bug in subscription-manager.

I'm working on a workaround for the first problem, and will need to file a bug for the second.

Comment 5 Gaoyun Pei 2015-05-27 08:15:09 UTC
oo-admin-yum-validator works well on RHEL-6.7 now, the details could be seen in the bugs mentioned in Comment 4 , move this to VERIFIED.

Comment 7 Eric Paris 2017-05-31 18:22:11 UTC
We apologize, however, we do not plan to address this report at this time. The majority of our active development is for the v3 version of OpenShift. If you would like for Red Hat to reconsider this decision, please reach out to your support representative. We are very sorry for any inconvenience this may cause.


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