| Summary: | consumer create produces traceback | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | dgao |
| Component: | user-experience | Assignee: | Jeff Ortel <jortel> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | unspecified | CC: | skarmark |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | Sprint 21 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-16 12:10:32 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 647488 | ||
Fixed. 98a3583a2d00f910dee8d7fee8bb08b2c4acc84f Build: 0.141 [root@preethi iso]# rpm -q pulp pulp-0.0.142-1.fc14.noarch [root@preethi iso]# pulp-client -u admin -p admin consumer create --id=test Successfully created consumer [ test ] Closing with Community Release 15 pulp-0.0.223-4. Closing with Community Release 15 pulp-0.0.223-4. |
[root@pulp-nightly ~]# pulp-client -u admin -p admin consumer create --id=fred warning: this client is not registered; please register to continue 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 137, 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 224, in main self.run() File "/usr/lib/python2.6/site-packages/pulp/client/core/consumer.py", line 155, in run self.consumer_api.profile(id, pkginfo) File "/usr/lib/python2.6/site-packages/pulp/client/api/consumer.py", line 105, in profile return self.server.POST(path, profile)[1] File "/usr/lib/python2.6/site-packages/pulp/client/server.py", line 276, in POST return self._request('POST', path, body=body) File "/usr/lib/python2.6/site-packages/pulp/client/server.py", line 232, in _request connection.request(method, url, body=body, headers=self.headers) File "/usr/lib64/python2.6/httplib.py", line 898, in request self._send_request(method, url, body, headers) File "/usr/lib64/python2.6/httplib.py", line 938, in _send_request self.send(body) File "/usr/lib64/python2.6/httplib.py", line 743, in send self.sock.sendall(str) File "/usr/lib64/python2.6/ssl.py", line 203, in sendall v = self.send(data[count:]) File "/usr/lib64/python2.6/ssl.py", line 94, in <lambda> self.send = lambda data, flags=0: SSLSocket.send(self, data, flags) File "/usr/lib64/python2.6/ssl.py", line 174, in send v = self._sslobj.write(data) TypeError: write() argument 1 must be string or read-only buffer, not list [root@pulp-nightly ~]# pulp-admin -u admin -p admin consumer list +------------------------------------------+ Consumer Information +------------------------------------------+ Id fred Description None Subscribed Repos [] Additional info