698 Commits

Author SHA1 Message Date
Ian Main
2482f718f8 Set up glance to use a data container.
Glance images were originally intended to be stored on the host (see
container Dockerfile) but the compose file was not doing this.  The
right thing is to use a data container for image content.

Closes-bug: #1465401

Change-Id: I02d2aab2913356939d98b8c18f9e788ae6d901af
Co-Authored-By: Ryan Hallisey <rhallise@redhat.com>
2015-06-18 13:48:22 -04:00
Jenkins
0c5d6575ed Merge "Ansible multi-node specification" 2015-06-17 23:31:32 +00:00
Daneyon Hansen
2aebba26a4 Spec to Add Support for High Availability
Previously, a spec did not exist to define how Kolla will support
highly available OpenStack services.

Change-Id: I8fcc60f26d2cb98179be6b520c13abb22a372ecf
2015-06-17 09:47:39 -07:00
Steven Dake
626084d7f5 Ansible multi-node specification
This specification outlines some of the design goals and practices to
be used to implement an Ansible multi-node deployment tool.  The goals
of this work are simplicity, optimizing deployment time, and Operator
flexibility.

The long term objective is for Kolla to become the de-facto solution
for deploying OpenStack in containers.

Partially Implements: blueprint ansible-multi
Co-Authored-By: Sam Yaple <sam@yaple.net>

Change-Id: I8c5d8b7e69c4ed54624061428e2fbde6af6a1815
2015-06-17 09:10:13 +00:00
Steven Dake
035d14ff98 Make swift bashate compliant
The containers don't work, but alteast they will pass the gate ;)

Change-Id: Ic921f982122889d354cfee47772421d147d9ec57
Partially-implements: blueprint bashate-gate
2015-06-16 13:18:30 -07:00
Steven Dake
502aff36cd Make get-image.sh bashate compliant
Make get-image.sh bashate compliant by creating a file in /tmp
for the ifcfg temporary file and using the --upload command instead
of the --runcommand operation.

Change-Id: I4782140e227105f9aa07fb3967665eaaaeeb0cab
Partially-implements: blueprint bashate-gate
2015-06-16 13:18:30 -07:00
Sam Yaple
23a7fa2869 Separate base images into different folders
This moves a few things around. Namely centos/fedora-rdo-base becomes
centos/rdo/base
fedora/rdo/base

I have also separated out RHEL.

Moves the current scripts in "base" to a "common" folder common to all
images and then recreates the appropriate links to allow all the
containers to build the same way they did before.

This removes all .buildconfs in the system (though they are still usable)

Partially Implements: blueprint refactor-base-image-layout

Co-Authored-By: Martin André <martin.andre@kvhasia.com>
Change-Id: Id63eac1eb9893ceb775c28bf22842dede85c214a
2015-06-14 20:42:32 +09:00
Jenkins
318f2f451f Merge "Change documentation to recommend Docker 1.7.0-dev" 2015-06-11 19:33:09 +00:00
Steven Dake
23e1e524a4 Make nova-controller start.sh bashate compliant
Change-Id: Icb18833fc4570db6874fa334811ebd3606149dfc
Partially-Implements: blueprint bashate-gate
2015-06-08 11:01:50 -07:00
Steven Dake
1531542c99 Make neutron-server start.sh bashate compliant
Change-Id: I49e9e187feb48cbebe299a350749be7ffd3c7450
Partially-Implements: blueprint bashate-gate
2015-06-08 11:01:50 -07:00
Steven Dake
58c1a04c49 Make config-dhcp-agent.sh bashate compliant
Change-Id: I91ede62a58cd224b7b93f4652174c09c387386d6
Partially-Implements: blueprint bashate gate
2015-06-08 11:01:50 -07:00
Steven Dake
1d299dfe9a Make config-sudoers.sh bashate compliant
Change-Id: Ie3fdcf5d3e1cda3b85a6532e462ad78e98e1a378
Partially-Implements: blueprint bashate-gate
2015-06-08 11:01:50 -07:00
Steven Dake
7cdd36d345 Make config-linuxbridge-agent.sh bashate compliant
Change-Id: Ie95c44b92e3d0af56916f0e335afc8fd461b2790
Partially-Implements: blueprint bashate-gate
2015-06-08 11:01:50 -07:00
Steven Dake
fe73d3b414 Make config-l3-agent.sh bashate compliant
Change-Id: I0ecd173e49fcb9bca9702d506e1af785d3a4983a
Partially-Implements: blueprint bashate-gate
2015-06-08 11:01:50 -07:00
Steven Dake
6959355122 Make config-neutron.sh bashate compliant
Change-Id: I4cfdce7ae4d2727d543aef46d0cd63a96a48a9cb
Partially-Implements: blueprint bashate-gate
2015-06-08 11:01:50 -07:00
Steven Dake
8cfcd6a14b Make config-nova-compute bashate compliant
Change-Id: I44c15de2fb17eba6ac41f7d170d4e8759ccf779e
Partially-Implements: blueprint bashate-gate
2015-06-08 11:01:50 -07:00
Steven Dake
9242f60dd9 Make mysql-entrypoint.sh bashate compliant
Change-Id: I4cd9bfbfd081c65e5f40ee99c9b3c26c2c7b128d
Partially-Implements: blueprint bashate-gate
2015-06-08 11:01:50 -07:00
Steven Dake
74d81e610e Make keystone start.sh bashate compliant
Change-Id: I83fbe7aa0828c82058fcd9cae184f7fbf6ce88d8
Partially-Implements: blueprint bashate-gate
2015-06-08 11:01:50 -07:00
Steven Dake
26e8f49852 Make mariadb config-mysql.sh bashate compliant
Change-Id: Iaa02e44d8db1a276fb07552d177ef6459ef9afef
Partially-Implements: blueprint bashate-gate
2015-06-08 11:01:50 -07:00
Steven Dake
58bf3f74ac Make rabbitmq start.sh bashate compliant
Change-Id: Iafd0ead3a10354f12e6a1a15855d3d1402bbc523
Partially-Implements: blueprint bashate-gate
2015-06-08 11:01:50 -07:00
Steven Dake
622f20e35b Make nova-libvirt's start.sh bashate compliant
Change-Id: I8772580d64eac41b9baf90401f128a9ce41c36f9
Partially-Implements: blueprint bashate-gate
2015-06-08 11:01:50 -07:00
Steven Dake
06e8d7f321 Make config-nova.sh pass bashate gate
Change-Id: I8ea62f8aa5c30410c39a17b3df06e8239114664b
Partially-Implements: blueprint bashate-gate
2015-06-08 11:01:50 -07:00
Steven Dake
e7edb092c1 Ignore .tox directory to remove some bashate failures
Change-Id: I7342e4b0b31e0add681ab5b24083eda10031f0cf
Partially-Implements: blueprint bashate-gate
2015-06-08 11:01:50 -07:00
Steven Dake
2ae0c127fe Make config-glance.sh bashate compliant
Change-Id: I8fc25aaf72e23c25736a5b4d71986f2937caaf6c
Partially-Implements: blueprint bashate-gate
2015-06-08 16:33:59 +00:00
Jenkins
53267500ed Merge "Remove 1000 bashate failures by ignoring .git directory" 2015-06-08 15:50:52 +00:00
Jenkins
8df879a57a Merge "Make magnum demo start bashate compliant" 2015-06-08 15:50:47 +00:00
Jenkins
53de5ba287 Merge "Make update-build-links bashate compliant" 2015-06-08 15:50:11 +00:00
Jenkins
52d8b978b5 Merge "Make setup_docker.sh bashate compliant" 2015-06-08 15:50:07 +00:00
Jenkins
e08b9d0010 Merge "Make kolla script bashate compliant" 2015-06-08 15:50:04 +00:00
Jenkins
334fdc2962 Merge "Check compose cmd result" 2015-06-08 15:04:29 +00:00
Steven Dake
5a093488c3 Remove 1000 bashate failures by ignoring .git directory
Change-Id: I64f04bddf2d7fac1c6dd0a801b974501b24f3ac0
Partially-Implements: blueprint bashate-gate
2015-06-07 12:17:59 -07:00
Steven Dake
32b8f2b95e Make magnum demo start bashate compliant
Change-Id: I10ce1424c557453f061190913c93e3f5e91639d5
Partially-Implements: blueprint bashate-gate
2015-06-07 12:17:59 -07:00
Steven Dake
89edade6e5 Make update-build-links bashate compliant
Change-Id: I51841f90a1a291f6bc82372e048461afbb0b482b
Partially-Implements: blueprint bashate-gate
2015-06-07 12:17:59 -07:00
Steven Dake
83b2e10409 Make setup_docker.sh bashate compliant
Change-Id: I60ea3b103d1ebe6f9e1b02ef8c91868d7538cdee
Partially-Implements: blueprint bashate-gate
2015-06-07 12:17:59 -07:00
Steven Dake
70b8f4064e Make kolla script bashate compliant
Change-Id: Id02a4d20b9122d173f8ab56628cd055b4a5acf92
2015-06-07 12:17:59 -07:00
Harm Weites
88ba777bab Autogenerated value for DESIGNATE_POOLMAN_POOLID
Change-Id: I14eec402d4e9afbfc58b74938df01c858314e6f3
Closes-bug: #1462798
2015-06-07 20:51:11 +02:00
Jenkins
f70ccabe52 Merge "Add the Designate DNSaaS services." 2015-06-06 05:16:07 +00:00
Harm Weites
76c5d9a6c8 Add the Designate DNSaaS services.
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-05 21:06:06 +02:00
Martin André
9a5fed6608 Fail image build when build script is missing
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-06-03 10:22:57 +09:00
Jenkins
f69084a5aa Merge "Make crux compatible with delorean packaging" 2015-06-02 16:57:10 +00:00
weiyu
0e00ad2188 fix ansible libary passing error arguments.
kolla is mandatory to run a version of docker-compose that 
includes pid: host support.docker-compose 1.3.0 to include the
necessary features.

docker-compose 1.3.0 project.up() abandoned the parameters 
detach and use allow_recreate replace recreate parameters.
closes-Bug: #1458116

Change-Id: I1235da58db5bedf208ebaea2a54568964dc802f8
2015-06-02 10:49:25 +00:00
Steven Dake
962e48970a Make crux compatible with delorean packaging
The previous version of crus 6-1 installed pbr hooks.  This is
incompatible with CentOS RDO.  Remove the requirements.txt file
from the RPM that is installed.  This required placing the files
in a new COPRS repository.  Since Lars no longer contributes to
Kolla, I imported his src rpm, made the necessary adjustments,
and created a new COPRS repo for it.

The result of the PBR hooks is that any container that ran crux
would fail with a distribution error about argparse not being
present when it was present.

Change-Id: Ibdbccd9e0dd5aeb6d6292bd633b9d2dde8c7b4ce
Closes-bug: #1460886
2015-06-01 20:19:14 -07:00
Steven Dake
fc3c304504 Change documentation to recommend Docker 1.7.0-dev
Docker 1.7.0-dev is required to support cinder and neutron thin containers.
It would also be helpful that we validate that Docker 1.7.0-dev is working
well with Kolla.

For more details on the Neutron thin containers check out:

https://github.com/SamYaple/yaodu/blob/master/ansible/roles/docker_build/files/ubuntu/neutron/ip_wrapper.py

Change-Id: Ie422185ea090090b35fcaa2e1c6ecab1c8ea326b
2015-05-31 10:27:02 -07:00
Steven Dake
59a2cd4089 Make clenaup-containers bashate compliant
Change-Id: I5469e6e60b9e20ee98c9149697f663e94e58077d
Partially-Implements: blueprint bashate-gate
2015-05-28 08:35:41 -07:00
Steven Dake
07b6000fe9 Make build-all-docker-iamges bashate compliant
Change-Id: I62dbd2c3e0e6f66b1be5777bb8bbda4e43b2b5db
Partially-Implements: blueprint bashate-gate
2015-05-28 08:35:38 -07:00
Jenkins
c59b94a1fe Merge "Clean up the image functional test" 2015-05-27 13:49:55 +00:00
Jenkins
1061cc7692 Merge "Remove unnecessary dependencies" 2015-05-27 04:28:10 +00:00
Jeff Peeler
314b6d4c3c Remove unnecessary dependencies
Glance RPM has been confirmed to depend on python-oslo-log and
python-oslo-policy, so remove explicit package installs.

Change-Id: Ia390b4ff1b57a079032e1f3fb2403b9fb78f038f
2015-05-26 17:25:39 -04:00
Jeff Peeler
78b27e3e60 Clean up the image functional test
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-26 15:01:28 -04:00
Steven Dake
751180ae01 Force developers not to run build-docker-image as root
Instead recommend developer run build within the docker group.
This script is non-functional as the root user.

Change-Id: Ib70ab55e5e9bc2e7b8639d5d5ffc32a2b8795058
2015-05-26 13:45:00 -04:00