Re: [openstack-dev] How to use the log server in CI ?
Hi Tang, The domain name is not important here, also the master found the log server using the host you have mentioned in the vars.sh file [1]. [1] https://github.com/rasselin/os-ext-testing-data/blob/master/vars.sh.sample#L10 On Fri, Aug 7, 2015 at 9:47 AM, Tang Chen tangc...@cn.fujitsu.com wrote: Hi Asselin, On 08/06/2015 09:44 PM, Asselin, Ramy wrote: Hi Tang, First, I recommend you use os-loganalyze because it significantly increases the value of the log files by making them easier to consume. I’m not sure what the issue you encountered is. The link you provide is to use swift, but that is the newer alternative to the old-fashion files on disk approach, and not a requirement. True. And I'm not using swift right now. That said, you’ll find the rules in one of the files located here: /etc/apache2/sites-enabled/ It is created by this template [1]. As you see, there’s not htmlify directory because it’s an alias that invokes os-loganalyze. Yes, I saw the source. Thank you very much to clarify that. It is OK now. But one more thing I want to confirm. install_log_server.sh should be run on log server, right ? Then $DOMAIN is configured to the domain name of the log server itself, and nothing about jenkins master is configured. So how does the jenkins master find the log server ? In other word, how does the jenkins master know the domain name of log server ? Thanks. Ramy [1] http://git.openstack.org/cgit/openstack-infra/puppet-openstackci/tree/templates/logs.vhost.erb#n85 *From:* Tang Chen [mailto:tangc...@cn.fujitsu.com tangc...@cn.fujitsu.com] *Sent:* Thursday, August 06, 2015 5:07 AM *To:* openstack-dev@lists.openstack.org *Subject:* Re: [openstack-dev] How to use the log server in CI ? Hi Joshua, Thanks to reply. On 08/06/2015 07:45 PM, Joshua Hesketh wrote: Hi Tang, For OpenStack's set up, os-loganalyze sits at /htmlify/ and is used to add markup and filter log lines when viewing in a browser. On my box, I don't have a /htmlify/ directory, and I don't think I installed os-loganalyze at all. But when I accessed to the log site, the URL was just modified, added /htmlify/. For your own set up you don't need to use this and could simply serve anything straight off your disk. It should be safe to remove the apache matching rules in order to do so. I'm sorry, how to remove the apache matching rules ? From where ? Thanks. :) Hope that helps. Cheers, Josh On Thu, Aug 6, 2015 at 6:50 PM, Tang Chen tangc...@cn.fujitsu.com wrote: Hi Abhishek, After I setup a log server, if the request ends in .txt.gz, console.html or console.html.gz rewrite the url to prepend /htmlify/ . But actually the log file is on my local machine. Is this done by os-loganalyze ? Is this included in install_log_server.sh ? (I don't think so.) Could I disable it and access my log file locally ? I found this URL for reference. http://josh.people.rcbops.com/2014/10/openstack-infrastructure-swift-logs-and-performance/ Thanks. :) __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@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-requ...@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-requ...@lists.openstack.org?subject:unsubscribehttp://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- *Thanks Regards,* *Abhishek* *Cloudbyte Inc. http://www.cloudbyte.com* __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] How to use the log server in CI ?
Hi Asselin, On 08/06/2015 09:44 PM, Asselin, Ramy wrote: Hi Tang, First, I recommend you use os-loganalyze because it significantly increases the value of the log files by making them easier to consume. I'm not sure what the issue you encountered is. The link you provide is to use swift, but that is the newer alternative to the old-fashion files on disk approach, and not a requirement. True. And I'm not using swift right now. That said, you'll find the rules in one of the files located here: /etc/apache2/sites-enabled/ It is created by this template [1]. As you see, there's not htmlify directory because it's an alias that invokes os-loganalyze. Yes, I saw the source. Thank you very much to clarify that. It is OK now. But one more thing I want to confirm. install_log_server.sh should be run on log server, right ? Then $DOMAIN is configured to the domain name of the log server itself, and nothing about jenkins master is configured. So how does the jenkins master find the log server ? In other word, how does the jenkins master know the domain name of log server ? Thanks. Ramy [1] http://git.openstack.org/cgit/openstack-infra/puppet-openstackci/tree/templates/logs.vhost.erb#n85 *From:*Tang Chen [mailto:tangc...@cn.fujitsu.com] *Sent:* Thursday, August 06, 2015 5:07 AM *To:* openstack-dev@lists.openstack.org *Subject:* Re: [openstack-dev] How to use the log server in CI ? Hi Joshua, Thanks to reply. On 08/06/2015 07:45 PM, Joshua Hesketh wrote: Hi Tang, For OpenStack's set up, os-loganalyze sits at /htmlify/ and is used to add markup and filter log lines when viewing in a browser. On my box, I don't have a /htmlify/ directory, and I don't think I installed os-loganalyze at all. But when I accessed to the log site, the URL was just modified, added /htmlify/. For your own set up you don't need to use this and could simply serve anything straight off your disk. It should be safe to remove the apache matching rules in order to do so. I'm sorry, how to remove the apache matching rules ? From where ? Thanks. :) Hope that helps. Cheers, Josh On Thu, Aug 6, 2015 at 6:50 PM, Tang Chen tangc...@cn.fujitsu.com mailto:tangc...@cn.fujitsu.com wrote: Hi Abhishek, After I setup a log server, if the request ends in .txt.gz, console.html or console.html.gz rewrite the url to prepend /htmlify/ . But actually the log file is on my local machine. Is this done by os-loganalyze ? Is this included in install_log_server.sh ? (I don't think so.) Could I disable it and access my log file locally ? I found this URL for reference. http://josh.people.rcbops.com/2014/10/openstack-infrastructure-swift-logs-and-performance/ Thanks. :) __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://openstack-dev-requ...@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-requ...@lists.openstack.org?subject:unsubscribe mailto:openstack-dev-requ...@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-requ...@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-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] How to use the log server in CI ?
Hi Joshua, Thanks to reply. On 08/06/2015 07:45 PM, Joshua Hesketh wrote: Hi Tang, For OpenStack's set up, os-loganalyze sits at /htmlify/ and is used to add markup and filter log lines when viewing in a browser. On my box, I don't have a /htmlify/ directory, and I don't think I installed os-loganalyze at all. But when I accessed to the log site, the URL was just modified, added /htmlify/. For your own set up you don't need to use this and could simply serve anything straight off your disk. It should be safe to remove the apache matching rules in order to do so. I'm sorry, how to remove the apache matching rules ? From where ? Thanks. :) Hope that helps. Cheers, Josh On Thu, Aug 6, 2015 at 6:50 PM, Tang Chen tangc...@cn.fujitsu.com mailto:tangc...@cn.fujitsu.com wrote: Hi Abhishek, After I setup a log server, if the request ends in .txt.gz, console.html or console.html.gz rewrite the url to prepend /htmlify/ . But actually the log file is on my local machine. Is this done by os-loganalyze ? Is this included in install_log_server.sh ? (I don't think so.) Could I disable it and access my log file locally ? I found this URL for reference. http://josh.people.rcbops.com/2014/10/openstack-infrastructure-swift-logs-and-performance/ Thanks. :) __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://openstack-dev-requ...@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-requ...@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-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] How to use the log server in CI ?
Hi Tang, For OpenStack's set up, os-loganalyze sits at /htmlify/ and is used to add markup and filter log lines when viewing in a browser. For your own set up you don't need to use this and could simply serve anything straight off your disk. It should be safe to remove the apache matching rules in order to do so. Hope that helps. Cheers, Josh On Thu, Aug 6, 2015 at 6:50 PM, Tang Chen tangc...@cn.fujitsu.com wrote: Hi Abhishek, After I setup a log server, if the request ends in .txt.gz, console.html or console.html.gz rewrite the url to prepend /htmlify/ . But actually the log file is on my local machine. Is this done by os-loganalyze ? Is this included in install_log_server.sh ? (I don't think so.) Could I disable it and access my log file locally ? I found this URL for reference. http://josh.people.rcbops.com/2014/10/openstack-infrastructure-swift-logs-and-performance/ Thanks. :) __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@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-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] How to use the log server in CI ?
Hi Tang, First, I recommend you use os-loganalyze because it significantly increases the value of the log files by making them easier to consume. I'm not sure what the issue you encountered is. The link you provide is to use swift, but that is the newer alternative to the old-fashion files on disk approach, and not a requirement. That said, you'll find the rules in one of the files located here: /etc/apache2/sites-enabled/ It is created by this template [1]. As you see, there's not htmlify directory because it's an alias that invokes os-loganalyze. Ramy [1] http://git.openstack.org/cgit/openstack-infra/puppet-openstackci/tree/templates/logs.vhost.erb#n85 From: Tang Chen [mailto:tangc...@cn.fujitsu.com] Sent: Thursday, August 06, 2015 5:07 AM To: openstack-dev@lists.openstack.org Subject: Re: [openstack-dev] How to use the log server in CI ? Hi Joshua, Thanks to reply. On 08/06/2015 07:45 PM, Joshua Hesketh wrote: Hi Tang, For OpenStack's set up, os-loganalyze sits at /htmlify/ and is used to add markup and filter log lines when viewing in a browser. On my box, I don't have a /htmlify/ directory, and I don't think I installed os-loganalyze at all. But when I accessed to the log site, the URL was just modified, added /htmlify/. For your own set up you don't need to use this and could simply serve anything straight off your disk. It should be safe to remove the apache matching rules in order to do so. I'm sorry, how to remove the apache matching rules ? From where ? Thanks. :) Hope that helps. Cheers, Josh On Thu, Aug 6, 2015 at 6:50 PM, Tang Chen tangc...@cn.fujitsu.commailto:tangc...@cn.fujitsu.com wrote: Hi Abhishek, After I setup a log server, if the request ends in .txt.gz, console.html or console.html.gz rewrite the url to prepend /htmlify/ . But actually the log file is on my local machine. Is this done by os-loganalyze ? Is this included in install_log_server.sh ? (I don't think so.) Could I disable it and access my log file locally ? I found this URL for reference. http://josh.people.rcbops.com/2014/10/openstack-infrastructure-swift-logs-and-performance/ Thanks. :) __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribehttp://openstack-dev-requ...@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-requ...@lists.openstack.org?subject:unsubscribemailto:openstack-dev-requ...@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-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] How to use the log server in CI ?
Hi Abhishek, After I setup a log server, if the request ends in .txt.gz, console.html or console.html.gz rewrite the url to prepend /htmlify/ . But actually the log file is on my local machine. Is this done by os-loganalyze ? Is this included in install_log_server.sh ? (I don't think so.) Could I disable it and access my log file locally ? I found this URL for reference. http://josh.people.rcbops.com/2014/10/openstack-infrastructure-swift-logs-and-performance/ Thanks. :) __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] How to use the log server in CI ?
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:tangc...@cn.fujitsu.com] Sent: Monday, August 03, 2015 6:14 PM To: openstack-dev@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:tangc...@cn.fujitsu.com] Sent: Friday, July 31, 2015 12:04 AM To: Abhishek Shrivastava abhis...@cloudbyte.commailto:abhis...@cloudbyte.com Cc: OpenStack Development Mailing List (not for usage questions) openstack-dev@lists.openstack.orgmailto:openstack-dev@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 tangc...@cn.fujitsu.commailto:tangc...@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-requ...@lists.openstack.org?subject:unsubscribemailto:openstack-dev-requ...@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-requ...@lists.openstack.org?subject:unsubscribemailto:openstack-dev-requ...@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-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
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:tangc...@cn.fujitsu.com] *Sent:* Friday, July 31, 2015 12:04 AM *To:* Abhishek Shrivastava abhis...@cloudbyte.com *Cc:* OpenStack Development Mailing List (not for usage questions) openstack-dev@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 tangc...@cn.fujitsu.com mailto:tangc...@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-requ...@lists.openstack.org?subject:unsubscribe mailto:openstack-dev-requ...@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-requ...@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-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] How to use the log server in CI ?
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 Ramy From: Tang Chen [mailto:tangc...@cn.fujitsu.com] Sent: Friday, July 31, 2015 12:04 AM To: Abhishek Shrivastava abhis...@cloudbyte.com Cc: OpenStack Development Mailing List (not for usage questions) openstack-dev@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 tangc...@cn.fujitsu.commailto:tangc...@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-requ...@lists.openstack.org?subject:unsubscribemailto:openstack-dev-requ...@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-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
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 tangc...@cn.fujitsu.com mailto:tangc...@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. -- * * *Thanks Regards, * *Abhishek* /_Cloudbyte Inc. http://www.cloudbyte.com_/ __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@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-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] How to use the log server in CI ?
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 tangc...@cn.fujitsu.com mailto:tangc...@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. -- * * *Thanks Regards, * *Abhishek* /_Cloudbyte Inc. http://www.cloudbyte.com_/ __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] How to use the log server in CI ?
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. 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 ? 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. __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] How to use the log server in CI ?
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 tangc...@cn.fujitsu.com mailto:tangc...@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_/ __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] How to use the log server in CI ?
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 tangc...@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 tangc...@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* __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] How to use the log server in CI ?
I am talking about /srv/static/logs folder. On Thu, Jul 30, 2015 at 3:18 PM, Abhishek Shrivastava abhis...@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 tangc...@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 tangc...@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* __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] How to use the log server in CI ?
On 07/30/2015 05:48 PM, Abhishek Shrivastava wrote: I am talking about /srv/static/logs folder. Yes, I see. But, I run the install_log_server.sh on my Jenkins Master, and configured $DOMAIN to another machine's hostname. Did I do this correctly ? 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. And on the other machine, there is nothing. I'm wondering if I should run the script on the other machine ? I'm a little confused. Thanks. On Thu, Jul 30, 2015 at 3:18 PM, Abhishek Shrivastava abhis...@cloudbyte.com mailto:abhis...@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 tangc...@cn.fujitsu.com mailto:tangc...@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 tangc...@cn.fujitsu.com mailto:tangc...@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_/ __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] How to use the log server in CI ?
You should setup the LogServer in another machine apart from master/slave because the logs machine should be a separate one not any other master/slave. On Thu, Jul 30, 2015 at 3:49 PM, Tang Chen tangc...@cn.fujitsu.com wrote: On 07/30/2015 05:48 PM, Abhishek Shrivastava wrote: I am talking about /srv/static/logs folder. Yes, I see. But, I run the install_log_server.sh on my Jenkins Master, and configured $DOMAIN to another machine's hostname. Did I do this correctly ? 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. And on the other machine, there is nothing. I'm wondering if I should run the script on the other machine ? I'm a little confused. Thanks. On Thu, Jul 30, 2015 at 3:18 PM, Abhishek Shrivastava abhis...@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 tangc...@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 tangc...@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* -- *Thanks Regards,* *Abhishek* *Cloudbyte Inc. http://www.cloudbyte.com* __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] How to use the log server in CI ?
Hi Tang, After completing the logServer installation the logs will go to your machine automatically after each build run. On Thu, Jul 30, 2015 at 2:19 PM, Tang Chen tangc...@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. -- *Thanks Regards,* *Abhishek* *Cloudbyte Inc. http://www.cloudbyte.com* __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev