RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1040338 - Display successful stdout feedback to the user with the actual --destination value used by "rhsm-debug system" command
Summary: Display successful stdout feedback to the user with the actual --destination ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Adrian Likins
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel70
TreeView+ depends on / blocked
 
Reported: 2013-12-11 08:50 UTC by Rehana
Modified: 2014-06-18 00:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 10:07:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Rehana 2013-12-11 08:50:57 UTC
Description of problem:


Version-Release number of selected component (if applicable):
subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.8.33-1
subscription-manager: 1.10.8-1.el7
python-rhsm: 1.10.8-1.el7

How reproducible:
3/3

Steps to Reproduce:
1.Register client to candlepin server
2.now execute 'rhsm-debug system ' command
3.

Actual results:
The command was successfully executed with out any error 

[root@amd-pike-05 ~]# rhsm-debug system
[root@amd-pike-05 ~]# 


Expected results:
When the command "rhsm-debug system" is executed with out the destination it should either display a 'rhsm-debug' usage error or display the help of the rhsm-debug system

Additional info:

Comment 1 John Sefler 2013-12-11 13:50:15 UTC
The default destination appears to be /tmp which is fine.

In my opionin, the feedback from running "rhsm-debug system" should be the actual path to the zip file that was created.  For example...

Expected results:
[root@jsefler-7 ~]# rhsm-debug system
Successfully created: /tmp/system-debug-20131211-464084.zip

Comment 2 John Sefler 2013-12-11 13:52:23 UTC
I would also like to see the help description for --destination rephrased to...

Actual:
  --destination=DESTINATION
                        the destination location of the zip file

Expected:
  --destination=DIRECTORY
                        the directory location for the debug zip file;
                        defaults to /tmp

Comment 3 Adrian Likins 2014-01-14 18:48:30 UTC
https://github.com/candlepin/subscription-manager/pull/859

Leaving the message a touch vague since the destination result
could be a zip file or a directory.

Comment 6 Sharath Dwaral 2014-01-23 21:26:45 UTC
Version

# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.2-1
subscription-manager: 1.10.11-1.el7
python-rhsm: 1.10.11-1.el7

Verification:

# subscription-manager identity
system identity: dc21e3af-5d6a-4e7e-9331-30de7f378791
name: rhel-7-server
org name: Admin Owner
org ID: admin


# rhsm-debug system 
Wrote: /tmp/rhsm-debug-system-20140123-721900.tar.gz


# ls /tmp/rhsm-debug-system-20140123-721900.tar.gz 
/tmp/rhsm-debug-system-20140123-721900.tar.gz

# vim /tmp/rhsm-debug-system-20140123-721900.tar.gz

" tar.vim version v29
" Browsing tarfile /tmp/rhsm-debug-system-20140123-721900.tar.gz
" Select a file with cursor and press ENTER

rhsm-debug-system-20140123-721900/
rhsm-debug-system-20140123-721900/subscriptions.json
rhsm-debug-system-20140123-721900/consumer.json
rhsm-debug-system-20140123-721900/compliance.json
rhsm-debug-system-20140123-721900/entitlements.json
rhsm-debug-system-20140123-721900/pools.json
rhsm-debug-system-20140123-721900/version.json
rhsm-debug-system-20140123-721900/etc/
rhsm-debug-system-20140123-721900/etc/rhsm/
rhsm-debug-system-20140123-721900/etc/rhsm/ca/
..........
..........
..........
..........
..........
..........
..........



VERIFIED

Comment 7 Ludek Smid 2014-06-13 10:07:59 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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