[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Pulp-list] Cert based requests Broken?

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>
  File "/home/pkilambi/code/pulp/bin/pulp-admin", line 149, in <module>
File "/home/pkilambi/code/pulp/src/pulp/client/cli/base.py", line 137, in main
File "/home/pkilambi/code/pulp/src/pulp/client/core/base.py", line 118, in main
File "/home/pkilambi/code/pulp/src/pulp/client/core/base.py", line 224, in main
File "/home/pkilambi/code/pulp/src/pulp/client/core/repo.py", line 1051, in run
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
  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)

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

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]