[openstack-dev] How to use the log server in CI ?

Abhishek Shrivastava abhishek at cloudbyte.com
Thu Jul 30 09:48:37 UTC 2015


I am talking about "/srv/static/logs" folder.

On Thu, Jul 30, 2015 at 3:18 PM, Abhishek Shrivastava <
abhishek at cloudbyte.com> wrote:

> Hi Tang,
>
> 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.
>
> On Thu, Jul 30, 2015 at 3:15 PM, Tang Chen <tangchen at cn.fujitsu.com>
> wrote:
>
>>
>> On 07/30/2015 04:54 PM, Abhishek Shrivastava wrote:
>>
>>  Hi Tang,
>>
>>  After completing the logServer installation the logs will go to your
>> machine automatically after each build run.
>>
>>
>> But I cannot find anything new under /srv/static/logs/.
>> Shouldn't the new logs be under this directory ?
>>
>>
>>
>> On Thu, Jul 30, 2015 at 2:19 PM, Tang Chen <tangchen at cn.fujitsu.com>
>> wrote:
>>
>>>  Hi Asselin, Abhishek,
>>>
>>> Sorry, it is about the CI again.
>>>
>>> I run install_log_server.sh to setup a log server.
>>>
>>> I setup the log server on the same machine with my Jenkins Master, and
>>> configured it like this:
>>> $DOMAIN=localhost
>>> $JENKINS_SSH_PUBLIC_KEY = path to my ssh key
>>>
>>> The script completed. But I don't know how to use the log server.
>>>
>>> Here are my questions:
>>>
>>> 1. Is the log server able to be on the same machine with Jenkins Master ?
>>>     I think maybe the apache in the log server conflicts with the
>>> jenkins server.
>>>
>>
>>  ​ The answer to your question is no, as the logs generated​
>>
>> ​ each time will become large in size so it is recommended to use
>> logServer on a separate machine having a public IP.
>>
>>
>> What if I just want to setup it in a local environment and try to use it ?
>>
>> What should I configure the $DOMAIN ?  I don't have a public hostname now.
>>
>> Thanks.
>>
>>
>>> 2. Is the log server able to upload the logs to Gerrit automatically ?
>>>     Or it is just a server for you to view the logs ?
>>>
>>
>>  ​ 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.​
>>
>>
>>>
>>> I raised an issue on github.  You can also discuss this on github if you
>>> like.
>>> (https://github.com/rasselin/os-ext-testing/issues/19)
>>>
>>> I also asked about this in IRC #openstack-infra, but it seems that very
>>> few people are using os-ext-testing.
>>>
>>> Thanks.
>>>
>>
>>
>>
>>  --
>>
>>
>> *Thanks & Regards, *
>> *Abhishek*
>>  *Cloudbyte Inc. <http://www.cloudbyte.com>*
>>
>>
>>
>
>
> --
>
>
> *Thanks & Regards,*
> *Abhishek*
> *Cloudbyte Inc. <http://www.cloudbyte.com>*
>



-- 


*Thanks & Regards,*
*Abhishek*
*Cloudbyte Inc. <http://www.cloudbyte.com>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150730/69f27cbd/attachment.html>


More information about the OpenStack-dev mailing list