summaryrefslogtreecommitdiff
path: root/tools/setup_Debian.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-12-14Fix mkdir instruction of tools/setup_Debian.shVictor Morales1-1/+1
The mkdir instruction tries to create the /etc/systemd/system/docker.service.d folder wich in some cases might not exists. This change includes hte -p argument. Change-Id: Ia278a2c4dd50a2e57a93b568d0c415e9451fc51f
2017-10-19Moving jobs to kolla repoJeffrey Zhang1-2/+2
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-11Create swapfile only on nodepool nodesChristian Berendt1-1/+1
TrivialFix Change-Id: I73d208d2a52c018ad6027f811c6b3a2eee802015
2017-08-29Fix gates out of disk spaceEduardo Gonzalez1-0/+19
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-28Changed as per the standard convention set to use "."Surya Prakash Singh1-1/+1
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-07-18Use latest docker ce in gateJeffrey Zhang1-19/+5
Change-Id: I1cb6189cec2704edfc461538ef593d38e81ca343
2017-03-15Update Docker to 1.13.1Mohammed Naser1-1/+1
There were a few issues blocking Kolla from going up to the latest version of Docker which is 1.13. Most of these issues seem to have been addressed by 1.13.1. This patch updates the version installed by Kolla to 1.13.1 for the testing infrastructure to prevent the following bug which is causing gate failures: https://github.com/docker/docker/issues/28336 Change-Id: I0d3569b589ee792c9aa6eaa7c539219fcc784271
2017-01-23Fix spelling mistake in setup_Debian.shYao Lu1-1/+1
TrivialFix Change-Id: I4782a64dc1ad97c089d1ceb8b43a06bca37c662f Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>
2017-01-20Fix the gate failureJeffrey Zhang1-3/+3
* Push images all the time * Pin docker-engine version Change-Id: Ie778f719655c1136e563ede9e494b37817e247fa
2016-12-19Switch Ubuntu to overlay2 docker driverSam Yaple1-3/+4
With 4.4 kernel we can use the improved overlay2 driver instead of btrfs for significantly better performance when creating layers. Change-Id: I3b0dfd6db5298dfb34ec160eed910ca76feeb423
2016-11-29Run docker registry in gateMichal (inc0) Jastrzebski1-1/+1
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-09-30Use sudo to create loop device on gate nodesChristian Berendt1-1/+1
TrivialFix Change-Id: Iaa8ff2592d89a91081383e1f9c23c860bb73bba5
2016-08-15Fix the Ubuntu Xenial build gateJeffrey Zhang1-4/+18
Ubuntu xenial use systemd service manager. Change the setup_Debian.sh script to handle this. Change-Id: I1f6487b73b1635e6dce0c68d3d7e1a158b427797 Partial-Bug: #1612887
2016-06-07setup_{RedHat,Debian}.sh, make more idempotentDave Walker (Daviey)1-8/+12
Previously, when either setup_{RedHat,Debian}.sh was ran multiple times a mess was created due to multiple loop devices being setup. This change now looks to see if '/docker' or '/swapfile' already exist, and not re-create them if they do. *However*, /var/lib/docker (/docker) is still wiped - but it means that the script can run and bring the system into a constant vanilla state. Change-Id: I169662fa04c2bf644672ca75c3ee579795943727 Closes-Bug: #1586563 Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2016-05-26Update ubuntu dockerfiles for formattingSwapnil Kulkarni (coolsvap)1-1/+1
Change-Id: If4be00b937e14ec93443dcb7249cf17099d57cbe Closes-Bug: #1569417
2016-02-08Add retry function for Docker keyringSamYaple1-1/+17
Sometimes the keyserver has a mirror failure which results in a failed gate. Add a retry to help prevent that failure. TrivialFix Change-Id: I143626dd6d799b4ea0f82f6649d2155c2f45a115
2016-02-06Fix gate for docker 1.10SamYaple1-1/+2
Docker 1.10 has broken the gate and this patch will correct that breakage. The issue comes with rsyslog. Due to a commit in Docker 1.10 [1] we must change the way we get the log socket for rsyslog. The /dev/ folder will no longer populate as we used it. So instead we simply make a new socket in a path we control and share that to the correct location in the containers. Additionally, adjust the gate for new Docker daemon. [1] https://github.com/docker/docker/pull/16639 Partially-Implements: blueprint kolla-upgrade Change-Id: I881a2ecdf6d7b35991e1d38a3f3e60d022d6577f
2016-01-21Convert gate to file backend rather than partitionSamYaple1-0/+47
The existing gate partitioned a disk for use with docker, depending on the gate it would use the swap disk (RAX) or a spare disk (HP). However, with the new gates (Bluebox + OVH) there is neither a spare disk nor a swap disk. This leaves us with one choice: File based loop device. This patch creates a file at /swapfile to ensure we have swap. It creates a file at /docker to ensure we have a loop device for Docker. Right now the /docker file is 10GB and the /swapfile is 4GB due to size limitations in the gate across all servers and types. This has proven to be enough space for all our current tests. Additionally, reduce the number of threads the gate uses to 4 to prevent the lockup and hour timeout we have been seeing as more recently in the gate. The scripts that setup the gate are moved to the tools directory rather than the tests directory to match the structure of the other projects. Partially-Implements: blueprint functional-testing-gate Change-Id: I3e370f2382b6df36103d8b2ceda9b21d9b4229d5