Bug 669221
| Summary: | pulp-admin consumergroup unbind is broken (Unbind object has no attribute options) | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Jay Dobies <jason.dobies> |
| Component: | z_other | Assignee: | Sayli Karmarkar <skarmark> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | unspecified | CC: | cperry, skarmark |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-16 12:07:58 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 647488 | ||
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] Fixed in build 0.124. 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] Closing with Community Release 15 pulp-0.0.223-4. Closing with Community Release 15 pulp-0.0.223-4. |
$ 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'