| Summary: | consumer list w/ at least 1 consumer in db produces traceback | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | dgao |
| Component: | z_other | Assignee: | Pradeep Kilambi <pkilambi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | skarmark |
| Target Milestone: | --- | Keywords: | Triaged |
| 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:10:10 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 647488 | ||
This seems to be fixed.
$ sudo pulp-admin consumer list
+------------------------------------------+
Consumer Information
+------------------------------------------+
[skarmark@localhost pulp]$ sudo pulp-client -u admin -p admin consumer create --id=fred
Successfully created consumer [ fred ]
$ sudo pulp-admin consumer list
+------------------------------------------+
Consumer Information
+------------------------------------------+
Id fred
Description None
Subscribed Repos []
Agent:
Responding Yes
Last Heartbeat 2011-03-16T07:09:50.164037
Additional info
verified
[root@preethi ~]# rpm -q pulp
pulp-0.0.151-1.fc14.noarch
[root@preethi ~]# pulp-admin consumer list
+------------------------------------------+
Consumer Information
+------------------------------------------+
Id pulp-client
Description None
Subscribed Repos ['f14']
Agent:
Responding No
Last Heartbeat None
Additional info
Id preethi
Description None
Subscribed Repos []
Agent:
Responding No
Last Heartbeat None
Additional info
Closing with Community Release 15 pulp-0.0.223-4. Closing with Community Release 15 pulp-0.0.223-4. |
[root@pulp-nightly ~]# pulp-admin auth login -u admin -p admin User credentials successfully stored at [/root/.pulp] [root@pulp-nightly ~]# pulp-admin consumer list +------------------------------------------+ Consumer Information +------------------------------------------+ [root@pulp-nightly ~]# pulp-client -u admin -p admin consumer create --id=fred warning: this client is not registered; please register to continue ^[[ASuccessfully created consumer [ fred ] [root@pulp-nightly ~]# pulp-admin consumer list +------------------------------------------+ Consumer Information +------------------------------------------+ Traceback (most recent call last): File "/usr/bin/pulp-admin", line 170, in <module> admin.main() File "/usr/lib/python2.6/site-packages/pulp/client/cli/base.py", line 137, in main command.main(args[1:]) File "/usr/lib/python2.6/site-packages/pulp/client/core/base.py", line 118, in main action.main(args[1:]) File "/usr/lib/python2.6/site-packages/pulp/client/core/base.py", line 226, in main self.run() File "/usr/lib/python2.6/site-packages/pulp/client/core/consumer.py", line 85, in run con["repoids"].keys(), '\n \t\t\t'.join(kvpair[:])) TypeError: not enough arguments for format string [root@pulp-nightly ~]#