<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 07/08/2015 05:58 PM, Abhishek
      Shrivastava wrote:<br>
    </div>
    <blockquote
cite="mid:CAOULzZXNrwMaKFn=_06dd31r7bfo71E4-xyFrXUc10VoPCV6hQ@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div dir="ltr">
        <div class="gmail_default"
          style="font-family:monospace,monospace;color:#000000">So as
          per my understanding this is happening after CI master VM
          installation.</div>
      </div>
    </blockquote>
    <br>
    Yes, Jenkins master has been constructed and works fine.<br>
    <br>
    And as an example, I can clone the sandbox repertory, and commit
    code to Gerrit.<br>
    But since zuul cannot connect to review.openstack.org, Jenkins
    master is not notified.<br>
    <br>
    Would you please share some advices ?<br>
    <br>
    Thanks.<br>
    <br>
    <blockquote
cite="mid:CAOULzZXNrwMaKFn=_06dd31r7bfo71E4-xyFrXUc10VoPCV6hQ@mail.gmail.com"
      type="cite">
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, Jul 8, 2015 at 3:26 PM, Tang
          Chen <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:tangchen@cn.fujitsu.com" target="_blank">tangchen@cn.fujitsu.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
            <br>
            I'm now installing constructing CI system following this
            document:<br>
            <br>
            <a moz-do-not-send="true"
              href="https://github.com/rasselin/os-ext-testing"
              rel="noreferrer" target="_blank">https://github.com/rasselin/os-ext-testing</a><br>
            <br>
            When running zuul, I got this error:<br>
            <br>
            2015-07-07 13:44:09,035 ERROR gerrit.GerritWatcher:
            Exception on ssh event stream:<br>
            Traceback (most recent call last):<br>
              File
            "/usr/local/lib/python2.7/dist-packages/zuul/lib/gerrit.py",
            line 64, in _run<br>
                key_filename=self.keyfile)<br>
              File
            "/usr/local/lib/python2.7/dist-packages/paramiko/client.py",
            line 237, in connect<br>
                for (family, socktype, proto, canonname, sockaddr) in
            socket.getaddrinfo(hostname, port, socket.AF_UNSPEC,
            socket.SOCK_STREAM):<br>
            gaierror: [Errno -5] No address associated with hostname<br>
            <br>
            This happens when zuul tries to access <a
              moz-do-not-send="true" href="http://review.openstack.org"
              rel="noreferrer" target="_blank">review.openstack.org</a>.<br>
            <br>
            <br>
            In my environment, I have to access internet through through
            a http proxy.<br>
            <br>
            But referring to the source code, zuul calls functions in
            paramiko/client.py to  setup a connection using socket.<br>
            <br>
                    if not sock:<br>
                        for (family, socktype, proto, canonname,
            sockaddr) in socket.getaddrinfo(hostname, port,
            socket.AF_UNSPEC, socket.SOCK_STREAM):<br>
                            if socktype == socket.SOCK_STREAM:<br>
                                af = family<br>
                                addr = sockaddr<br>
                                break<br>
                        else:<br>
                            # some OS like AIX don't indicate
            SOCK_STREAM support, so just guess. :(<br>
                            af, _, _, _, addr =
            socket.getaddrinfo(hostname, port, socket.AF_UNSPEC,
            socket.SOCK_STREAM)<br>
                        sock = socket.socket(af, socket.SOCK_STREAM)<br>
            <br>
            I think the problem is that since it uses socket API to
            create the connection, it does not go through the proxy.<br>
            <br>
            So, could anyone tell me how to setup a proxy for zuul ?<br>
            <br>
            <br>
            Or, of course, the CI document is something very in
            progress. And referring to the openstack site,<br>
            I cannot find any info up to date. Could anyone share with
            me something that could construct a CI system ?<br>
            <br>
            <br>
            Thanks.<br>
            <br>
__________________________________________________________________________<br>
            OpenStack Development Mailing List (not for usage questions)<br>
            Unsubscribe: <a moz-do-not-send="true"
href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe"
              rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
            <a moz-do-not-send="true"
              href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"
              rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div class="gmail_signature">
          <div dir="ltr">
            <div>
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div><font color="#0b5394"><b><img
                                moz-do-not-send="true"
src="https://docs.google.com/uc?export=download&id=0Byq0j7ZjFlFKV3ZCWnlMRXBCcU0&revid=0Byq0j7ZjFlFKa2V5VjdBSjIwUGx6bUROS2IrenNwc0kzd2IwPQ"><br>
                            </b></font></div>
                        <div><font color="#000000" face="times new
                            roman, serif" size="2"><b>Thanks &
                              Regards,<br>
                            </b></font></div>
                        <font color="#000000"><font face="times new
                            roman, serif" size="2"><b>Abhishek</b></font><br>
                        </font></div>
                    </div>
                    <div><i><u><font color="#0000ff"><a
                              moz-do-not-send="true"
                              href="http://www.cloudbyte.com"
                              target="_blank">Cloudbyte Inc.</a></font></u></i></div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>