Bug 1389559
| Summary: | logging to /var/log/rhsm/rhsm.log ceases after upgrade from rhel6.8 to rhel6.9 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | John Sefler <jsefler> |
| Component: | subscription-manager | Assignee: | Kevin Howell <khowell> |
| Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.9 | CC: | csnyder, redakkan, skallesh, vrjain |
| Target Milestone: | rc | Keywords: | Regression, Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-03-21 10:56:33 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
John Sefler
2016-10-27 21:23:46 UTC
Fix works in both 2.6 and 2.7 (RHEL6 and RHEL7). Issue was that setLevel in 2.7 handles strings specially, but 2.6 does not. Moving to POST as the fix has been merged to upstream master. With RHSM version :
[root@hp-ml350egen8-01 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.51.20-1
subscription management rules: 5.15.1
subscription-manager: 1.18.3-1.el6
python-rhsm: 1.18.4-1.el6
[root@hp-ml350egen8-01 ~]# subscription-manager register
Registering to: subscription.rhn.stage.redhat.com:443/subscription
Username: qa
Password:
The system has been registered with ID: 5042cc50-9f67-43f7-8956-be5561d7192f
[root@hp-ml350egen8-01 ~]# tail -f /var/log/rhsm/rhsm.log
with version logging is fine:
[root@hp-ml350egen8-01 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.51.20-1
subscription management rules: 5.15.1
subscription-manager: 1.18.4-1.el6
python-rhsm: 1.18.4-1.el6
[root@hp-ml350egen8-01 ~]# subscription-manager register --force
The system with UUID 5042cc50-9f67-43f7-8956-be5561d7192f has been unregistered
Registering to: subscription.rhn.stage.redhat.com:443/subscription
Username: qa
Password:
The system has been registered with ID: 59e08d4b-09de-4b0f-b5af-e731cbcf557
[root@hp-ml350egen8-01 ~]# tail -f /var/log/rhsm/rhsm.log
2016-11-08 05:11:10,856 [INFO] subscription-manager:10918:MainThread @managercli.py:388 - Client Versions: {'python-rhsm': '1.18.4-1.el6', 'subscription-manager': '1.18.4-1.el6'}
2016-11-08 05:11:10,857 [INFO] subscription-manager:10918:MainThread @connection.py:843 - Connection built: host=subscription.rhn.stage.redhat.com port=443 handler=/subscription auth=identity_cert ca_dir=/etc/rhsm/ca/ verify=False
2016-11-08 05:11:10,858 [INFO] subscription-manager:10918:MainThread @connection.py:843 - Connection built: host=subscription.rhn.stage.redhat.com port=443 handler=/subscription auth=none
2016-11-08 05:11:12,469 [INFO] subscription-manager:10918:MainThread @managercli.py:399 - Server Versions: {'rules-version': '5.15.1', 'candlepin': '0.9.51.20-1', 'server-type': 'Red Hat Subscription Management'}
2016-11-08 05:11:27,925 [INFO] subscription-manager:10919:MainThread @managercli.py:388 - Client Versions: {'python-rhsm': '1.18.4-1.el6', 'subscription-manager': '1.18.4-1.el6'}
2016-11-08 05:11:27,926 [INFO] subscription-manager:10919:MainThread @connection.py:843 - Connection built: host=subscription.rhn.stage.redhat.com port=443 handler=/subscription auth=identity_cert ca_dir=/etc/rhsm/ca/ verify=False
2016-11-08 05:11:27,926 [INFO] subscription-manager:10919:MainThread @connection.py:843 - Connection built: host=subscription.rhn.stage.redhat.com port=443 handler=/subscription auth=none
2016-11-08 05:11:27,927 [INFO] subscription-manager:10919:MainThread @managercli.py:388 - Client Versions: {'python-rhsm': '1.18.4-1.el6', 'subscription-manager': '1.18.4-1.el6'}
2016-11-08 05:11:27,939 [INFO] subscription-manager:10919:MainThread @managercli.py:363 - Consumer Identity name=hp-ml350egen8-01.rhts.eng.bos.redhat.com uuid=5042cc50-9f67-43f7-8956-be5561d7192f
2016-11-08 05:11:27,940 [INFO] subscription-manager:10919:MainThread @managercli.py:363 - Consumer Identity name=hp-ml350egen8-01.rhts.eng.bos.redhat.com uuid=5042cc50-9f67-43f7-8956-be5561d7192f
2016-11-08 05:11:28,496 [INFO] subscription-manager:10919:MainThread @managerlib.py:793 - Successfully un-registered.
2016-11-08 05:11:28,520 [INFO] subscription-manager:10919:MainThread @managerlib.py:879 - Cleaned local data
2016-11-08 05:11:28,521 [INFO] subscription-manager:10919:MainThread @managercli.py:1098 - --force specified, unregistered old consumer: 5042cc50-9f67-43f7-8956-be5561d7192f
2016-11-08 05:11:35,723 [INFO] subscription-manager:10919:MainThread @connection.py:843 - Connection built: host=subscription.rhn.stage.redhat.com port=443 handler=/subscription auth=basic username=qa
2016-11-08 05:11:36,025 [INFO] subscription-manager:10919:MainThread @hwprobe.py:918 - collected virt facts: virt.is_guest=False, virt.host_type=Not Applicable, virt.uuid=Not Set
2016-11-08 05:11:45,178 [INFO] subscription-manager:10919:MainThread @managerlib.py:77 - Consumer created: {'consumer_name': 'hp-ml350egen8-01.rhts.eng.bos.redhat.com', 'uuid': '59e08d4b-09de-4b0f-b5af-e731cbcf557c'}
2016-11-08 05:11:45,179 [INFO] subscription-manager:10919:MainThread @connection.py:843 - Connection built: host=subscription.rhn.stage.redhat.com port=443 handler=/subscription auth=identity_cert ca_dir=/etc/rhsm/ca/ verify=False
2016-11-08 05:11:46,361 [INFO] subscription-manager:10919:MainThread @managercli.py:399 - Server Versions: {'rules-version': '5.15.1', 'candlepin': '0.9.51.20-1', 'server-type': 'Red Hat Subscription Management'}
2016-11-08 05:11:46,833 [INFO] rhsmcertd-worker:10964:MainThread @connection.py:843 - Connection built: host=subscription.rhn.stage.redhat.com port=443 handler=/subscription auth=identity_cert ca_dir=/etc/rhsm/ca/ verify=False
2016-11-08 05:11:46,949 [INFO] subscription-manager:10919:MainThread @cache.py:398 - Server does not support packages, skipping profile upload.
2016-11-08 05:11:47,623 [INFO] subscription-manager:10919:MainThread @cert_sorter.py:205 - Product status: valid_products= partial_products= expired_products= unentitled_producs=69 future_products= valid_until=None
2016-11-08 05:11:54,518 [INFO] rhsmcertd-worker:10964:MainThread @cert_sorter.py:205 - Product status: valid_products= partial_products= expired_products= unentitled_producs=69 future_products= valid_until=None
2016-11-08 05:11:54,523 [WARNING] rhsmcertd-worker:10964:MainThread @healinglib.py:97 - Found invalid entitlements for today: 2016-11-08 10:11:47.998455+00:00
2016-11-08 05:12:00,367 [INFO] rhsmcertd-worker:10964:MainThread @connection.py:843 - Connection built:
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. https://rhn.redhat.com/errata/RHSA-2017-0698.html |