[Pulp-list] Cert based requests Broken?
Jason L Connor
jconnor at redhat.com
Fri Feb 18 15:46:12 UTC 2011
On Fri, 2011-02-18 at 09:57 -0500, Pradeep Kilambi wrote:
> Few of us already ran into this. But looks like the client is not able
> to handle any cert based requests. If you do a client command you get:
>
> making connection with: /root/.pulp/user-cert.pem, /root/.pulp/user-key.pem
> Traceback (most recent call last):
> File "/usr/bin/pulp-admin", line 7, in <module>
> execfile(__file__)
> File "/home/pkilambi/code/pulp/bin/pulp-admin", line 149, in <module>
> admin.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
> 224, in main
> self.run()
> File "/home/pkilambi/code/pulp/src/pulp/client/core/repo.py", line
> 1051, in run
> checksum=checksum)
> File "/home/pkilambi/code/pulp/src/pulp/client/api/file.py", line 33,
> in search_file
> return self.server.POST(path, params)[1]
> File "/home/pkilambi/code/pulp/src/pulp/client/server.py", line 281,
> in POST
> return self._request('POST', path, body=body)
> File "/home/pkilambi/code/pulp/src/pulp/client/server.py", line 238,
> in _request
> response = connection.getresponse()
> File "/usr/lib64/python2.6/httplib.py", line 974, in getresponse
> response.begin()
> File "/usr/lib64/python2.6/httplib.py", line 391, in begin
> version, status, reason = self._read_status()
> File "/usr/lib64/python2.6/httplib.py", line 355, in _read_status
> raise BadStatusLine(line)
> httplib.BadStatusLine
>
>
> If we use -u admin -p admin it fixes it for few commands. So my guess is
> the certificate based requests are broken. -u/-p uses Basic Auth which
> works for few commands.
>
> We should make this a priority to fix it before todays build.
>
> ~ Prad
>
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list
Hey Pradep,
Can you tell me what commands you're using seeing this on. Jeff was
seeing this last night on package upload.
--
Jason L Connor
linear on freenode #pulp
http://pulpproject.org/
RHCE: 805010912355231
GPG Fingerprint: 2048R/CC4ED7C1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20110218/24d2900e/attachment.sig>
More information about the Pulp-list
mailing list