880 Commits

Author SHA1 Message Date
digambar
d2d3e74e19 Add config-internal/config-external to OpenvSwitch containers
Partially Implements: Blueprint standard-start

Co-Authored-By: Swapnil Kulkarni <me@coolsvap.net>
Change-Id: I52ed4b56efe3fc4ebbc108b2fe7e9d69eb0f0928
2015-07-09 12:15:18 -04:00
Alicja Kwasniewska
fcda6a06d8 Keystone installation from source
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-09 11:06:58 +00:00
Paul Bourke
370736abb7 Update centos-source-base from symlink to a real layer
There are additional depedencies on top of the binary base that are
needed to build and install source components.

This commit moves the base image for source installs from a symlink to
it's own layer, and adds the dependencies that will be needed to install
keystone (more can be added as we add new components).

Partially-Implements: blueprint install-from-source

Change-Id: I56ef6eafb95530e975988dffb62606309dba274e
2015-07-09 12:08:19 +00:00
Jenkins
d27d2ebede Merge "Add config-internal/config-external to Designate containers" 2015-07-08 17:52:26 +00:00
Swapnil Kulkarni
1b4d6b37b3 Add config-internal/config-external to Designate containers
Partially Implements: Blueprint standard-start

Change-Id: I96342c3bdb99d317ce75e0bbb78bdf469f9d1bf7
2015-07-08 14:45:35 +00:00
Jenkins
7f6b2fa641 Merge "Add oslo package into base image" 2015-07-08 14:28:38 +00:00
Jenkins
fb7ced9cea Merge "Add config-internal/config-external for cinder" 2015-07-08 14:22:33 +00:00
Swapnil Kulkarni
a5a469c102 Add config-internal/config-external for cinder
Partially Implements: Blueprint standard-start

Change-Id: I9fa5cc8f6f57b46f8af165778388435b91c28447
2015-07-08 13:31:50 +00:00
Ryan Hallisey
54411f40e3 Add oslo package into base image
Add missing oslo dependency.

Closes-bug: #1469891
Change-Id: Ia7b0a5bc0d59f561a1cb6cdb0a50478cad9246d4
2015-07-08 09:26:32 -04:00
Sam Yaple
4c4181d54a Fix permissions on log directory for keystone
Additionally fixed bootstrap issue caused by an ansible bug in some
versions of the docker module.

Closes-Bug: #1472270
Change-Id: Ia5a370db5ab7690854afcd63492ba7dbbea29835
2015-07-08 09:35:33 +00:00
Jenkins
c322be21c1 Merge "Document docker_pull_policy in Ansible docs" 2015-07-08 02:15:53 +00:00
Jenkins
11455e080e Merge "Add config-internal/config-external for horizon" 2015-07-07 19:32:15 +00:00
Jenkins
fd29e95f34 Merge "Fixed pep8 failures in all tools/ scripts" 2015-07-07 18:36:18 +00:00
Jenkins
6998aaf891 Merge "make merge_configs idempotent" 2015-07-07 18:16:56 +00:00
Paul Bourke
15f4653dbe Document docker_pull_policy in Ansible docs
Change-Id: Ie22707faa3513e293200c68caf38b7667e38d081
Closes-Bug: 1471828
2015-07-07 16:59:47 +00:00
Borne Mace
42c2419353 Fixed pep8 failures in all tools/ scripts
Change-Id: Ie6e77a4d45210122746b544a1aa8da563833e395
Partially-Implements: blueprint enable-flake8
2015-07-07 08:34:43 -07:00
Jenkins
75e01a2fb2 Merge "Add min env vars doc validation to pep8 gate" 2015-07-07 13:55:21 +00:00
Jenkins
de98d9ddb3 Merge "Have bootstrap script create the initial endpoint" 2015-07-07 12:34:35 +00:00
Jenkins
b65892310a Merge "Add new build script" 2015-07-07 08:22:09 +00:00
Sam Yaple
0e0b7e77ab Add new build script
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-07 07:19:49 +00:00
Jenkins
8a4791ca75 Merge "Change restart policy for bootstrap container" 2015-07-07 04:09:11 +00:00
Jenkins
566f749a21 Merge "Fix incorrect database_address variable in globals.yml" 2015-07-07 03:21:47 +00:00
Jenkins
cf178ff7ea Merge "Add --no-install-recommends option to Ubuntu image" 2015-07-07 01:50:45 +00:00
Borne Mace
3875d6d302 Fixing tox tests - split out validation tests
Added additional tox test for json / yaml / link /
dockerfile validation. This currently mimics the
existing pep8 test which will be updated to run flake8

Change-Id: Id4657e6d4f4921ab419dc84e8d62468a827aaeb1
Implements: blueprint rename-pep8-validate
2015-07-06 16:41:45 -07:00
Paul Bourke
0ad2f666c0 Fix incorrect database_address variable in globals.yml
A typo exists here which results in the following error:

TASK: [database | Creating haproxy mysql user] ********************************
fatal: [localhost] => One or more undefined variables:
'keystone_internal_address' is undefined

FATAL: all hosts have already failed -- aborting

Change-Id: Ib8e88ca5d755d388a80f06b45e8ea80891f70eb3
Closes-Bug: #1471825
2015-07-06 18:31:04 +00:00
Jenkins
d5a9040f70 Merge "Sort variables and remove duplicates for min env doc" 2015-07-06 15:12:21 +00:00
Jenkins
a13e52d4e8 Merge "Make tools/min-env.sh portable" 2015-07-06 15:12:15 +00:00
Jenkins
5992cb86f2 Merge "Add validation script for min env vars documentation" 2015-07-06 15:11:50 +00:00
Sam Yaple
39e6075f29 make merge_configs idempotent
merge_configs can now check if the destination file has the same content
will be written. This information is used to inform ansible no change has
occured

Closes-Bug: 1471514
Change-Id: I78bce04505349d5aafbb027fd3f7d76ab6eccf6a
2015-07-06 07:26:00 +00:00
Swapnil Kulkarni
e21c68a69e Add config-internal/config-external for horizon
Partially Implements: Blueprint standard-start

Change-Id: I8a88572a4390824787c663014e6eae52dbb04648
2015-07-06 05:26:04 +00:00
Sam Yaple
c80a8c282b Have bootstrap script create the initial endpoint
Due to a few issue that exist between keystone v3 and v2.0 the endpoint
needs to be created as v2.0. If it is created as v3, v2.0 queries will not
see the endpoint.

https://bugs.launchpad.net/keystone/+bug/1470635

Change-Id: Ie7ff88b8cbb23b3ca149cb6e8d5a18a427d22038
Partially-Implements: blueprint ansible-service
2015-07-05 15:36:22 +00:00
Sam Yaple
1d6e6899f6 Change restart policy for bootstrap container
Sets the restart policy to 'no' for bootstrap containers

Change-Id: I1044fdc70a6b7d50396fd923b6be67bd7c47faa2
Closes-Bug: 1471536
2015-07-05 12:13:18 +00:00
Jenkins
2fe35c25bf Merge "Add config-internal/config-external to Neutron containers" 2015-07-05 09:04:46 +00:00
Jenkins
cb7115241b Merge "Fix CONFIG_STRATEGY var in bash scripts" 2015-07-05 03:12:04 +00:00
Martin André
d006122d9c Add min env vars doc validation to pep8 gate
Change-Id: I7711e9ee597184e34c88c0deeaf916fb1547b704
Implements: blueprint add-min-env-vars-gate
2015-07-05 09:08:15 +09:00
Martin André
36eab6a1c3 Sort variables and remove duplicates for min env doc
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-05 09:07:46 +09:00
Martin André
a082d38b97 Make tools/min-env.sh portable
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-05 08:48:41 +09:00
Martin André
97e8dc5e20 Add validation script for min env vars documentation
Change-Id: I46ffa01d0097916055857c3f968e716e0229795f
Partially-implements: blueprint add-min-env-vars-gate
2015-07-05 08:36:21 +09:00
Jenkins
1c5988e642 Merge "Add config-internal/config-external to Glance containers" 2015-07-04 20:11:50 +00:00
Jenkins
1054ccbb8c Merge "Add new script to fetch tarballs for source installation" 2015-07-04 20:11:00 +00:00
Jenkins
feb5826322 Merge "Add base Nova image for Ubuntu" 2015-07-04 20:00:09 +00:00
Jenkins
15b60a1f8d Merge "Add config-internal/config-external to Nova-compute containers" 2015-07-04 19:56:48 +00:00
Harm Weites
85ea344d4b Add config-internal/config-external to Neutron containers
Partially Implements: Blueprint standard-start

Change-Id: Ic7334c1bed2a2b5055bd5c1e39b9f9ac32c30c6a
2015-07-04 10:18:25 +02:00
Jenkins
8af47bf957 Merge "Improve the Kolla documentation" 2015-07-04 06:57:53 +00:00
Jenkins
6f8df39b24 Merge "Updated keystone for wsgi in config-external" 2015-07-04 06:52:56 +00:00
Jenkins
f79c19f9c0 Merge "Ansible Rabbitmq support" 2015-07-04 06:52:19 +00:00
Jenkins
097734fbe0 Merge "Ansible Mariadb w/ Galera support" 2015-07-04 06:51:44 +00:00
Jenkins
bf8d20826f Merge "Add config-internal/config-external to Swift containers" 2015-07-04 03:30:05 +00:00
Jenkins
eba77f7781 Merge "Add config-internal/config-external to Heat containers" 2015-07-04 03:27:51 +00:00
Jenkins
d40294f0ca Merge "Add link validation to pep8 gate" 2015-07-04 03:26:52 +00:00