[root@pulp-nightly ~]# pulp-client consumer create --id=foo warning: this client is not registered; please register to continue Successfully created consumer [ foo ] [root@pulp-nightly ~]# pulp-client consumer update --id foo Traceback (most recent call last): File "/usr/bin/pulp-client", line 63, in <module> client.main() File "/usr/lib/python2.6/site-packages/pulp/client/cli/base.py", line 99, in main command.main(args[1:]) File "/usr/lib/python2.6/site-packages/pulp/client/core/base.py", line 118, in main action.main(args[1:]) File "/usr/lib/python2.6/site-packages/pulp/client/core/base.py", line 229, in main self.run() File "/usr/lib/python2.6/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
commit 9860b277a9df5028fb24f37d0fc51c21b5a6d2b6 Author: Pradeep Kilambi <pkilambi> Date: Mon Jan 3 15:41:50 2011 -0500 $ sudo pulp-client consumer update Successfully updated consumer [foo] profile
*** Bug 667180 has been marked as a duplicate of this bug. ***
Fixed in 0.120.
verified [root@preethi ~]# pulp-admin consumer list +------------------------------------------+ Consumer Information +------------------------------------------+ [root@preethi ~]# pulp-client consumer create --id=preethi.usersys.redhat.com Successfully created consumer [ preethi.usersys.redhat.com ] [root@preethi ~]# pulp-client consumer update Successfully updated consumer [preethi.usersys.redhat.com] profile [root@preethi ~]# pulp-client consumer update --id=preethi.usersys.redhat.com Successfully updated consumer [preethi.usersys.redhat.com] profile [root@preethi ~]# rpm -q pulp pulp-0.0.120-1.fc14.noarch
Closing with Community Release 15 pulp-0.0.223-4.