aboutsummaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
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
2016-04-11Merge "Make sure /etc/hostname is valid for SELinux"Jenkins1-0/+4
2016-04-11Make sure /etc/hostname is valid for SELinuxPaul Belanger1-0/+4
In the gate, it is possible for /etc/hostname to not have a valid SELinux security conext. So, reset them to default before we update the hostname to avoid: TASK: [Assign hostname] failed: [node1] => {"failed": true} msg: Command failed rc=1, out=, err=Could not set property: Access denied Closes-Bug: #1568047 Change-Id: Ie30c8437b310d1ea5bc75307375c255131dfe934 Needed-By: I2ff5fbb315832b8cf07c93d0dd0cdaacd958631e
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-04-09Remove /etc/kolla configuration foldersMauricio Lima1-0/+12
Kolla deployment creates /etc/kolla folder on a target host with multiple configuration files. In some scenarios, the presence of these files prevent successful deployment of certain services especially when their configuration parameters have been changed on the deployment host. Change-Id: Iefd544b50fc90b7f00d6e137bc14ab4807ef7c0f Closes-Bug: #1561055
2016-04-08Add default flavors during init-runonceDave McCowan1-0/+9
The nova team is removing the default flavors from a standard deployment. This is great for operators, who have to delete the defaults anyways. This patch adds the original default flavors back during init-runonce so kolla users can be ready to launch instances. Closes-Bug: #1567964 Change-Id: I17daec98997a6e412a99f34d3f8a4324460d8c60
2016-04-07Add mongodb in cleanup containers scriptMauricio Lima1-0/+1
Change-Id: I0901802e0e349956f2c01dcd86746b4de0cc2382 Closes-Bug: #1567642
2016-04-05Merge "Add nova_ssh in cleanup containers script"Jenkins1-1/+1
2016-04-05Add nova_ssh in cleanup containers scriptMauricio Lima1-1/+1
Closes-Bug: #1566281 Change-Id: I84533a066a2dbc4de282b20785092350607c5971
2016-04-05Check empty passwords in $CONFIG_DIR/passwords.ymlVikram Hosakote1-1/+1
Co-Authored-By: Carlos Cesario <carloscesario@gmail.com> Change-Id: Ic2ea835cf38be64a590d3f6b022683081aeb363b Closes-Bug: #1566150
2016-04-01Merge "Add a step to clean all ceph references in fstab"Jenkins1-0/+6
2016-04-01Add a step to clean all ceph references in fstabMauricio Lima1-0/+6
After run cleanup-containers script, was necessary to clear references to the ceph in fstab file manually Change-Id: I264e6644d5d569a9b56115ea31b15589b093c3f9 Closes-Bug: #1562991
2016-03-30Merge "Pass extra variables through kolla-ansible to ansible-playbook"Jenkins1-2/+8
2016-03-29Pass extra variables through kolla-ansible to ansible-playbookHui Kang1-2/+8
Change-Id: I4ddad85aadfac4047460085ec6bc0fcabd718253 Closes-Bug: #1561757
2016-03-28Remove bootstrap_mariadb with cleanup-containersMauricio Lima1-1/+1
TrivialFix Change-Id: Ic6884d46d8edf2d430f8a9fb8635f7d98d011112
2016-03-27Merge "Fix gate to use world writeable docker socket"Jenkins1-0/+3
2016-03-26Fix gate to use world writeable docker socketSteven Dake1-0/+3
A recent change related to sudo securepath broke how sudo -E works. Now the PATH is reset by sudo as set by tox. As a result we can no longer rely on sudo -E anywhere in our gating system relating to path inheritence from the parent shell. This patch uses a shell operation in the setup_nodes.yml code to chmod the docker socket to 666 so docker containers can build properly. Now docker operations don't return a permission denied and we no longer require the sudo -E operation in any of our tox scripts. This isn't a security vulnerability because our gate scripts are only meant to be run in OpenStack infrastructure. To make this more clear I recommend moving these shell scripts to tests/gate. Change-Id: I5b3d6e280e3c12a25defedb14b5589ba642043fa Closes-Bug: #1562383
2016-03-26Fix typos in KollaNguyen Hung Phuong1-1/+1
TrivialFix Change-Id: I21f51811ec4256d9b6b2e219de6201e4811dfc5a
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-21Merge "Fix rax-ord commands"Jenkins1-2/+2
2016-03-21Merge "Add generate_passwords.py to generate passwords"Jenkins2-0/+3
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
2016-03-21Merge "Fix rax-ord gate"Jenkins1-0/+8
2016-03-21Add generate_passwords.py to generate passwordsSamYaple2-0/+3
As with all tools, this is a first pass at the generation. Perhaps we even want to move this into kolla/kolla/cmd and be generated with tox itself in the future. This tool, when run, will only populate empty fields that have no values meaning that it is safe to run repeatedly on the same file. Of note, there is no way to preserve comments in the file after it has been processed by the yaml parser in python. Comments and sections will remain in the passwords.yml template for additional documentation if the user wishes to populate the file themselves. Use SystemRandom and clean up the docs a bit to not use pronouns. Co-Authored-By: Steven Dake <stdake@cisco.com> Closes-Bug: #1559266 Change-Id: I2932d592df8871f1b7811059206d0b4d0553a687
2016-03-21Dynamically pull list of projects and versionsSamYaple1-40/+27
This also fixes this version check utility since it was utterly broken before. While it did run to completion, it never properly returned any versions that needed updating. TrivialFix Change-Id: If5d77f20fd8fc97679d58bc9019115157c5f5967
2016-03-21Fix rax-ord gateSamYaple1-0/+8
Change-Id: I169647999b313def30c0605172cf188ef4518cdb Related-Id: Id9ea8c5e402f3a06b9064a939ad4b2e168cd6223