aboutsummaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2015-08-28Remove docker directorySteven Dake5-488/+0
Remove the docker directory (yay) and old build tools. This will result in an f21 failing gate - however, I have a patch submission to remove that gate from our project configuration. Change-Id: I3c461cedb6906422c8076f60c470e773d6cdcf33 Partially-Implements: blueprint remove-docker-dir
2015-08-25Modified build.py to run from installed locationSuhail Syed1-0/+1
Modified build.py to run from installed location or developer environment. To run from development environment, run the command: sudo pip install -e . Additionally, remove a TODO that has been done Co-Authored-By: Sam Yaple <sam@yaple.net> Change-Id: I922696ba439da2c9747e65cddcba47203e54d220 Implements: blueprint python-package
2015-08-24Make Kolla installable via PIPSuhail Syed1-469/+0
Install Ansible code, etc file examples, scripts, an open rc example, a tool to initialize the OpenStack deployment, and other various useful bits. Start the versioning at 0.1.0 as recommended by ttx. Change-Id: I35fa4042040957e7725c7fc3b146009e0135499a Partially-Implements: blueprint python-package
2015-08-24Build.py regex filteringMichal Jastrzebski (inc0)1-4/+34
Adds option to build.py to only build images matching and its dependencies Change-Id: I281bea5bed932b7c948b247392fa6a52b1d1aecf
2015-08-23Add retries to build.pySam Yaple1-18/+19
Additionally, fix an if statement to catch multiple layers of parent images failing so the grandchildren do not attempt to build either. Change-Id: Ie9cdf7600e067678e52938910f0d3c072adcdf8a Partially-Implements: blueprint build-script
2015-08-21Add custom code to base docker templatesMichal Jastrzebski (inc0)1-0/+8
Sometimes you need custom code in Docerfiles to solve for example proxy problems or preconfigure base image in some specific way. With this commit you can insert content of custom file to the beggining of base Dockerfile to provide these changes Partially-implements: bp rhel-based-image-support Partially-implements: bp add-proxy-to-dockerfiles Partially-implements: bp build-script Change-Id: Idbfec764aad627f5c00dc09c4854d5fa1c5ac9cf
2015-08-20Allow Docker to make better use of cacheSam Yaple1-0/+15
Docker cache takes into account things like filesize, hash of file, and even timestamp and access times when determining whether to use the cache or not. This modifies the build script to adjust all the timestamps to 0 epoch. Since we dont care about timestamps this allows us to make far better use of the cache, including when downloading and creating tarballs for source builds. Change-Id: Id4287cf1fcaa2de63feaab9e6f4ebbd4defdb768 Partially-Implements: blueprint build-script
2015-08-19Merge "Move defaults.yml to group_vars/all.yml"Jenkins1-1/+1
2015-08-18Use one data container for all data volumesSteven Dake1-1/+1
The previous method of using the API image for a data container worked, but resulted in more data being bindmounted and copied into the system. This patch resolves that by essentially using a distro-type as a FROM in a Dockerfile to generate distro-type-data. Further all of the data containers used throughout ansible are modified to use this new data container. Change-Id: I8846573d4f2d4b98d4f46c770bfefc6d4c5cd0b5 Partially-Implements: blueprint one-data-container
2015-08-19Move defaults.yml to group_vars/all.ymlSam Yaple1-1/+1
The purpose for having defaults.yml on the command line was originally for variable inheritance. Over the past month we have slowly changed how things are inherited (like ports) allowing us to place these 'defaults' into the group_vars/all.yml location as they should be values that go unchanged (but can be overridden). Change-Id: I2becec66bf431bfc9d88fc825b5380c1e173ca70 Partially-Implements: blueprint update-configs
2015-08-17Merge "Remove compose from documenation"Jenkins3-848/+1
2015-08-17Remove compose from documenationSteven Dake3-848/+1
Receive several quickstart related questions every day. Make a first pass at cleaning up our documentation to point people in the right direction. While we are about it remove compose related bits. Anything in the compose directory will remain as a reference implementation for how to implement the compose files to work well with our container content. Change-Id: I9e832e97ac2bacca8eab7e1bfbd82664d2b191b8 Closes-Bug: #1485163 Paritally-Implements: blueprint remove-config-internal
2015-08-17Fix gate source buildingSteven Dake1-1/+1
Fix a backtrace. Also add the default master locations for the various tarballs. Change-Id: I9675c2619b95c0ae6a467ffbf964c4b17ae4b791 Paritally-Implements: blueprint gate-source-builds
2015-08-14Safely check for dictionary key presenceJeff Peeler1-1/+1
Accessing the key directly when it doesn't exist was yielding a KeyError. Change-Id: Ice877b74d46d59f2e9ecff051b09245e9d3744e1 Paritally-Implements: blueprint gate-source-builds
2015-08-14Merge "Implement source fetching for build.py"Jenkins1-1/+34
2015-08-14Implement source fetching for build.pySam Yaple1-1/+34
This implements the source fetching that exists in the current way. The patch only implements fetching a tarball from a url. Additional methods needed would be git and local copy. Partially-Implements: blueprint build-script Change-Id: I51889a131f050abce9a16d114972b5e329a93862
2015-08-13Merge "Implement Murano source images"Jenkins1-2/+22
2015-08-12Merge "Add new test script for parallel builds"Jenkins1-0/+0
2015-08-12Add new test script for parallel buildsJeff Peeler1-0/+0
This adds a new test script for the new python based build script. A new tox target has been created to execute it for usage in the gate. Eventually, the other build script stuff can be deleted, but that won't be done until full functionality exists in the new build.py. Change-Id: Id9dd19926b1b9d875dcb069fd13d6450318374c8 Paritally-Implements: blueprint build-script
2015-08-12Add Dockerfile template for rabbitmqSam Yaple1-1/+3
Change-Id: Ic42879451cba2fb7fa35764924ca191949c477c4 Partially-Implements: blueprint dockerfile-template
2015-08-11Improve logging and prepare for gateJeff Peeler1-26/+72
Switched all print statements to use logger Added ability to halt operations via Ctrl-C, needs cleanup handler Added realtime logging when using only one thread (matches bash building scripts behavior) main is now returning all the build image statuses, so a quick test script would look like: import build res = build.main() if len(res[0]): LOG.error('failure') Change-Id: Ic8000a96573b011490dc330a4512c77c602ac3d2 Partially-Implements: blueprint build-script
2015-08-11Added initial template for base imageakwasniewska1-4/+40
Added new method generating Dockerfiles from templates as well as the appropriate code to support this in build.py Co-Authored-By: Sam Yaple <sam@yaple.net> Partially-implements: bp dockerfile-template Change-Id: Id14d10d31cb4aac957e04fbc129de4043d98e033
2015-08-10Implement Murano source imagesPaul Bourke1-2/+22
* Both api and engine start up without error, but can't test properly until Horizon is fixed (bug #1482196) * These are source installs are there no RPMs available for Murano that I can find. * Also requires a plugin for horizon that will be made as a separate commit Co-Authored-By: Mick Thompson <michael.a.thompson@oracle.com> Implements: blueprint enable-murano-container Change-Id: Ia46985b21bb5f6d7690501e7199800c8c7fcb51f
2015-08-09Merge "Remove validate-min-env-vars gating"Jenkins2-86/+0
2015-08-08Merge "Set curl as the default source install method"Jenkins1-1/+1
2015-08-07Remove validate-min-env-vars gatingSteven Dake2-86/+0
We don't use config-internal anymore, so remove validate-min-env-vars from being gated upon. This is becuse there is no minimum environment variables required. While we are at it we remove min-env. Partially-Implements: blueprint remove-config-internal Change-Id: Ibe2947b35e4dc1549e82acc66c01153495a91882
2015-08-06Merge "Adds push to build script"Jenkins1-2/+31
2015-08-05Set curl as the default source install methodPaul Bourke1-1/+1
As much faster than git clone Change-Id: I173592f1efceac61b49c37f994004cc41c641ae0 Closes-Bug: #1481670
2015-08-05Adds push to build scriptSam Yaple1-2/+31
This works as is, but could use some cleaning up and threading needs to be confirmed broken. If it isn't broken, it should be implemented. Co-Authored-By: Swapnil Kulkarni <me@coolsvap.net> Change-Id: I708406dcff8aa9b2f4064f03bda07873ce97d994 Paritally-Implements: blueprint build-script
2015-08-04Add missing vars for KeystonePaul Bourke1-0/+5
Got removed as part of a refactor Change-Id: I7dc47f4af316188803fe2fc654316540b8d23cf8 Closes-Bug: #1480465
2015-08-04Re-add executable bit to tools/genenvPaul Bourke1-0/+0
Change-Id: Icf845822735babc78ca427c00a2a125c8f0cca32 Closes-Bug: #1481293
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