summaryrefslogtreecommitdiff
path: root/tools/setup_gate.sh
AgeCommit message (Collapse)AuthorFilesLines
2019-06-20Clean up test processRadosław Piliszek1-15/+0
If stestr failed, then no node info was logged. Logging node info is now handled in pre and post stages of Zuul. Additionally Zuul v3 migration recommendations were applied and some unused code removed improving general readability. Change-Id: Iae9d37cb76997ba8389e21c7e2a3bf5905abe029 Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2017-11-06Dockerhub publisher jobMichal (inc0) Jastrzebski1-79/+0
This patchset includes pushing mechanism for daily periodic jobs. Change-Id: Ic4179ffd3a6e640abfb181dbd000bc75cc64b750
2017-10-19Moving jobs to kolla repoJeffrey Zhang1-101/+1
This is zuulv3 migration patch. This patch only implement build jobs. Deploy jobs will be pushed in another one. Partial-Bug: #1720601 Change-Id: Ib9157ed132820d752ef1dbd7a53353ebd68b1934
2017-09-19Pin ansible to <2.4 to make ara work in gatesEduardo Gonzalez1-2/+1
ARA does not work yet with ansible 2.4 ARA has pinned to lower version than 2.4 https://review.openstack.org/#/c/500651/ Change-Id: Idfe1e7ad46efac965a22b4f7fa833babf22ba375
2017-08-29Fix gates out of disk spaceEduardo Gonzalez1-3/+3
Sometimes gates fails due lack of space, post merge jobs gates fails always for oraclelinux binary, not being able create a tarball registry. This change mounts a second disk in opt and moves registry data to opt. Disk format commands are excepts from devstack-gate: https://github.com/openstack-infra/devstack-gate/blob/dc49f9e6eb18e42c6b175e4e146fa8f3b7633279/functions.sh#L306 Closes-Bug: #1713652 Change-Id: I883e51042841709eb9ab348cfdce9fecbd4fb890
2017-08-29Merge "Make Oraclelinux use infra mirrors"Jenkins1-5/+2
2017-08-28Make Oraclelinux use infra mirrorsMichal (inc0) Jastrzebski1-5/+2
Due to typo oraclelinux didn't use mirrors provided by infra Change-Id: If25a9a028636cbf66d707a0a58e288f17e65cc71
2017-08-28Changed as per the standard convention set to use "."Surya Prakash Singh1-2/+2
When we have to source a script file use . instead of source For Reference follow below link: https://docs.openstack.org/contributor-guide/writing-style/code-conventions Change-Id: Icc6a692d37e8a5bc1146d803c873505cbf6cd03f
2017-06-21Upgrade from docker-py to dockerHongbin Lu1-1/+1
The pypi package 'docker-py' [1] has been renamed to 'docker' [2]. It is better to move to the new 'docker' package because the old package will be deprecated and all the new features will go into the new package only. Package 'docker' has been added to requirements [3]. The old package 'docker-py' is still allowed to be in the global requirements during the transition period but it should be removed after all or most of the projects finsih the migration. [1] https://pypi.python.org/pypi/docker-py [2] https://pypi.python.org/pypi/docker [3] https://review.openstack.org/#/c/423715/ Change-Id: I3ffd8bb6461e8b7edacc5e833754f00c4249b854
2017-05-01Add ssh-keyscan to unblock kolla gateEduardo Gonzalez1-3/+6
As a change to remove puppet from infra nodepool, ssh-keyscan is needed for each node [0] Permissions to ssh/config file should be 600 instead of current 664 [1] Refs: [0] http://lists.openstack.org/pipermail/openstack-dev/2017-April/116036.html [1] http://logs.openstack.org/68/461368/1/check/gate-kolla-ansible-dsvm-deploy-centos-binary-centos-7-nv/0a94da7/console.html#_2017-05-01_12_06_08_440775 Closes-Bug: #1687408 Change-Id: I338e457fff35d8a28bd9f96e88dbb4ee55a47864
2017-04-10Switch to RDO proxy mirrorsMohammed Naser1-6/+7
We download a large number of packages from trunk.rdoproject.org, the OpenStack Infra team has setup a per-region caching proxy to speed up builds and reduce reliance on the internet. This patch switches builds to use the new mirror and also stops defining our own mirror variables and rely on the one provided by nodepool instead. As part of this patch, we also drop getting the delorean.repo file from buildlogs.centos.org as it could be out of sync and essentially broken (until the job to sync runs). We prefer going to trunk.rdoproject.org as it will be proxied and cached. Change-Id: Ia28225de715089bbf5b023d1e134f2fb7da93fbd
2017-03-22Gate fixes: disable bifrost-base, fix ubuntu base imageMohammed Naser1-0/+1
At the moment, Bifrost has caused a few failures which have blocked the gate, the latest of which is documented in the bug listed below (alongside with another one that caused another gate failure). In order to let patches flow though, we're disabling it from the gate build checks as agreed on the Kolla meeting on the 22nd of March 2017. Also, the Ubuntu base image seems to have a missing /etc/protocols which is created by the netbase package. This has been added to the base images. There are issues with subunit getting a very large log all at once which causes failures that is causing issues. We also enable logging to a local folder which will make troubleshooting image builds easier to read and avoid sending a large blob of data to subunit. Change-Id: Iee1f8b06ec1066015ea5c6a6a245723402e35a6a Related-Bug: #1674483 Related-Bug: #1673776 Closes-Bug: #1675101
2017-02-07Using CI mirror hostJeffrey Zhang1-29/+57
Depends-On: Ib83ed5e437ca868f0e42ce740ad1125d2fa48ff4 Change-Id: I9af17fac07b88badb5db498a940db9356e2e202f Partially-Implements: blueprint mirrors
2017-01-31Revert "Removed percona from ubuntu repos"Sam Yaple1-0/+1
This reverts commit af7a1da8076f7a253795c2a431b3eeec4cd348d7. Co-Authored-By: Michal (inc0) Jastrzebski <inc007@gmail.com> Change-Id: I81df3bf01f618dbc7f771ee2e188eaa562ffe9db Closes-Bug: #1659981
2017-01-20Fix the gate failureJeffrey Zhang1-4/+2
* Push images all the time * Pin docker-engine version Change-Id: Ie778f719655c1136e563ede9e494b37817e247fa
2017-01-06Merge "packing and uploading registry"Jenkins1-0/+5
2017-01-03Merge "Clean up kolla-ansible related files from Kolla"Jenkins1-2/+0
2017-01-02packing and uploading registryMichal (inc0) Jastrzebski1-0/+5
Partially-Implements: blueprint pack-registry Co-Authored-By: Jeffrey Zhang <jeffrey.zhang@99cloud.net> Change-Id: I6816c6d3fc2f4224553f8a22e2ebb87e8616db37
2016-12-29Clean up kolla-ansible related files from KollaSayantani Goswami1-2/+0
- Remove globals.yml and passwords.yml files. - The gate was still using these files from the kolla directory. Modified the gate to prevent using these files from the kolla directory. - Modified the deploy_aio.sh file to populate passwords in passwords.yml using kolla-ansible. Change-Id: I1ed7849d54cab6d5a9217dced73327ea13f06636 Closes-Bug: #1653035
2016-12-28Merge "Removed percona from ubuntu repos"Jenkins1-1/+0
2016-12-23Run sudo with -H parameter to set the proper home dirJeffrey Zhang1-1/+1
Change-Id: Ib273f50bd7fb889e0025f58c11dd89f39ca8e4ca Closes-Bug: #1652112
2016-12-20Removed percona from ubuntu reposSam Yaple1-1/+0
16.04 provides the percona-xtrabackup scripts in the main repos, so the specific percona repo can be removed. Unfortunately, mariadb10.0 does not build with galera built-in. So until ubuntu packages mariadb10.1, we will be dependant on the external repos for mariadb with galera built in. Labels keys so they are easily identified in the future. In Jinja2 the comments cannot go inline while generating the list. Change-Id: I5e6c2f884c8d59bbc574b71ac731d1b4db18b68c
2016-12-08Fix dir specs typo errorjeckxie1-1/+1
Change-Id: I9426b176a0d7af452c569590b771e4661b4652a2
2016-12-02Merge "Run docker registry in gate"Jenkins1-0/+7
2016-11-29Run docker registry in gateMichal (inc0) Jastrzebski1-0/+7
Part of plan to have registry-like behavior in deploy gates. First part is to run docker registry locally. Next one will be pushing built images to it, tar.gz whole registry (separate per distro and type) and use publisher jobs to upload whole registry to tarballs.o.o Change-Id: I81f154fe6ef58ef93815f42496aef382d32f6774
2016-11-29Use Dockerfile customization instead of include_headerJeffrey Zhang1-3/+6
include_header is marked deprecated and will be removed in the future Change-Id: I170f7657bebe99f31b04c2c80f5a1c0dbd58000f
2016-11-04Merge "Improve playbook to setup gate nodes"Jenkins1-1/+1
2016-10-22Unpin ARA, update callback locationDavid Moreau-Simard1-2/+2
ARA 0.9.2 was released which deprecates the previous callback location in favor of a new one. The deprecated location still works but let's move to the new one right away. Change-Id: I8a10d5855ab6f813e52cc6efce5bcfe91d9c3f92
2016-10-20Pin ARA to 0.9.1 temporarilyDavid Moreau-Simard1-1/+1
The next release of ARA (0.10.0) contains a change to the callback plugin location that /should/ be backwards compatible but let's control the update to the newer version to be safe and avoid breaking the gate needlessly. Change-Id: I32176166e8ebcbfdf0baa8bd7ec30e5ec6d795a5
2016-10-20Merge "Use xenial repos for Ubuntu in the gate"Jenkins1-2/+2
2016-10-19Use xenial repos for Ubuntu in the gatePaul Bourke1-2/+2
The gate jobs are using Xenial as the base OS so it seems we should be using the same non-infra repos as our base image. TrivialFix Change-Id: I6e5d27364054c474c16120a3195cae819861c8a1
2016-10-17Use correct Kibana version on the gatesChristian Berendt1-1/+1
We bumped the Kibana version from 4.4 to 4.6 with Ia18cb89e0951359226add5cbd96d3a91c7fcfd8a. This version should be used on the gates as well. Change-Id: I21ccac9a12e4b604d3cf336c6263f2e4cd925524 Closes-bug: #1634049
2016-09-29Improve playbook to setup gate nodesChristian Berendt1-1/+1
* use become instead of sudo * use file instead of shell to change file modes * rename setup_nodes.yml to playbook-setup-nodes.yml Change-Id: I69eda1f034b97d13be76efc91458b6d762c76baf
2016-09-11Add ara to collect ansible playbook running staticsJeffrey Zhang1-0/+7
TrivialFix Change-Id: Id2a13be9c04920b5326534005750286f842aa731 Signed-off-by: Jeffrey Zhang <zhang.lei.fly@gmail.com>
2016-09-09Change ceph version to JewelMichal (inc0) Jastrzebski1-1/+0
This patch changes version of ceph from hammer to jewel. Also removed versionlock as it seems we don't use it in ubuntu, and actually might be risky if we miss security patch on ceph. Change-Id: Ib8f88c2f914a4b635e59a509fa0194605eb73165 Implements: blueprint upgrade-ceph-to-jewel
2016-09-01Use a local docker image namespace in gateJeffrey Zhang1-0/+3
use different a docker namespace name in case it pull image from hub.docker.io when deplying in gate TrivialFix Change-Id: I643000e5d9e597a254a4f12c0c10186d4eb20429 Signed-off-by: Jeffrey Zhang <zhang.lei.fly@gmail.com>
2016-08-20Fix Ubuntu source gate deploymentJeffrey Zhang1-2/+17
In CI environment, MySQL-python wheel package has a wrong _mysql.so file, which is not compatible with Ubuntu. Disable wheel index in the CI for pip. Closes-Bug: #1615231 Change-Id: I127ebb017e09a5bf245e0fdad9bf052203e68e55
2016-07-12Use local mirror of ceph and ucaSteven Dake1-2/+2
Change-Id: I75962ec416a8e4bedb0ad85c93b46cdcd80e8a72 Partially-Implements: blueprint mirrors
2016-05-26Merge "Bump the ansible to 2"Jenkins1-1/+1
2016-05-24Bump the ansible to 2Jeffrey Zhang1-1/+1
DocImpact Change-Id: I3cdfbf84919de80f535c030bd146787ecda40dec partial-Implements: blueprint ansible2
2016-05-23Merge "Fix the rabbitmq crash on CentOS binary and source deploy"Jenkins1-8/+7
2016-05-22Fix the rabbitmq crash on CentOS binary and source deployJeffrey Zhang1-8/+7
this is a wordround fix for the rabbitmq failed when deploy on CentOS in the CI gate. the ideal fix should set the hostname in setup_gate.sh script. But it do not work as expect with unknown reason Partial-Bug: #1581301 Change-Id: Ia692794aadf11d3ebe75e4e2bf6b42d9a5f3996f
2016-05-18Collect more info from the gate for debugJeffrey Zhang1-1/+1
* enable the openstack logging debug in the gate * copy the /etc/kolla files out * copy the /var/log files out TrivialFix Change-Id: I9cf5fa773ec5f41c6ea93325076a64dd24ce22da
2016-04-24Remove the eth1 up and down manually in the rax-ord nodeJeffrey Zhang1-8/+0
Change-Id: I8372df9869df6e83b7a176184ce93da633525cbd Closes-Bug: #1574134
2016-04-19Workaround broken nodepool to unblock gateSteven Dake1-0/+11
Sed and check the length of the IP addresses in the private list. If none found, copy the public to the private. Change-Id: I05e4798aa301e022de7d5097d503d8213f2b66a8 Closes-Bug: #1571275
2016-04-14Enable unbuffered output for ansiblePaul Belanger1-0/+3
This will allow ansible to output to the console log in realtime. Closes-Bug: #1569769 Change-Id: If4e4ccd9911d9fa9031eed8419bb5a1367c99e49 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-03-26Fix typos in KollaNguyen Hung Phuong1-1/+1
TrivialFix Change-Id: I21f51811ec4256d9b6b2e219de6201e4811dfc5a
2016-03-21Merge "Fix rax-ord commands"Jenkins1-2/+2
2016-03-21Merge "Add generate_passwords.py to generate passwords"Jenkins1-0/+2
2016-03-21Fix rax-ord commandsSamYaple1-2/+2
It isn't always possible to get a rax-ord gate. Last patch wasn't correct. TrivialFix Change-Id: Id94264166e0914f038f32f3f9b68e463aa15ccd3