summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2015-06-24Merge "Change fat neutron container into thin containers"Jenkins1-1/+4
2015-06-24Auto generate minimal environment variables docRyan Hallisey1-0/+68
This script will generate the minimal-environment-variables doc based on the what each services has in the check_required_var field. Anytime that field is changed run this script and commit the changes. Since Neutron is a thick container, the script will get a few duplicates in the neutron-agents field. When Neutron is thinned out, this script will function normally. Closes-bug: #1459347 Co-Authored-By: Lon Hohberger <lhh@redhat.com> Change-Id: I1ba6bd5148af12cacfd872591b3c7b84a8dccba2
2015-06-24Change fat neutron container into thin containersSam Yaple1-1/+4
Key difference here is the ip_wrapper.py file. This file and docker 1.7 allow for the network namespaces to be created in the host mount namespace and propogated into the containers. Co-Authored-By: Paul Bourke <paul.bourke@oracle.com> Change-Id: I73bcd1c97bbaf742af883dbf281a8d76aff8aebf
2015-06-24RabbitMQ container with HA supportMichal Stachowski1-0/+4
This is new RabbitMQ container with support for HA. It's next step for provide HA support in Kolla project. RabbitMQ is supporting now active/active model and It's ready for active/passive model. Change-Id: I2eb6c65f6268ee96d377e72cf880a01c8042559e Implements: blueprint rabbitmq-ha
2015-06-24Merge "Keepalived container"Jenkins1-0/+6
2015-06-24Merge "Fix Heat container env vars and dependencies"Jenkins1-1/+10
2015-06-23Merge "Add --prefix to override .buildconf"Jenkins2-2/+19
2015-06-22Add option to not run db syncRyan Hallisey1-2/+13
Database syncs should not be required every time a container starts. We can default database startup to true, but give the option to set it to false. Change-Id: Ib76876b2671f6c31f4511412efd3a438ec78f01f Closes-bug: #1467576
2015-06-22Keepalived containerMichal Jastrzebski (inc0)1-0/+6
This patch contains keepalived container for yum-based distros. Change-Id: I8e3ea7a61ad6c27b25b635e7aeeff5ef04a807b4 Implements: blueprint keepalived-container
2015-06-21Merge "Fix 'unsupported locale setting' errors in init-runonce"Jenkins1-0/+7
2015-06-20Add --prefix to override .buildconfSam Yaple2-2/+19
Add in the ability to override the prefix in .buildconf files removing the requirement to set the prefix in a .buildconf to limit the number of images built. Partially Implements: blueprint refactor-base-image-layout Change-Id: I1da1559e660adc2fe9eaf5e17ce427c89645a8b7
2015-06-19Fix Heat container env vars and dependenciesJeff Peeler1-1/+10
This commit adds a few dependencies (that are actually packaging errors) present in all of the containers, as well as specifically in heat-engine. Some of the environment variables were not set correctly in the heat-api-cfn container. The environment variables have also been correctly added to the genenv script. Also removed duplicated compose file data already present in heat-api-engine. Closes-Bug: #1461872 Change-Id: I9631d1bc6ea42425272570a9dda8cbf5edcef4f3
2015-06-19Add cinder into the docker compose setupRyan Hallisey2-0/+72
This patch adds the docker-compose files, updates the docs, and adds cinder to the start command. Implements: blueprint container-set-storage-operation Change-Id: I5386851e2247c00696704dc26a8a286451d4bf59
2015-06-19Fix 'unsupported locale setting' errors in init-runoncePaul Bourke1-0/+7
Keystone requires a valid LC_ALL environment variable to be set, if left empty the following output is shown: """ $ tools/init-runonce Downloading glance image. Creating glance image. [=============================>] 100% <snip> Configuring neutron. unsupported locale setting unsupported locale setting unsupported locale setting unsupported locale setting unsupported locale setting unsupported locale setting unsupported locale setting unsupported locale setting unsupported locale setting unsupported locale setting unsupported locale setting Could not find any suitable endpoint. Correct region? <snip> """ A similar problem occurred in devstack (https://bugs.launchpad.net/devstack/+bug/1249131), apply the same patch they use to to sanitize language settings (https://github.com/openstack-dev/devstack/blob/master/stack.sh#L27). Closes-Bug: #1466548 Change-Id: I8e86a4466181d6dd1c1749915c1c43521af805b7
2015-06-19Merge "Add designate-sink service"Jenkins1-0/+8
2015-06-19Merge "Fixed indentation issues to meet bashate compliance"Jenkins1-2/+2
2015-06-19Add designate-sink serviceMichal Rostecki1-0/+8
Container for Designate Sink, automatic domain creation for enabled notification handlers (nova and/or neutron). Change-Id: I41118cb149e7f39a17bff49123d82905b51b7939 Blueprint: designate-container
2015-06-19Galera containerMichal Stachowski1-0/+12
This changes are providing support for galera cluster. It's important for project to has got support for database cluster as a one of the steps to providing High Avability(HA) in Kolla project Change-Id: If51bb88ab05972d3b8aa8abbbbd2a5480213a10e Implemented: blueprint galera-container
2015-06-18Fixed indentation issues to meet bashate complianceBorne Mace1-2/+2
Change-Id: I8c2d2a9f92027e09f033532fd2fbe9f4b6423c7a Partially-implements: blueprint bashate-gate
2015-06-08Merge "Make update-build-links bashate compliant"Jenkins1-4/+4
2015-06-08Merge "Make setup_docker.sh bashate compliant"Jenkins1-4/+4
2015-06-08Merge "Make kolla script bashate compliant"Jenkins1-11/+10
2015-06-08Merge "Check compose cmd result"Jenkins1-0/+4
2015-06-07Make update-build-links bashate compliantSteven Dake1-4/+4
Change-Id: I51841f90a1a291f6bc82372e048461afbb0b482b Partially-Implements: blueprint bashate-gate
2015-06-07Make setup_docker.sh bashate compliantSteven Dake1-4/+4
Change-Id: I60ea3b103d1ebe6f9e1b02ef8c91868d7538cdee Partially-Implements: blueprint bashate-gate
2015-06-07Make kolla script bashate compliantSteven Dake1-11/+10
Change-Id: Id02a4d20b9122d173f8ab56628cd055b4a5acf92
2015-06-07Autogenerated value for DESIGNATE_POOLMAN_POOLIDHarm Weites1-2/+1
Change-Id: I14eec402d4e9afbfc58b74938df01c858314e6f3 Closes-bug: #1462798
2015-06-06Merge "Add the Designate DNSaaS services."Jenkins1-0/+39
2015-06-05Add the Designate DNSaaS services.Harm Weites1-0/+39
This is a complete DNS solution, with hidden master and bind9 slave. It lacks the designate-sink service, because there is no true specification to implement that. It listens for Nova/Neutron events and creates records though adding those to just 1 domain isn't helping much in an environment with multiple tenants. Change-Id: I500fb6058b118d25a4ccfd1d3479830c36af7e2a Blueprint: designate-container
2015-06-03Fail image build when build script is missingMartin André1-1/+4
When an image did not provide a build script, due to a broken link for instance, the build-all-docker-images script was wrongly marking the image as "up-to-date", and the functional gate was reporting success. This commit restores the expected behavior, and mark the images with non-existent build scripts as failures. Change-Id: Ifedc8d9c312925fe5aa953ed8f8fdae02b756906 Closes-Bug: #1460959
2015-05-28Make clenaup-containers bashate compliantSteven Dake1-10/+10
Change-Id: I5469e6e60b9e20ee98c9149697f663e94e58077d Partially-Implements: blueprint bashate-gate
2015-05-28Make build-all-docker-iamges bashate compliantSteven Dake1-1/+1
Change-Id: I62dbd2c3e0e6f66b1be5777bb8bbda4e43b2b5db Partially-Implements: blueprint bashate-gate
2015-05-26Clean up the image functional testJeff Peeler2-1/+74
1. Move setup_docker.sh to tools directory 2. Make a setup_gate.sh that installs necessary packages including docker and starts docker. 3. Add logging output. 4. Add default test timeout of 2 hours. 5. Add user to the docker group before running test cases. 6. Run image build as dockerroot group. This patch has to be one commit to fix the gate in one go. Co-Authored-By: Steven Dake <stdake@cisco.com> Change-Id: I83f3cdb1dabf0dfface589c581cb22c155467acc
2015-05-26Force developers not to run build-docker-image as rootSteven Dake1-0/+5
Instead recommend developer run build within the docker group. This script is non-functional as the root user. Change-Id: Ib70ab55e5e9bc2e7b8639d5d5ffc32a2b8795058
2015-05-26Always provide a tag when building with build-all-docker-imagesMartin André1-1/+16
When we're not providing a tag, the build script will use one based on the short SHA of the tip of the current git branch. Make the `build-all-docker-images` script always provide a tag to `build-docker-image` in order to prevent issues with Docker not being able to find the base image when changing branches during an ongoing build. Closes-Bug: #1458739 Change-Id: Id6925b792f46d14b20a7dbebfaf0d351ddec6538
2015-05-25Merge "fix subnet-create call for demo-net"Jenkins1-1/+1
2015-05-24Merge "Restructure builds to allow more flexibility"Jenkins1-1/+10
2015-05-18Merge "Set release tag to 'latest' for development branch"Jenkins1-1/+1
2015-05-18fix subnet-create call for demo-netJustin Riley1-1/+1
(neutron client version: 2.5.0) The option is --dns-nameservers not --dns_namservers and the subnet-create subcommand expects the NETWORK and CIDR to be adjacent args. Change-Id: I4f776632902fd001c38ee5c8c87a213883ca87be
2015-05-15Restructure builds to allow more flexibilitySam Yaple1-1/+10
As a restructure, nothing is changed from the original behaviour and naming despite the file structure changing. The symlinks to build had to be updated generating lots of "deleted" and "new_file". The new structure is: docker/${base_distro}/${type}/${container} base_distro == centos, ubuntu, fedora, etc type == source, binary, rdo type rdo is a symlink to binary for backwards compatibility Two new flags are added to the build-all script to support the ability to support different base distros and a flag to support binary or source containers. There are several added folders that are empty to hold the directory structure for future containers of these types. To use a prefix other than centos-rdo- you can set PREFIX in the toplevel directory .buildconf file Change-Id: Ifc7bac0d827470f506c8b5c004a833da9ce13b90
2015-05-14Merge "Fixes Nova NoVNC"Jenkins1-2/+4
2015-05-13Add functional tests to toxJeff Peeler1-1/+15
This adds functional tests to tox, along with a number of prerequisite steps. Since this is primarily a bash project, pbr usage has been avoided. Tests are to be written in python and put in the tests directory. Running tox -e setupenv will execute a setup script (tests/setup_docker.sh) to ensure the running instance of docker meets the minimum version requirement. Running tox -e images will execute the image building script (tools/build-all-docker-images) and will parse the resulting output to report failures. Running tox -e startenv will generate the environment file, run "tools/kolla start", and run first time initialization (eventually). Running tox -e functional is for actually testing the deployed OpenStack environment via a series of tests utilizing the client APIs. Change-Id: Iff6dfdca43f0c44d471e7540a7836e56a0de4507
2015-05-13Merge "add restart and destroy subcommands to tools/kolla"Jenkins1-0/+16
2015-05-12Allow private docker registriesSam Yaple2-5/+20
Change the sed seperator to accept a namespace with a private registry and add an option to specify the registry. Below is an example for a registry located at 192.168.0.10:5000. $ ./build-all-docker-images -r 192.168.0.10:5000 The final image name would be something like this: '192.168.0.10:5000/kollaglue/centos-rdo-base' All build, push, and pull commands will still function the same. Change-Id: Ic0ff96bb8119ddfab15b99e9f1e21cfe8d321dab
2015-05-12Fixes Nova NoVNCDaneyon Hansen1-2/+4
Previously, vnc was not completely working properly because nova.conf config flags were not properly implemented in t he correct containers. This patch moves the nova.conf config flags for vnc to the proper containers. Additionally, the patch modifies the proxy client ip param to be consistent with the param within nova.conf and adds all the novnc params to docs. Change-Id: I1944baca64ccd113bbca582784b08f90dc0eff69
2015-05-12Merge "fix net-create call for public1 in tools/init-runonce"Jenkins1-1/+1
2015-05-12Merge "Additional option to cleanup even failed containers"Jenkins1-1/+10
2015-05-12fix net-create call for public1 in tools/init-runonceJustin Riley1-1/+1
The --router:external option is a boolean flag that doesn't take a value (neutron client version 2.5.0). Passing True results in the following error: Invalid values_specs True This patch simply removes the 'True' value. Change-Id: If4b5305f37d50c14c767393eb21223b0e0b59494
2015-05-12add restart and destroy subcommands to tools/kollaJustin Riley1-0/+16
Convenience commands for restarting all containers and destroying all containers Change-Id: I9c4759dbe699bd4b609cefa694ecc897355ff60a
2015-05-12Set release tag to 'latest' for development branchMartin André1-1/+1
Change-Id: I418583af2d2795f4b63ded2aa3e2cbedd70993c8