Bug 572749 - subscription-manager-cli unsubscribe run without arguments results in traceback
Summary: subscription-manager-cli unsubscribe run without arguments results in traceback
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 0.5
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: Pradeep Kilambi
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-11 22:25 UTC by Steve Salevan
Modified: 2015-05-14 15:31 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-03-12 20:06:03 UTC
Embargoed:


Attachments (Terms of Use)

Description Steve Salevan 2010-03-11 22:25:37 UTC
Description of problem:
If a user runs the 'subscription-manager-cli unsubscribe' command sans arguments, they will receive the following traceback:

[root@iolo ~]# subscription-manager-cli unsubscribe
Traceback (most recent call last):
  File "/usr/sbin/subscription-manager-cli", line 69, in <module>
    sys.exit(abs(main() or 0))
  File "/usr/sbin/subscription-manager-cli", line 60, in main
    return managercli.CLI().main()
  File "/usr/share/rhsm/managercli.py", line 336, in main
    cmd.main()
  File "/usr/share/rhsm/managercli.py", line 67, in main
    self._do_command()
  File "/usr/share/rhsm/managercli.py", line 204, in _do_command
    if not self.options.pool:
AttributeError: Values instance has no attribute 'pool'

Version-Release number of selected component (if applicable):
subscription-manager-0.14-1.i686.rpm

How reproducible:
Always

Steps to Reproduce:
1. Run 'subscription-manager-cli unsubscribe'
  
Actual results:
As above

Expected results:
No traceback

Additional info:

Comment 2 Jeff Weiss 2010-10-14 20:00:16 UTC
This bug was legitimately closed, just double checking since Steve is gone.


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