Bug 667180 - Error on running pulp-client update
Summary: Error on running pulp-client update
Keywords:
Status: CLOSED DUPLICATE of bug 666959
Alias: None
Product: Pulp
Classification: Retired
Component: user-experience
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Pradeep Kilambi
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-04 18:42 UTC by Preethi Thomas
Modified: 2013-09-09 16:30 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-01-04 18:48:25 UTC
Embargoed:


Attachments (Terms of Use)

Description Preethi Thomas 2011-01-04 18:42:21 UTC
Description of problem:


[root@preethi ~]# rpm -q pulp
pulp-0.0.119-1.fc14.noarch
[root@preethi ~]# pulp-client  consumer create --id=preethi.usersys.redhat.com
warning: this client is not registered; please register to continue
Successfully created consumer [ preethi.usersys.redhat.com ]

[root@preethi ~]# pulp-client  consumer update
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 99, 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 185, in run
    system_exit(os.EX_DATAERR, _("Error updating consumer [%s]." % consumer_id))
NameError: global name 'consumer_id' is not defined


[root@preethi ~]# pulp-client  consumer update --help
Usage: pulp-client <options> consumer update <options>

Options:
  -h, --help  show this help message and exit
  --id=ID     consumer identifier eg: foo.example.com


[root@preethi ~]# pulp-client  consumer update --id=preethi.usersys.redhat.com
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 99, 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 185, in run
    system_exit(os.EX_DATAERR, _("Error updating consumer [%s]." % consumer_id))
NameError: global name 'consumer_id' is not defined
[root@preethi ~]#

Comment 1 Pradeep Kilambi 2011-01-04 18:48:25 UTC

*** This bug has been marked as a duplicate of bug 666959 ***


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