summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2015-08-04Merge "Remove service_hosts.sh"Jenkins1-0/+32
2015-08-03Temporary remove gnocchi from kolla-compose & functional testsSwapnil Kulkarni1-1/+2
Current with due to LP#1478145 the kolla-compose script fails to create gnocchi containers. Temperory fix to skip gnocchi till we have gnocchi packges in delorean. Change-Id: I7dc6aef82908a846a8b632f86a16de47c1a2eef9 Partial-Bug: #1478145
2015-08-03Remove service_hosts.shSwapnil Kulkarni1-0/+32
* Remove service_hosts.sh file * Add all the required variables to tools/genenv Change-Id: I23954bf148923fbe785f51012fc9c9da909fa380 Closes-Bug: #1447867
2015-08-01Merge "Adds an example openrc file"Jenkins1-0/+11
2015-08-01Fix missing quotes in tools/genenvPaul Bourke1-2/+2
Change-Id: Idc5f8aef80a65fea13fecd62b6b40c8ef7458354 Closes-Bug: #1480296
2015-07-31Adds an example openrc fileSam Yaple1-0/+11
Change-Id: Ie056a8347f6b72ffb647bfb79ee4449ca45f3fef Closes-Bug: #1476294
2015-07-31Initial kolla-ansible command - deploy support onlyBorne Mace1-0/+81
Change-Id: I4f6f38b2a202b41a9dec839fa0222585b49fc06c Partially-Implements: blueprint kolla-ansible-script
2015-07-31Implement Swift ContainersJames McCarthy1-5/+115
Known bugs/TODOs at this time of this patch update: https://bugs.launchpad.net/kolla/+bug/1477990 https://bugs.launchpad.net/kolla/+bug/1477993 Implements: Blueprint swift-container Closes-bug: #1477992 Co-Authored-By: Paul Bourke <paul.bourke@oracle.com> Change-Id: I031f88a7cd1867104fef12df6ab3ffcc06cb65d6
2015-07-30Merge "Update service helper scripts for variable changes"Jenkins1-272/+340
2015-07-30Remove not required echoSwapnil Kulkarni1-1/+0
- tools/validate-links.sh has a echo which is not necessary. Removed it. Change-Id: I122c995bc5d99592212505ce23256e27685b4af4 Closes-Bug: #1479647
2015-07-29Update service helper scripts for variable changesSwapnil Kulkarni1-272/+340
- Updated the required variables to be sorted so that they are better visible one on each line - Removed variable defaults from each service scripts and added them to tools/genenv file which holds all default values Change-Id: Ia7b1b08ba3f963b46b81434ce84f476d56890a93 Closes-Bug: #1476494 Closes-Bug: #1467652
2015-07-28Merge "Make variables in OVS container configurable"Jenkins1-0/+6
2015-07-27Merge "Implement kolla-compose script"Jenkins1-0/+0
2015-07-27Merge "Update init-runonce"Jenkins1-12/+12
2015-07-27Make variables in OVS container configurableSwapnil Kulkarni1-0/+6
Change-Id: I8d216ca20c97428e3b27d48d0a5249282dcb8c18 Closes-Bug: #1468509
2015-07-27Implement kolla-compose scriptdigambar1-0/+0
Renamed kolla script to kolla-compose Update change in the dev guide also Change-Id: I6cae3d13752ecb4bb3deeb91c5e0f827fde80c2a Implements: blueprint kolla-compose-script
2015-07-24Merge "Add Gnocchi service to kolla"Jenkins2-0/+13
2015-07-23Update init-runonceSam Yaple1-12/+12
This makes some changes to init-runonce to allow using Ansible as well as updating it to use the openstack-client where applicable since the keystone-client is not usable with keystone v3 api at all. Change-Id: I6b9d6beb04df7724b1967638e98042ab03221cd1 Closes-Bug: #1477725
2015-07-23Removes Host Cleanup from Container Cleanup ScriptDaneyon Hansen2-33/+30
Split the content of cleanup-containers into containers cleanup and host cleanup. This allows to run the cleanup-containers from OSX clients, while keeping needed code to delete host artifacts left behind by the neutron agents container. In addition, cleanup-containers may disappear in the future, replaced by a docker-compose wrapper. Co-Authored-By: Martin André <martin.andre@kvhasia.com> Co-Authored-By: Swapnil Kulkarni <me@coolsvap.net> Change-Id: I3aa731e7e0f9eb3dad9c363bb5d4a575d84a2fae Closes-Bug: #1477383
2015-07-23Add Gnocchi service to kollaSwapnil Kulkarni2-0/+13
Co-Authored-By: Swapnil Kulkarni <me@coolsvap.net" Change-Id: I81e5e6bfde3323e6917e3d61e3db760e2fec2019 Implements: blueprint gnocchi-containers
2015-07-17Merge "Fix checking out custom refs in gen-source-tar"Jenkins1-1/+3
2015-07-17Merge "Start tgtd in cinder-volume container"Jenkins1-1/+1
2015-07-17Merge "Parttially implement ceilometer container code"Jenkins2-0/+15
2015-07-17Fix checking out custom refs in gen-source-tarPaul Bourke1-1/+3
It seems using --git-dir to execute commands on a repo different to where you currently are also inexplicably requires --work-tree (https://stackoverflow.com/questions/1386291/git-git-dir-not-working-as-expected) Change-Id: I42806e7d8a169ad9fc1878a0f4e0c03c57beb88b Closes-Bug: #1475385
2015-07-17Only use default values for MY_IP/MY_DEV in genenv if not setChristian Berendt1-4/+4
This way it is possible to manually specify MY_IP/MY_DEV when running the genenv script. Closes-bug: #1475572 Change-Id: I291815a4ed1ea15adbddf94905706c77c8bb5a09
2015-07-16Parttially implement ceilometer container codeSwapnil Kulkarni2-0/+15
Added the compose yaml file Added the genenv Added fixes to run the containter Change-Id: Ied3ea92e495fc0fc0274a0da736394d2ab52a754 Partially Implements: blueprint ceilometer-container
2015-07-15Start tgtd in cinder-volume containerSteven Dake1-1/+1
The tgtd process was not being started in the cinder-volume container. This results in iSCSI not being avialable for Cinder to operate against. Unfortunately cinder doesn't report the problem because LVM is responsible for the iSCSI mapping. Co-Authored-By: Ryan Hallisey <rhallise@redhat.com> Closes-Bug: 1473090 Closes-Bug: 1469323 Change-Id: Ie3403c5c3f81beb48960e838b4274e0c5796e387
2015-07-15Merge "Improve build.py"Jenkins1-14/+14
2015-07-14Improve build.pySam Yaple1-14/+14
Fixed docker client to use ENV if exists to support boot2docker. Fixed booleans not working as thought with argParser. Change-Id: I232ed78443199ce20f4b38e12c861c0f97d55c99 Partially-Implements: blueprint build-script
2015-07-14Update scripts to check if docker is usable for $USERSwapnil Kulkarni5-5/+26
Added new script for checking user permissions on docker command execution Change-Id: I3b727590d9a29f416f5b847912b7250c555c2333 Closes-Bug: #1473554
2015-07-13Merge "Remove requirement for root user in scripts"Jenkins2-11/+0
2015-07-10Merge "Fixed additional OpenStack pep8 issues"Jenkins2-3/+27
2015-07-10Merge "Properly wait for Openstack services to be ready"Jenkins1-3/+9
2015-07-10Remove requirement for root user in scriptsSwapnil Kulkarni2-11/+0
The following files had requirement for root user which can be removed as long as as the the user executing script is part of docker group Scripts updated tools/kolla tools/cleanup-containers Closes-Bug: #1473551 Change-Id: Ia4aea205f5da20fb1ded4f7a5d11eeebe5f40aa9
2015-07-10Fixes the last of the hacking based pep8 errorsBorne Mace1-12/+26
Change-Id: I628c6cd493c112b00d8202725456c3fb863f5446 Partially-Implements: blueprint enable-flake8
2015-07-10Fixed additional OpenStack pep8 issuesBorne Mace2-3/+27
The "hacking" package used in most OpenStack repos pulls in additional pep8 rules. This commit should fix all of them other than a hand full in the build.py file which will be fixed in a separate commit Change-Id: I40a0a30d338592ad64123e3da5523b9ad95a7a9c Partially-Implements: blueprint enable-flake8
2015-07-10Properly wait for Openstack services to be readyHarm Weites1-3/+9
Just checking for an account in keystone is pointless since nova and neutron take way more time before they are fully operational. If the user would continue as tools/kolla suggests, the init-runonce script would fail because either nova or neutron would not be ready for service. Change-Id: I8fbfaa16d961b418b9ac6a34d311adb8e41b61e9 Closes-bug: #1471331
2015-07-09Add config-internal/config-external for barbicanSwapnil Kulkarni1-0/+12
Partially Implements: Blueprint standard-start Change-Id: I34b4d96515b4c68d42319b477504abdfe9581bad
2015-07-09Keystone installation from sourceAlicja Kwasniewska1-0/+5
Makes use of new gen-source-tar script to provide a source based keystone image. This patch introduces a new concept of a .buildinfo file, which provides variables specific to the image being built which cannot be defaulted in a generic way, at least until the build script is overhauled. This file is sourced before the .buildconf which still leaves everything customisable by the user. Co-Authored-By: Paul Bourke <paul.bourke@oracle.com> Change-Id: I0ec6b9cfe6d4173f3192e4ae5833fb0f6d333f1c Implements: blueprint install-from-source
2015-07-07Fixed pep8 failures in all tools/ scriptsBorne Mace3-27/+35
Change-Id: Ie6e77a4d45210122746b544a1aa8da563833e395 Partially-Implements: blueprint enable-flake8
2015-07-07Merge "Add new build script"Jenkins1-0/+245
2015-07-07Add new build scriptSam Yaple1-0/+245
This new build script is written entirely in python and supports multithreading to speed up the builds. Partially-Implements: blueprint build-script Change-Id: Ia630e5a83951ec37706a9596427024f3b7c10ba7
2015-07-06Merge "Sort variables and remove duplicates for min env doc"Jenkins1-11/+9
2015-07-06Merge "Make tools/min-env.sh portable"Jenkins1-1/+4
2015-07-06Merge "Add validation script for min env vars documentation"Jenkins1-0/+17
2015-07-05Merge "Fix CONFIG_STRATEGY var in bash scripts"Jenkins1-1/+1
2015-07-05Sort variables and remove duplicates for min env docMartin André1-11/+9
The script generating docs/minimal-environment-vars.md now sorts variables alphabetically per service and remove duplicates. Update minimal-environment-vars.md. Change-Id: I30cc674b6e9834f2a6c771bd30539a21af39b228 Closes-Bug: #1470504
2015-07-05Make tools/min-env.sh portableMartin André1-1/+4
We had different issues here. First, sort command used to sort variables and services names is dependent on the local, so fix it to C to have consistent results. C local is available on all systems. Second, awk doesn't recognize \s escape char for space on OSX. This resulted in indented check_required_vars calls being ignored. In fact, all variables checked via indented check_required_vars calls (i.e. in a fuction or conditional block) are actually *optional* variables, so I changed the behavior to ignore those. Change-Id: I6fc4cca9567cb712609d0fe0a20dfe21ed6df151 Closes-Bug: #1470683
2015-07-05Add validation script for min env vars documentationMartin André1-0/+17
Change-Id: I46ffa01d0097916055857c3f968e716e0229795f Partially-implements: blueprint add-min-env-vars-gate
2015-07-04Merge "Add new script to fetch tarballs for source installation"Jenkins1-0/+47