Bug 669221 - pulp-admin consumergroup unbind is broken (Unbind object has no attribute options)
Summary: pulp-admin consumergroup unbind is broken (Unbind object has no attribute opt...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: Sayli Karmarkar
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2011-01-12 22:00 UTC by Jay Dobies
Modified: 2015-03-23 01:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-16 12:07:58 UTC
Embargoed:


Attachments (Terms of Use)

Description Jay Dobies 2011-01-12 22:00:28 UTC
$ pulp-admin consumergroup unbind --id test-group --repoid example
Traceback (most recent call last):
  File "/usr/bin/pulp-admin", line 7, in <module>
    execfile(__file__)
  File "/home/jdob/code/pulp/bin/pulp-admin", line 147, in <module>
    admin.main()
  File "/home/jdob/code/pulp/src/pulp/client/cli/base.py", line 98, in main
    command.main(args[1:])
  File "/home/jdob/code/pulp/src/pulp/client/core/base.py", line 118, in main
    action.main(args[1:])
  File "/home/jdob/code/pulp/src/pulp/client/core/base.py", line 229, in main
    self.run()
  File "/home/jdob/code/pulp/src/pulp/client/core/consumergroup.py", line 159, in run
    self.cgconn.unbind(groupid, self.options.repoid)
AttributeError: 'Unbind' object has no attribute 'options'

Comment 1 Sayli Karmarkar 2011-01-13 21:44:18 UTC
Seems like a bug introduced after cli refactoring. Fixed.

$ sudo pulp-admin consumergroup unbind --id=group1 --repoid=temp
Successfully unsubscribed consumer group [group1] from repo [temp]

Comment 2 Jay Dobies 2011-01-14 20:08:13 UTC
Fixed in build 0.124.

Comment 3 Preethi Thomas 2011-01-14 20:33:23 UTC
verified
[root@preethi ~]# rpm -q pulp
pulp-0.0.124-1.fc14.noarch


[root@preethi ~]# pulp-admin consumergroup unbind --id=mygroup --repoid=pulp-repo
Successfully unsubscribed consumer group [mygroup] from repo [pulp-repo]

Comment 4 Preethi Thomas 2011-08-16 12:07:58 UTC
Closing with Community Release 15

pulp-0.0.223-4.

Comment 5 Preethi Thomas 2011-08-16 12:21:19 UTC
Closing with Community Release 15

pulp-0.0.223-4.


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