<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 02/18/2011 10:46 AM, Jason L Connor wrote:
    <blockquote cite="mid:1298043972.21338.1.camel@precision"
      type="cite">
      <pre wrap="">On Fri, 2011-02-18 at 09:57 -0500, Pradeep Kilambi wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">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
<a class="moz-txt-link-abbreviated" href="mailto:Pulp-list@redhat.com">Pulp-list@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/pulp-list">https://www.redhat.com/mailman/listinfo/pulp-list</a>
</pre>
      </blockquote>
      <pre wrap="">
Hey Pradep,

Can you tell me what commands you're using seeing this on. Jeff was
seeing this last night on package upload.
</pre>
    </blockquote>
    <br>
    I get this for few commands, one of which is:<br>
    <br>
    $ sudo pulp-admin repo sync -F --id=test_local<br>
    <br>
    I think any POST on repo actions is giving this from what I can
    tell.<br>
    <br>
    ~ Prad<br>
    <br>
    <blockquote cite="mid:1298043972.21338.1.camel@precision"
      type="cite">
      <pre wrap="">
</pre>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Pulp-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Pulp-list@redhat.com">Pulp-list@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/pulp-list">https://www.redhat.com/mailman/listinfo/pulp-list</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>