aboutsummaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
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-14Merge "Run more kolla-ansible task in the gate"Jenkins1-0/+8
2016-06-14Make cleanup remove restarting/exited containersMichal (inc0) Jastrzebski1-1/+1
If we have bug in contianer or it simplt somehow ended up in Exited state, cleanup doesn't flush it. It also means it doesn't flush volumes and that might cause an dirty env. Closes-Bug: #1587344 Change-Id: Ib5705992500ce7efdc66509df61c381bd33d1954
2016-06-08Run more kolla-ansible task in the gateJeffrey Zhang1-0/+8
Change-Id: I99871d3d86e5ab56be95dd9865f17f7d525704a5 Partially-Implements: blueprint functional-gating
2016-06-07setup_{RedHat,Debian}.sh, make more idempotentDave Walker (Daviey)2-18/+26
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-31Add passwords parameter to LONG_OPTS in kolla-ansible scriptChristian Berendt1-1/+1
Change-Id: I8b139d716deeb7eee8eb22beda8ac6d3b82e66ee Closes-bug: #1587648
2016-05-31Merge "change keyfile to key"Jenkins1-3/+3
2016-05-31change keyfile to keySteven Dake1-3/+3
All files used by kolla-ansible do not have a file ending. keyfile was added as an anomoly. I noticed this during a review that coolsvap had underway where he did a similar thing. I think --key is fine. TrivialFix Change-Id: I99867a1a04a4dd881dcb2af39946122ea6b7d8a3
2016-05-26Add support to lint the install commands in DockerfilesSwapnil Kulkarni (coolsvap)3-2/+18
Change-Id: Icb47ba8b13b13889e28bb285321f11344400edc2 Closes-Bug:#1582618
2016-05-26Merge "Update ubuntu dockerfiles for formatting"Jenkins1-1/+1
2016-05-26Merge "Bump the ansible to 2"Jenkins1-1/+1
2016-05-26Update ubuntu dockerfiles for formattingSwapnil Kulkarni (coolsvap)1-1/+1
Change-Id: If4be00b937e14ec93443dcb7249cf17099d57cbe Closes-Bug: #1569417
2016-05-25Merge "Make passwords.yml file generation configurable"Jenkins1-11/+16
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"Jenkins2-9/+8
2016-05-22Fix the rabbitmq crash on CentOS binary and source deployJeffrey Zhang2-9/+8
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-21Make passwords.yml file generation configurableSwapnil Kulkarni (coolsvap)1-11/+16
partially implements blueprint multiple-clouds Change-Id: I676c4245e6f058ffbed345970ee78d1750dd0f2f
2016-05-19Add generate-config option to kolla-ansibleRyan Hallisey1-8/+13
In order for the ansible configuration to be consumable, we need to be able to generate it without deploying anything. Change-Id: I2bbdd74d62d00f509a4fa5e4100906ed658d3974 Implements: blueprint generate-config
2016-05-18Collect more info from the gate for debugJeffrey Zhang2-5/+9
* 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-10Merge "Make "cleanup-containers" script works dynamically"Jenkins1-52/+6
2016-05-09Merge "Add extension to file"Jenkins1-1/+1
2016-05-09Merge "Fix the copy docker log typo"Jenkins1-1/+1
2016-05-09Merge "Diagnostics for Environment"Jenkins1-0/+29
2016-05-07Fix the copy docker log typoJeffrey Zhang1-1/+1
Change-Id: I86259d9b997cd10a11079c4834f135d58570968d
2016-05-06Add extension to fileMauricio Lima1-1/+1
TrivialFix Change-Id: I161526927ae32f2bbfec1ade610f7b712f4c5163
2016-05-06Make "cleanup-containers" script works dynamicallyCarlos Cesario1-52/+6
Make cleanup-containers works dynamically. The script removes the containers and its volumes dynamically based on label contained in each kolla container, this way is not needed create a big container and volume lists to be deleted. http://paste.openstack.org/show/496357/ Closes-Bug: #1579044 Change-Id: Ie0d8a38ba2cf77c8d5da655958407145f4105bec
2016-05-06Merge "Fix the gate lying"Jenkins1-22/+20
2016-05-06Diagnostics for EnvironmentMauricio Lima1-0/+29
Change-Id: I99726387d8daf99e85e5502e27710de60c0066bc Implements: blueprint diag-env
2016-05-05Deleting only images from kolla buildMauricio Lima1-4/+6
Co-Authored-By: Carlos Cesario <carloscesario@gmail.com> Change-Id: I3e9652e1cac156f822b388d2b9fd910180b4a892 Closes-Bug: #1551933
2016-05-05Deletes fake containers on cleanupprithiv1-1/+2
Closes-Bug: #1576277 Change-Id: Ie68d1d5da620f26a0aa21aa5c6473bc464994ed8
2016-05-03Merge "Remove unecessary blank lines"Jenkins3-3/+0
2016-05-02Merge "Handle multi Ethernets case in the gate"Jenkins1-1/+3
2016-05-02Merge "Use a random virtual_router_id in the keepalived"Jenkins1-0/+2
2016-05-02Remove unecessary blank linesMauricio Lima3-3/+0
TrivialFix Change-Id: I1f03d428c380dfdbde5ef33e7ea43cbf5e9154ce
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-27Merge "Add a role to cleanup containers after deployment"Jenkins1-0/+5
2016-04-27Merge "Remove the eth1 up and down manually in the rax-ord node"Jenkins1-8/+0
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-21Update remaining files for formattingSwapnil Kulkarni (coolsvap)1-1/+1
Change-Id: Ie9fc941bb48edf86b00fc1f2dba0b83b675a5a1c Partial-Bug:#1569417
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-19Add a role to cleanup containers after deploymentMauricio Lima1-0/+5
Change-Id: I5f422574d7e50ec9a1e5862b66ecbf39fe1594d2 Closes-Bug: #1531721 Implements: blueprint ansible-cleanup-role
2016-04-19Fix typo in kolla-ansible usage messagePaul Bourke1-1/+1
TrivialFix Change-Id: I170f19afdc4dcf86e372058d70694f3e7b510e69
2016-04-14Merge "cleanup-host should not remove kolla-build.conf"Jenkins1-0/+1
2016-04-14Merge "Enable unbuffered output for ansible"Jenkins1-0/+3
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-04-13Added help documentation for kolla-ansible upgradeSwapnil Kulkarni (coolsvap)1-0/+1
Change-Id: I6a2672362da5ae69e8417e334a170c3c68c1307c Closes-Bug: #1569971
2016-04-12cleanup-host should not remove kolla-build.confSwapnil Kulkarni (coolsvap)1-0/+1
new cleanup-host script removes kolla-build.conf in /etc/kolla directory which contains the build configuration for building images. This should be preserved. Change-Id: I20fbf3f8a2400a5e048ba55beb0c8e1ec849d8a3 Related-Bug:#1561055
2016-04-12Merge "Remove /etc/kolla configuration folders"Jenkins1-0/+12