Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 572749

Summary: subscription-manager-cli unsubscribe run without arguments results in traceback
Product: [Community] Candlepin (Migrated to Jira) Reporter: Steve Salevan <ssalevan>
Component: candlepinAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED NOTABUG QA Contact: wes hayutin <whayutin>
Severity: medium Docs Contact:
Priority: low    
Version: 0.5Keywords: QA-Closed
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-12 20:06:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.