<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Abhishek,<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 07/30/2015 04:54 PM, Abhishek
      Shrivastava wrote:<br>
    </div>
    <blockquote
cite="mid:CAOULzZVH22cn1we6u3CJiaj66ed73h9quz4HmtCj=eTXZ4He_A@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div class="gmail_default"
          style="font-family:monospace,monospace;color:#000000">Hi Tang,</div>
        <div class="gmail_default"
          style="font-family:monospace,monospace;color:#000000"><br>
        </div>
        <div class="gmail_default"
          style="font-family:monospace,monospace;color:#000000">After
          completing the logServer installation the logs will go to your
          machine automatically after each build run.</div>
      </div>
    </blockquote>
    <br>
    I don't quite understand here. I didn't configure anything about
    jenkins in install_log_server.sh except the public SSH key.<br>
    How could jenkins find and connect to the log server ? Or how could
    the log server find the jenkins ?<br>
    <br>
    Now, I can access to my log server index page. But when I run a
    build, no new log is put into /srv/static/logs/.<br>
    <br>
    Thanks.<br>
    <br>
    <blockquote
cite="mid:CAOULzZVH22cn1we6u3CJiaj66ed73h9quz4HmtCj=eTXZ4He_A@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_default"
          style="font-family:monospace,monospace;color:#000000"><br>
        </div>
        <div class="gmail_default"
          style="font-family:monospace,monospace;color:#000000"><br>
        </div>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Thu, Jul 30, 2015 at 2:19 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">
              <div bgcolor="#FFFFFF" text="#000000"> Hi Asselin,
                Abhishek,<br>
                <br>
                Sorry, it is about the CI again.<br>
                <br>
                I run install_log_server.sh to setup a log server. <br>
                <br>
                I setup the log server on the same machine with my
                Jenkins Master, and configured it like this:<br>
                $DOMAIN=localhost<br>
                $<code style="font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:13.6000003814697px;padding:0px;margin:0px;border-radius:3px;word-break:normal;white-space:pre-wrap;border:0px;display:inline;max-width:initial;overflow:initial;line-height:inherit;word-wrap:normal;background:transparent"><big>JENKINS_SSH_PUBLIC_KEY</big></code>
                = path to my ssh key<br>
                <br>
                The script completed. But I don't know how to use the
                log server.<br>
                <br>
                Here are my questions:<br>
                <br>
                1. Is the log server able to be on the same machine with
                Jenkins Master ?<br>
                    I think maybe the apache in the log server conflicts
                with the jenkins server.<br>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>
              <div class="gmail_default"
                style="font-family:monospace,monospace;color:rgb(0,0,0);display:inline">​
                The answer to your question is no, as the logs
                generated​</div>
               
              <div class="gmail_default"
                style="font-family:monospace,monospace;color:rgb(0,0,0);display:inline">​
                each time will become large in size so it is recommended
                to use logServer on a separate machine having a public
                IP.</div>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000"> <br>
                2. Is the log server able to upload the logs to Gerrit
                automatically ?<br>
                    Or it is just a server for you to view the logs ?<br>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>
              <div class="gmail_default"
                style="font-family:monospace,monospace;color:rgb(0,0,0);display:inline">​
                The logs is not uploaded to Gerrit, only success or
                failure is reported to Gerrit. Also, when you click on
                the job in the gerrit with either of the message, you
                will be redirected to the logServer page.​</div>
               </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000"> <br>
                I raised an issue on github.  You can also discuss this
                on github if you like.<br>
                (<a moz-do-not-send="true"
                  href="https://github.com/rasselin/os-ext-testing/issues/19"
                  target="_blank">https://github.com/rasselin/os-ext-testing/issues/19</a>)<br>
                <br>
                I also asked about this in IRC #openstack-infra, but it
                seems that very few people are using os-ext-testing.<br>
                <br>
                Thanks.<br>
              </div>
            </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>
      </div>
    </blockquote>
    <br>
  </body>
</html>