Hide Forgot
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:
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
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
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.
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
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.