summaryrefslogtreecommitdiff
path: root/tools/deploy_aio.sh
AgeCommit message (Collapse)AuthorFilesLines
2019-03-25Remove unused scriptsMark Goddard1-48/+0
Removed various scripts which were part of previous CI configurations. Change-Id: I674c3bb89e049638926fcb2ad6577123117b5d32
2019-03-24Replace openstack.org git:// URLs with https://Ian Wienand1-1/+1
This is a mechanically generated change to replace openstack.org git:// URLs with https:// equivalents. This is in aid of a planned future move of the git hosting infrastructure to a self-hosted instance of gitea (https://gitea.io), which does not support the git wire protocol at this stage. This update should result in no functional change. For more information see the thread at http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html Change-Id: Ia4ad8d139eb5b37a9e661a789df13ec300eeee6f
2017-10-19Moving jobs to kolla repoJeffrey Zhang1-7/+7
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-07-27Merge "Corrected tmp location of ansible prechecks command"Jenkins1-1/+1
2017-07-25Corrected tmp location of ansible prechecks commandSurya Prakash Singh1-1/+1
Just to avoid the confusion in reading the location, improved the readability. Change-Id: I2f2ce2f275674ab2dc686d5e4df2701880fbe4c0
2017-07-21Add openstack logs in deploy gatesEduardo Gonzalez1-0/+9
Change-Id: I9195ecb2ab3d20714cb533496e914124c5933ad2
2017-06-21Fix deploy gateMichal (inc0) Jastrzebski1-1/+1
Enabling multiscenario gates broken deployment gates in Kolla. Sorry:( Change-Id: I46e6cea62555145d8e9d6962e9bb0f036077a305
2017-06-08Fix kolla deploy gatesMichal (inc0) Jastrzebski1-1/+12
Since we changed kolla-ansible gating, we need to change logic in kolla too Change-Id: Ie9196d01b9ce1ca0199cd657cecd4ca33a1f050e
2017-03-18Remove global privilege escalation for deploy_aio.shMohammed Naser1-1/+1
At the moment, deploy_aio.sh is called with sudo which results in the environment being wiped. This means that all Zuul environment variables are removed and therefore when zuul-cloner runs to checkout the branch of kolla-ansible, it will always fallback to master as ZUUL_BRANCH is unset. This patch removes the global usage of sudo in the tox.ini file as there is existing usage of sudo in the bash script itself. This will mean that we will only escalate privileges when needed rather for the whole script and the environment variables should be passed on properly resulting in the matching release of kolla-ansible being checked out. Closes-Bug: #1673756 Change-Id: I477a843e696be7136c020be6408afea01967879d
2016-12-29Clean up kolla-ansible related files from KollaSayantani Goswami1-0/+4
- 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-11-24Use kolla-ansible deploy_aio in gateJeffrey Zhang1-109/+7
Change-Id: I5351b7a6ee480be78e26af42ca724b1b6b664b38
2016-11-20Run init-once in kolla-ansible folderJeffrey Zhang1-2/+2
init-once is removed in kolla project Change-Id: I088c90a332a52520b17ca24cedf0ed0f710889d9
2016-11-18Use kolla-ansible for deploymentJeffrey Zhang1-5/+20
Change-Id: I2eb821f88d47b665615ad56319dd40681f7d9967
2016-11-09Use openstack_service_workers variable in gateJeffrey Zhang1-19/+1
set openstack_service_workers to 1 in gate. Closes-Bug: #1640416 Change-Id: I59560fd543f25e0b60b3f11f1c941adf595b3131
2016-10-29Update the way of loading the admin-openrc.sh filecaoyuan1-1/+1
TrivialFix Change-Id: I3cfa94d9f6202664a06c24d691376eb8759b922a
2016-10-24Print all docker images in gateJeffrey Zhang1-0/+1
TrivialFix Change-Id: I65ba1828fccee52194eb2b76c4055c922236d97b
2016-09-11Add ara to collect ansible playbook running staticsJeffrey Zhang1-0/+1
TrivialFix Change-Id: Id2a13be9c04920b5326534005750286f842aa731 Signed-off-by: Jeffrey Zhang <zhang.lei.fly@gmail.com>
2016-09-01Use a local docker image namespace in gateJeffrey Zhang1-0/+2
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-07-05Merge "Fix publicURL endpoint not found issue in CI"Jenkins1-0/+4
2016-06-29Fix publicURL endpoint not found issue in CIJeffrey Zhang1-0/+4
Partial-Bug: #1587226 Change-Id: I8cec44fdd9e6b00fcffe5dd59cbe8c69214b40b8
2016-06-15Remove the pull action in the deploy_aio CIJeffrey Zhang1-1/+2
In the current CI, we have no regitry service. when running pull action, it will pull image form docker.io where has no such image too. The right direction is set up a local regitry service, then push and pull image from there. TrivialFix Change-Id: I3ebea5cdb539cb700487a2dbffa894fcce8f8723
2016-06-08Run more kolla-ansible task in the gateJeffrey Zhang1-0/+8
Change-Id: I99871d3d86e5ab56be95dd9865f17f7d525704a5 Partially-Implements: blueprint functional-gating
2016-05-18Collect more info from the gate for debugJeffrey Zhang1-4/+8
* 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-05-13Fix the virt_type in the gateJeffrey Zhang1-1/+2
Change-Id: Iafa27677fc2ed2103c3ac8efeb0f0e13330a95f4 Closes-Bug: #1581021
2016-05-07Fix the copy docker log typoJeffrey Zhang1-1/+1
Change-Id: I86259d9b997cd10a11079c4834f135d58570968d
2016-05-06Merge "Fix the gate lying"Jenkins1-22/+20
2016-05-02Merge "Handle multi Ethernets case in the gate"Jenkins1-1/+3
2016-04-28Fix the gate lyingJeffrey Zhang1-22/+20
In some case, the gate is always green even when failure exist. Closes-Bug: #1568389 Change-Id: I64116ba33ebf96268c28abb6a7091752a346f29b
2016-04-28Handle multi Ethernets case in the gateJeffrey Zhang1-1/+3
rax-iad node has two Ethernets, but others not. Detect the private Ethernet by using script. Closes-Bug: #1561563 Change-Id: I7c5d241f2b1a21f97512e52c487d875dd270011b
2016-04-11Use a random virtual_router_id in the keepalivedJeffrey Zhang1-0/+2
Use a random virtual_router_id in case there are multi keepalived instances exist at the same time in the gate. Closes-Bug: #1568818 Change-Id: Iebb3dec088a21820e641b63bb2a5f40586d1df8c
2016-03-22Merge "Check relevant logging mechanism in the gate"Jenkins1-2/+5
2016-03-22Check relevant logging mechanism in the gatePaul Bourke1-2/+5
Avoids errors about missing journalctl on Ubuntu and missing upstart on redhat bases. Closes-Bug: 1554724 Change-Id: I80bb55688398df85f9020d5cfe5dda757fc5a0ef
2016-03-19Fix permissions for log extraction in gateSamYaple1-0/+2
Some gates are failing to properly pull all logs out resuling in an UNSTABLE status. This resets all logs to 777 perms to ensure readability by jenkins. TrivialFix Change-Id: Ib92c5bfea5fa8bcc6380ad8aa6001b13888717ac
2016-03-09Copy the logs out of the containerJeffrey Zhang1-4/+2
Heka logs almost done. When testing, The collected logs can copy to the /tmp/logs folder, which will be handle by the gate. This will be very useful for our gate debug. TrivialFix Change-Id: I06ca8ebd13933bfd15cb2fb5e53fc3038b17b8c3
2016-02-26Change kolla_internal_address variableSamYaple1-1/+1
Due to poor planning on our variable names we have a situation where we have "internal_address" which must be a VIP, but "external_address" which should be a DNS name. Now with two vips "external_vip_address" is a new variable. This corrects that issue by deprecating kolla_internal_address and replacing it with 4 nicely named variables. kolla_internal_vip_address kolla_internal_fqdn kolla_external_vip_address kolla_external_fqdn The default behaviour will remain the same, and the way the variable inheritance is setup the kolla_internal_address variable can still be set in globals.yml and propogate out to these 4 new variables like it normally would, but all reference to kolla_internal_address has been completely removed. Change-Id: I4556dcdbf4d91a8d2751981ef9c64bad44a719e5 Partially-Implements: blueprint ssl-kolla
2016-02-23Remove Rsyslog entirelyÉric Lemoine1-1/+1
Partially implements: blueprint heka Change-Id: I1322d2dc870e6f8fe052926995d993e8a08a25db
2016-02-19Quick gate fixSamYaple1-6/+9
I accidentally merged a patch with +W that does not work on all gates that infra uses. Specifically it breaks on RAX for unknown reasons. This is a quick patch to not fully revert, but allow the gate to stay green while I work out the issue Change-Id: I02fc66bbc53103f2d71c648d5e2959f10f0130c0 Partially-Implements: blueprint functional-testing-gate
2016-02-18Launch VM in gateSamYaple1-7/+33
Change-Id: I18b1015ca62a352e193ef01bd49cd6d6f9372193 Partially-Implements: blueprint functional-testing-gate
2016-02-16Reduce gate resource usageSamYaple1-5/+37
Change-Id: Ic6cd45ec708efe4f573e19f3bc910717ac3b4fbb Partially-Implements: blueprint functional-testing-gate
2016-02-10Trap error exit in deploy aio scriptJeffrey Zhang1-2/+2
This make sure the check_failure called whenever the script exits unexpectedly. TrivialFix Change-Id: If38e9ad42810deec48afd3f8b57387ae6ffd926c
2016-02-08Increase ansible verbosity during gate deployMartin André1-1/+1
The gate currently doesn't provide any context when ansible fails. This commit adds a new --verbose option to `kolla-ansible` that is passed to `ansible-playbook`, and sets the default to -vvv for `kolla-ansible deploy` in the gate. TrivialFix Change-Id: If248a4186b140e1ec0d2e787c27481cec7e81eec
2016-02-02Validate that all the containers are startedJeffrey Zhang1-8/+12
Container maybe exit after deployed. But the print_failure never runs if the kolla-ansible run success. This PS checks all the containers status after deploy and failed the test if the container status is exited TrivialFix Change-Id: Ia461b280855eda500e143ee1d6cfd5f215eaf6fe
2016-01-21Convert gate to file backend rather than partitionSamYaple1-0/+37
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