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

Reply via email to