Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 924919

Summary: WARNING:rhsm-app.subscription_manager.isodate:dateutil module not found, trying pyxml
Product: Red Hat Enterprise Linux 5 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: Adrian Likins <alikins>
Status: CLOSED ERRATA QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.10CC: alikins, bkearney, fsharath, jesusr, lmiksik
Target Milestone: betaKeywords: TestBlocker
Target Release: 5.10   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
No description necessary
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-30 23:01:13 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:
Bug Depends On:    
Bug Blocks: 840995, 920191, 928849    

Description John Sefler 2013-03-22 20:05:13 UTC
Description of problem:
After bug 919702 was POSTed, I am now encountering this warning in stderr when yum transactions are executed.

[root@rhsm-compat-rhel58 ~]# yum repolist
WARNING:rhsm-app.subscription_manager.isodate:dateutil module not found, trying pyxml
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This system is not registered with RHN.
RHN Satellite or RHN Classic support will be disabled.
repolist: 0



Version-Release number of selected component (if applicable):
Note that this only happens on RHEL5; not on RHEL6 nor RHEL7
[root@rhsm-compat-rhel58 ~]# rpm -q subscription-manager
subscription-manager-1.8.4-1.git.35.1ed653b.el5

Comment 1 John Sefler 2013-03-22 20:06:41 UTC
<alikins> that module import happens before we setup up a log handler, so the log goes to stderr
 easy fix: delete the message, better fix: unroll the module imports so that doesnt happen

Comment 3 Adrian Likins 2013-04-16 20:29:40 UTC
commit b5eaa67683255143ac2a1eeb27df72a671a815b6
Author: Adrian Likins <alikins>
Date:   Thu Mar 28 12:57:37 2013 -0400

    924919: stop log to stderr in isodata module
    
    Just move the isodate import until after the
    log is setup.

Comment 4 John Sefler 2013-04-25 17:09:51 UTC
I am still encountering this stderr...

[root@jsefler-5 ~]# rpm -q subscription-manager
subscription-manager-1.8.6-1.git.4.b3f4bbf.el5

[root@jsefler-5 ~]# yum repolist
WARNING:rhsm-app.subscription_manager.isodate:dateutil module not found, trying pyxml
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This system may not be registered to RHN Classic or RHN Satellite. SystemId could not be acquired.
You can use rhn_register to register.
RHN Satellite or RHN Classic support will be disabled.
repolist: 0
[root@jsefler-5 ~]#

Comment 7 Sharath Dwaral 2013-05-13 16:43:29 UTC
# rpm -qa | egrep "subscription-manager|python-rhsm"
subscription-manager-migration-data-1.11.2.7-1.git.0.1dfd00e.el5
subscription-manager-firstboot-1.8.7-1.git.33.1b83804.el5
subscription-manager-1.8.7-1.git.33.1b83804.el5
subscription-manager-gui-1.8.7-1.git.33.1b83804.el5
subscription-manager-migration-1.8.7-1.git.33.1b83804.el5
python-rhsm-1.8.11-1.git.0.39d1a53.el5


# yum repolist
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This system is not registered with RHN Classic or RHN Satellite.
You can use rhn_register to register.
RHN Satellite or RHN Classic support will be disabled.
repolist: 0


No longer throws dateutil WARNING

Moving to VERIFIED

Comment 9 errata-xmlrpc 2013-09-30 23:01:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1332.html