Bug 672972 - Traceback when id is null for consumer create
Summary: Traceback when id is null for consumer create
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Pradeep Kilambi
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2011-01-26 20:50 UTC by Preethi Thomas
Modified: 2011-08-16 12:21 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-16 12:07:56 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.