Bug 672972
| Summary: | Traceback when id is null for consumer create | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
| 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:07:56 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 | ||
$ sudo pulp-client consumer create --id= Usage: pulp-client <options> consumer create <options> pulp-client: error: --id option requires an argument Build: 0.158 verified [root@preethi ~]# pulp-client consumer create --id= Usage: pulp-client <options> consumer create <options> pulp-client: error: --id option requires an argument [root@preethi ~]# rpm -q pulp pulp-0.0.186-1.fc14.noarch [root@preethi ~]# rpm -q pulp-client pulp-client-0.0.186-1.fc14.noarch Closing with Community Release 15 pulp-0.0.223-4. Closing with Community Release 15 pulp-0.0.223-4. |
Description of problem: [root@preethi ~]# rpm -q pulp pulp-0.0.131-1.fc14.noarch [root@preethi ~]# [root@preethi ~]# pulp-client consumer create --id= warning: this client is not registered; please register to continue Traceback (most recent call last): File "/usr/bin/pulp-client", line 63, in <module> client.main() File "/usr/lib/python2.7/site-packages/pulp/client/cli/base.py", line 98, in main command.main(args[1:]) File "/usr/lib/python2.7/site-packages/pulp/client/core/base.py", line 118, in main action.main(args[1:]) File "/usr/lib/python2.7/site-packages/pulp/client/core/base.py", line 229, in main self.run() File "/usr/lib/python2.7/site-packages/pulp/client/core/consumer.py", line 157, in run key = cert_dict['private_key'] TypeError: 'NoneType' object is not subscriptable