aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspandey <spandey@redhat.com>2014-11-12 16:28:44 +0530
committerBryn M. Reeves <bmr@redhat.com>2014-12-16 12:19:34 +0000
commit7df415ede418ef582f9e6d45ff3acb1503195e1f (patch)
tree185791f03994588e01844ceb099e7235d12eefb1
parent067508239b7e1237f696fbe4a2b1484e6f720ebd (diff)
downloadsos-7df415ede418ef582f9e6d45ff3acb1503195e1f.tar.gz
[yum] add subscription-manager identity output
The "subscription-manager identity" command displays consumer registered uuid and registered org uuid/name , which is useful to track rhn related issues Signed-off-by: spandey <spandey@redhat.com>
-rw-r--r--sos/plugins/yum.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/plugins/yum.py b/sos/plugins/yum.py
index 816e2b09..697a6b5f 100644
--- a/sos/plugins/yum.py
+++ b/sos/plugins/yum.py
@@ -51,7 +51,8 @@ class Yum(Plugin, RedHatPlugin):
"/var/log/rhsm/rhsmcertd.log"])
self.add_cmd_output([
"subscription-manager list --installed",
- "subscription-manager list --consumed"
+ "subscription-manager list --consumed",
+ "subscription-manager identity"
])
self.add_cmd_output("rhsm-debug system --sos --no-archive "
"--no-subscriptions --destination %s"