Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 667180

Summary: Error on running pulp-client update
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: user-experienceAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED DUPLICATE QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecified   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-04 18:48:25 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:

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 ***