<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 07/30/2015 05:48 PM, Abhishek
Shrivastava wrote:<br>
</div>
<blockquote
cite="mid:CAOULzZVNrXNf_Kox2pQ+suaZ06G05sOzNH88ozcTPb62mT3c3A@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">I am
talking about "/srv/static/logs" folder.</div>
</div>
</blockquote>
<br>
Yes, I see.<br>
<br>
But, I run the install_log_server.sh on my Jenkins Master, and
configured $DOMAIN to another machine's hostname.<br>
<br>
Did I do this correctly ?<br>
<br>
After that, I can find "/srv/static/logs" on my Jenkins Master, and
when I run a build, nothing new was created under that directory.<br>
And on the other machine, there is nothing.<br>
<br>
I'm wondering if I should run the script on the other machine ?<br>
<br>
I'm a little confused.<br>
<br>
Thanks. <br>
<br>
<blockquote
cite="mid:CAOULzZVNrXNf_Kox2pQ+suaZ06G05sOzNH88ozcTPb62mT3c3A@mail.gmail.com"
type="cite">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Jul 30, 2015 at 3:18 PM,
Abhishek Shrivastava <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:abhishek@cloudbyte.com" target="_blank">abhishek@cloudbyte.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<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">You
can give any name in $DOMAIN, also try to run a build
then see if the logs are going to the LogServer, but
before that clear that folder so that you can see the
difference.</div>
</div>
<div class="HOEnZb">
<div class="h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Jul 30, 2015 at 3:15
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"><span> <br>
<div>On 07/30/2015 04:54 PM, Abhishek
Shrivastava wrote:<br>
</div>
<blockquote type="cite">
<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 class="gmail_default"
style="font-family:monospace,monospace;color:#000000"><br>
</div>
</div>
</blockquote>
<br>
</span> But I cannot find anything new under
/srv/static/logs/.<br>
Shouldn't the new logs be under this directory ?<span><br>
<br>
<blockquote type="cite">
<div dir="ltr">
<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><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>
</div>
</div>
</div>
</blockquote>
<br>
</span> What if I just want to setup it in a
local environment and try to use it ?<br>
<br>
What should I configure the $DOMAIN ? I don't
have a public hostname now.<br>
<br>
Thanks.<span><br>
<br>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<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>
<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="mailbox:///home/tangchen/thunderbird/66mouu93.default/Mail/Local%20Folders/Drafts?number=3250872&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>
</span></div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div>
<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="mailbox:///home/tangchen/thunderbird/66mouu93.default/Mail/Local%20Folders/Drafts?number=3250872&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>
</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="mailbox:///home/tangchen/thunderbird/66mouu93.default/Mail/Local%20Folders/Drafts?number=3250872&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>
</blockquote>
<br>
</body>
</html>