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

Asselin, Ramy ramy.asselin at hp.com
Tue Aug 4 01:44:10 UTC 2015


BTW, I did update the documentation a bit to cover recent questions [1]. Let me know if I missed anything.

Thanks,
Ramy

[1] https://github.com/rasselin/os-ext-testing/commit/0d8e4234c226273392391df3693292af43b1d2be


From: Tang Chen [mailto:tangchen at cn.fujitsu.com]
Sent: Monday, August 03, 2015 6:14 PM
To: openstack-dev at lists.openstack.org
Subject: Re: [openstack-dev] How to use the log server in CI ?


On 08/04/2015 06:44 AM, Asselin, Ramy wrote:
Hi Tang,

Sorry the documentation on github is limited. I’ve been focusing on getting an upstream solution working, and that’s where it belongs and should be maintained. I will take a quick look and add some tips as discussed in this thread.
Of course if you have pull requests, I’m happy to merge them.

I did include publishers in the sample: https://github.com/rasselin/os-ext-testing-data/blob/master/etc/jenkins_jobs/config/dsvm-cinder-driver.yaml.sample#L73

Greate.

Thanks a lot. :)



Ramy
From: Tang Chen [mailto:tangchen at cn.fujitsu.com]
Sent: Friday, July 31, 2015 12:04 AM
To: Abhishek Shrivastava <abhishek at cloudbyte.com><mailto:abhishek at cloudbyte.com>
Cc: OpenStack Development Mailing List (not for usage questions) <openstack-dev at lists.openstack.org><mailto:openstack-dev at lists.openstack.org>
Subject: Re: [openstack-dev] How to use the log server in CI ?

Hi Abhishek,

I found out what was wrong.

I didn't configure publisher in my jobs......
Sorry for the trouble.

But I do think the document on github is not suitable for any beginner.
So I think I will post some patches to provide more info for those who use this tool for the very first time
when I finish the work on my hand.

And about the nodepool you asked last time, I'm working on it.
But due to the proxy in my company, I  have to solve lots of trivial problems first.

Thanks.


On 07/31/2015 09:57 AM, Tang Chen wrote:
Hi Abhishek,


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.

I don't quite understand here. I didn't configure anything about jenkins in install_log_server.sh except the public SSH key.
How could jenkins find and connect to the log server ? Or how could the log server find the jenkins ?

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/.

Thanks.






On Thu, Jul 30, 2015 at 2:19 PM, Tang Chen <tangchen at cn.fujitsu.com<mailto: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.

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.



--
[Image removed by sender.]
Thanks & Regards,
Abhishek
Cloudbyte Inc.<http://www.cloudbyte.com>






__________________________________________________________________________

OpenStack Development Mailing List (not for usage questions)

Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe<mailto:OpenStack-dev-request at lists.openstack.org?subject:unsubscribe>

http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev





__________________________________________________________________________

OpenStack Development Mailing List (not for usage questions)

Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe<mailto:OpenStack-dev-request at lists.openstack.org?subject:unsubscribe>

http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150804/468913ac/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 823 bytes
Desc: image001.jpg
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150804/468913ac/attachment.jpg>


More information about the OpenStack-dev mailing list