Bug 669220 - pulp-admin consumergroup bind is broken (Bind object has no attribute options)
Summary: pulp-admin consumergroup bind is broken (Bind object has no attribute options)
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 21:59 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:09:43 UTC
Embargoed:


Attachments (Terms of Use)

Description Jay Dobies 2011-01-12 21:59:14 UTC
$ pulp-admin consumergroup bind --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 141, in run
    self.cgconn.bind(groupid, self.options.repoid)
AttributeError: 'Bind' object has no attribute 'options'

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

$ sudo pulp-admin consumergroup bind --id=group1 --repoid=temp
Successfully subscribed consumer group [group1] to repo [temp]

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

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


[root@preethi ~]# pulp-admin consumergroup bind --id=mygroup  --repoid=pulp-repo
Successfully subscribed consumer group [mygroup] to repo [pulp-repo]

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

pulp-0.0.223-4.

Comment 5 Preethi Thomas 2011-08-16 12:22:05 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.