Bug 666959
| Summary: | pulp-client update returns an error | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | dgao |
| Component: | user-experience | Assignee: | Pradeep Kilambi <pkilambi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | unspecified | CC: | pthomas |
| 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-08-16 14:02:42 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 | ||
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. |
[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