[openstack-dev] [cinder] [third-party] ProphetStor CI account

Rick Chen rick.chen at prophetstor.com
Tue Aug 18 06:09:49 UTC 2015


HI Adhishek:

        Yes, any problem? What do I do wrong?

 

From: Abhishek Shrivastava [mailto:abhishek at cloudbyte.com] 
Sent: Tuesday, August 18, 2015 1:57 PM
To: Rick Chen <rick.chen at prophetstor.com>
Subject: Re: [openstack-dev] [cinder] [third-party] ProphetStor CI account

 

So you have created one .htaccess file in your log folder, am I right?

 

On Tue, Aug 18, 2015 at 11:19 AM, Rick Chen <rick.chen at prophetstor.com <mailto:rick.chen at prophetstor.com> > wrote:

HI Adhishek:

        I add “AllowOverride all” option and point to the OpenStack CI log folder in the apache configuration.

<Directory /var/log/prophetstor_ci>

        Options Indexes FollowSymLinks

        AllowOverride All

        Require all granted

</Directory>

and set the .htaccess file in the /var/log/prophetstor_ci.

.htaccess contents as below:

Options Indexes FollowSymLinks

Order allow,deny

Allow from all

RewriteEngine On

RewriteCond   %{HTTP:Accept-Encoding} gzip

RewriteCond   %{LA-U:REQUEST_FILENAME}.gz -f

RewriteRule   ^(.+)$ $1.gz [L]

<FilesMatch ".*\.gz$">

  ForceType text/html

  AddDefaultCharset UTF-8

  AddEncoding x-gzip gz

</FilesMatch>

        reference: http://httpd.apache.org/docs/2.2/howto/htaccess.html

 

 

From: Abhishek Shrivastava [mailto:abhishek at cloudbyte.com <mailto:abhishek at cloudbyte.com> ] 
Sent: Tuesday, August 18, 2015 1:05 PM
To: Rick Chen <rick.chen at prophetstor.com <mailto:rick.chen at prophetstor.com> >
Subject: Re: [openstack-dev] [cinder] [third-party] ProphetStor CI account

 

Hi Rick,

 

I know we had to put the following for making logs browsable, but where exactly to put it, I mean in which file can you specify it clearly.

 

On Tue, Aug 18, 2015 at 9:28 AM, Rick Chen <rick.chen at prophetstor.com <mailto:rick.chen at prophetstor.com> > wrote:

HI Adhishek:

 

One more information, how are you catching the logs and making it browsable?

        Do you mean item[6]? I just follow OpenStack Third-part CI document. You can reference http://docs.openstack.org/infra/system-config/third_party.html#faq-frequently-asked-questions. Add this configuration in our web server.

 

 

On Tue, Aug 18, 2015 at 7:10 AM, Rick Chen <rick.chen at prophetstor.com <mailto:rick.chen at prophetstor.com> > wrote:

HI Abhishek:

        For you information in the below. 

 

HI Mike:

        What I have missed it?

 

On Mon, Aug 17, 2015 at 8:52 PM, Rick Chen <rick.chen at prophetstor.com <mailto:rick.chen at prophetstor.com> > wrote:

HI Mike:
        I completed to refine our CI configuration to follow Ramy's
comments. Does any missed or other attention I need respect?

        [1] Add "export DEVSTACK_GATE_TEMPEST_REGEX=volume" to verify all
cinder volume testing.
        [2] Add each service configuration in the log.

http://download.prophetstor.com/prophetstor_ci/203895/3/check/prophetstor-ds <http://download.prophetstor.com/prophetstor_ci/203895/3/check/prophetstor-dsvm-tempest-cinder-ci/5100/logs/etc/> 
vm-tempest-cinder-ci/5100/logs/etc/
        [3] Add email alert when the devstack build failed to instead of you
notify to me.

 

​Can you please tell me that how ​

 

​you have done the [3].​

        Use Jenkins email E-mail Notification.

        Manage Jenkins >> Configure System >> E-mail Notification

                Add SMTP server and Default user e-mail suffix. Use advanced button to verify email seting.

        Add Email notification in you job.

                CI job >> “Add post-build action” >> “Email Notification” >> add Recipients.

        Reference link:  <https://www.safaribooksonline.com/library/view/jenkins-the-definitive/9781449311155/ch08s02.html> https://www.safaribooksonline.com/library/view/jenkins-the-definitive/9781449311155/ch08s02.html

 

 

        [4] Integrate VMware snapshot revert feature in the Jenkins master
to clean CI slave machine OS environment that avoid the devstack building
failed due to previous devstack garbage configuration.

 

​Also, the process of CI slave snapshot revert mentioned in [4].

​        Add Jenkins plugin agent: vSphere Cloud Plugin

        Configure vSphere Cloud in Jenkins master.

        Manage Jenkins >> Configure System >> vSphere Cloud

                Add vSphere hose, user name, password.

        Configure vSphere Slave.

                Add slave node and select “Slave virtual computer running under vSphere Cloud”

        Manage Jenkins >> Manage Nodes >> New node >> select “Slave virtual computer running under vSphere Cloud”

                Add your vSphere information in this configuration page.

        Reference link:  <https://wiki.jenkins-ci.org/display/JENKINS/vSphere+Cloud+Plugin> https://wiki.jenkins-ci.org/display/JENKINS/vSphere+Cloud+Plugin

 

 

        [5] Latest CI result for you reference.

http://download.prophetstor.com/prophetstor_ci/203895/3/check/prophetstor-ds <http://download.prophetstor.com/prophetstor_ci/203895/3/check/prophetstor-dsvm-tempest-cinder-ci/5100/logs/> 
vm-tempest-cinder-ci/5100/logs/
                http://download.prophetstor.com/prophetstor_ci/

        [6] Logs need to be browsable online.
                Add Rewrite module and rule in the apache configuration.

        my gerrit account:              prophetstor-ci
           gerrit account email:        prophetstor.ci at prophetstor.com <mailto:prophetstor.ci at prophetstor.com> 

Many thanks.

 

-- 

  <https://docs.google.com/uc?export=download&id=0Byq0j7ZjFlFKV3ZCWnlMRXBCcU0&revid=0Byq0j7ZjFlFKa2V5VjdBSjIwUGx6bUROS2IrenNwc0kzd2IwPQ> 

Thanks & Regards,

Abhishek

 <http://www.cloudbyte.com> Cloudbyte Inc.





 

-- 

  <https://docs.google.com/uc?export=download&id=0Byq0j7ZjFlFKV3ZCWnlMRXBCcU0&revid=0Byq0j7ZjFlFKa2V5VjdBSjIwUGx6bUROS2IrenNwc0kzd2IwPQ> 

Thanks & Regards,

Abhishek

 <http://www.cloudbyte.com> Cloudbyte Inc.





 

-- 

  <https://docs.google.com/uc?export=download&id=0Byq0j7ZjFlFKV3ZCWnlMRXBCcU0&revid=0Byq0j7ZjFlFKa2V5VjdBSjIwUGx6bUROS2IrenNwc0kzd2IwPQ> 

Thanks & Regards,

Abhishek

Cloudbyte Inc. <http://www.cloudbyte.com> 





 

-- 

  <https://docs.google.com/uc?export=download&id=0Byq0j7ZjFlFKV3ZCWnlMRXBCcU0&revid=0Byq0j7ZjFlFKa2V5VjdBSjIwUGx6bUROS2IrenNwc0kzd2IwPQ> 

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/20150818/909e1051/attachment.html>


More information about the OpenStack-dev mailing list