Bug 1039653
Summary: | [RFE] Backport the debug tool to RHEL5 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Bryan Kearney <bkearney> |
Component: | subscription-manager | Assignee: | Bryan Kearney <bkearney> |
Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 5.10 | CC: | bgollahe, bkearney, candlepin-bugs, jgalipea, lmiksik, ovasik |
Target Milestone: | rc | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: |
Feature:
new rhsm-debug tool packaged with subscription-manger
Reason:
We needed better debugging of subscription-related issues.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2014-09-16 00:22:05 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: | 1039651, 1049888 |
Description
Bryan Kearney
2013-12-09 17:08:31 UTC
Fixed in subscription-manager-1.11.3-2.el5 Verifying Version... [root@jsefler-5 ~]# subscription-manager version server type: This system is currently not registered. subscription management server: 0.9.10.2-1 subscription-manager: 1.11.3-3.el5 python-rhsm: 1.11.3-3.el5 [root@jsefler-5 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.11 Beta (Tikanga) [root@jsefler-5 ~]# rhsm-debug --help Usage: rhsm-debug MODULE-NAME [MODULE-OPTIONS] [--help] Primary Modules: system Assemble system information as a tar file or directory Other Modules: [root@jsefler-5 ~]# rhsm-debug system --help Usage: rhsm-debug system [OPTIONS] Assemble system information as a tar file or directory options: -h, --help show this help message and exit --proxy=PROXY_URL proxy URL in the form of proxy_hostname:proxy_port --proxyuser=PROXY_USER user for HTTP proxy with basic authentication --proxypassword=PROXY_PASSWORD password for HTTP proxy with basic authentication --destination=DESTINATION the destination location of the result; default is /tmp --no-archive data will be in an uncompressed directory --sos only data not already included in sos report will be collected VERIFIED: The rhsm-debug system tooling appears to be included in subscription-manager-1.11.3-3.el5 for rhel5.11 Following is a short demonstration of this feature.... [root@jsefler-5 ~]# subscription-manager register --serverurl=subscription.rhn.redhat.com:443/subscription --autosubscribe Username: qa Password: The system has been registered with ID: b9278de0-2943-403c-8421-ae446456ff3b Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Subscribed [root@jsefler-5 ~]# rhsm-debug system Wrote: /tmp/rhsm-debug-system-20140520-165003.tar.gz [root@jsefler-5 ~]# tar -tvf /tmp/rhsm-debug-system-20140520-165003.tar.gz drw------- root/root 0 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/ -rw-r--r-- root/root 9934 2014-05-20 16:50:13 rhsm-debug-system-20140520-165003/consumer.json -rw-r--r-- root/root 112383 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/pools.json drw------- root/root 0 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/etc/ drw------- root/root 0 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/etc/pki/ drw------- root/root 0 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/etc/pki/consumer/ -rw-r--r-- root/root 2065 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/etc/pki/consumer/cert.pem drw------- root/root 0 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/etc/pki/product/ -rw-r--r-- root/root 2160 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/etc/pki/product/69.pem drw------- root/root 0 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/etc/pki/entitlement/ -rw-r--r-- root/root 10098 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/etc/pki/entitlement/8085084240637477006.pem drw------- root/root 0 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/etc/rhsm/ drw------- root/root 0 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/etc/rhsm/facts/ drw------- root/root 0 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/etc/rhsm/pluginconf.d/ drw------- root/root 0 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/etc/rhsm/ca/ -rw-r--r-- root/root 1797 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/etc/rhsm/ca/katellosach.pem -rw-r--r-- root/root 2473 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/etc/rhsm/ca/candlepin-stage.pem -rw-r--r-- root/root 7732 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/etc/rhsm/ca/redhat-uep.pem -rw-r--r-- root/root 1636 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/etc/rhsm/rhsm.conf -rw-r--r-- root/root 10748 2014-05-20 16:50:15 rhsm-debug-system-20140520-165003/entitlements.json -rw-r--r-- root/root 190 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/version.json -rw-r--r-- root/root 8549 2014-05-20 16:50:14 rhsm-debug-system-20140520-165003/compliance.json drw------- root/root 0 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/var/ drw------- root/root 0 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/var/log/ drw------- root/root 0 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/var/log/rhsm/ -rw-r--r-- root/root 1048527 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/var/log/rhsm/rhsm.log.5 -rw-r--r-- root/root 1047940 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/var/log/rhsm/rhsm.log.3 -rw-r--r-- root/root 9431 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/var/log/rhsm/rhsmcertd.log.3 -rw-r--r-- root/root 3559 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/var/log/rhsm/rhsmcertd.log.4 -rw-r--r-- root/root 192540 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/var/log/rhsm/rhsm.log -rw-r--r-- root/root 29624 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/var/log/rhsm/rhsm.log.2 -rw-r--r-- root/root 1048445 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/var/log/rhsm/rhsm.log.1 -rw-r--r-- root/root 2213 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/var/log/rhsm/rhsmcertd.log -rw-r--r-- root/root 1048213 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/var/log/rhsm/rhsm.log.4 -rw-r--r-- root/root 2894 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/var/log/rhsm/rhsmcertd.log.2 -rw-r--r-- root/root 3207 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/var/log/rhsm/rhsmcertd.log.1 drw------- root/root 0 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/var/lib/ drw------- root/root 0 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/var/lib/rhsm/ drw------- root/root 0 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/var/lib/rhsm/facts/ -rw-r--r-- root/root 3290 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/var/lib/rhsm/facts/facts.json drw------- root/root 0 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/var/lib/rhsm/cache/ -rw-r--r-- root/root 343 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/var/lib/rhsm/cache/product_status.json -rw-r--r-- root/root 3833 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/var/lib/rhsm/cache/entitlement_status.json -rw-r--r-- root/root 114 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/var/lib/rhsm/cache/installed_products.json -rw-r--r-- root/root 2 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/var/lib/rhsm/cache/content_overrides.json -rw-r--r-- root/root 259 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/var/lib/rhsm/productid.js -rw-r--r-- root/root 18 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/var/lib/rhsm/branded_name drw------- root/root 0 2014-05-20 16:50:17 rhsm-debug-system-20140520-165003/var/lib/rhsm/packages/ -rw-r--r-- root/root 3672138 2014-05-20 16:50:13 rhsm-debug-system-20140520-165003/subscriptions.json [root@jsefler-5 ~]# VERIFIED: As demonstrated above, the rhsm-debug system tool will create a tar file containing all of the pertinent files needed to attach to a bugzilla or sos report to help developers troubleshoot subscription management issues on rhel5.11. 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-2014-1225.html |