| Summary: | creating consumer w/ duplicate id produces an uncaught traceback | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | dgao |
| Component: | user-experience | Assignee: | Pradeep Kilambi <pkilambi> |
| Status: | CLOSED NOTABUG | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| 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-03-23 20:45:30 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Oops, looks like this issue is w/ the local installation of pulp. Closing it. |
On RHEL6 [root@dhcp231-223 pulp]# pulp-client -u admin -p admin consumer create --id=fred Traceback (most recent call last): File "/usr/bin/pulp-client", line 7, in <module> execfile(__file__) File "/home/pkilambi/code/pulp/bin/pulp-client", line 63, in <module> client.main() File "/home/pkilambi/code/pulp/src/pulp/client/cli/base.py", line 137, in main command.main(args[1:]) File "/home/pkilambi/code/pulp/src/pulp/client/core/base.py", line 118, in main action.main(args[1:]) File "/home/pkilambi/code/pulp/src/pulp/client/core/base.py", line 226, in main self.run() File "/home/pkilambi/code/pulp/src/pulp/client/core/consumer.py", line 173, in run consumer = self.consumer_api.create(id, description) File "/home/pkilambi/code/pulp/src/pulp/client/api/consumer.py", line 31, in create return self.server.PUT(path, consumerdata)[1] File "/home/pkilambi/code/pulp/src/pulp/client/server.py", line 297, in PUT return self._request('PUT', path, body=body) File "/home/pkilambi/code/pulp/src/pulp/client/server.py", line 254, in _request raise ServerRequestError(response.status, response_body, None) pulp.client.server.ServerRequestError: (409, u'Consumer with id: fred already exists', None) [root@dhcp231-223 pulp]#