Bug 672972

Summary: Traceback when id is null for consumer create
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: z_otherAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: 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    

Description Preethi Thomas 2011-01-26 20:50:02 UTC
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

Comment 1 Sayli Karmarkar 2011-03-25 06:49:20 UTC
$ sudo pulp-client consumer create --id=
Usage: pulp-client <options> consumer create <options>

pulp-client: error: --id option requires an argument

Comment 2 Jeff Ortel 2011-03-29 17:32:36 UTC
Build: 0.158

Comment 3 Preethi Thomas 2011-06-07 15:58:32 UTC
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

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

pulp-0.0.223-4.

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

pulp-0.0.223-4.