871 Commits

Author SHA1 Message Date
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
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
Jenkins
0d26ed0a0a Merge "Add validation script for broken symlinks" 2015-07-04 03:26:25 +00:00
Harm Weites
2c8ca64856 Fix CONFIG_STRATEGY var in bash scripts
It should read KOLLA_CONFIG_STRATEGY.

Change-Id: I1819b4b1b6e28e8f83ad01c078d4c6e4c502587e
Partial-bug: #1471326
2015-07-03 21:16:35 +02:00
Paul Bourke
7b4eedb563 Add new script to fetch tarballs for source installation
This script will be sourced from the build scripts to provide alternate
ways to fetch/generate a source tarball. This tarball can then be
provided to a Dockerfile for source installation.

Change-Id: I0212a83d098b8d83446f69b92c2b07ef39a93c10
Partially-Implements: blueprint install-from-source
2015-07-03 17:20:57 +00:00
Michal Rostecki
ded326b74d Add base Nova image for Ubuntu
Base Dockerfile with common Nova packages installed
from Ubuntu Cloud Archive.

Partially implements: blueprint install-from-ubuntu
Depends-On: I66bf97b508b740f8db49ed6217c6fefe5de1637e

Change-Id: I3158ded6ccb1e44923bcf08a9f94832fb443b77c
2015-07-03 18:42:18 +02:00
Sam Yaple
11597cc2f4 Updated keystone for wsgi in config-external
This will switch config-external to using wsgi vs evenlet for keystone.

Partially Implements: blueprint ansible-service

Change-Id: I85a88c813ed36d827916796199dad735b2d44b40
2015-07-03 14:17:02 +00:00
Sam Yaple
c97ccd6a5f Ansible Rabbitmq support
Adds initial support for Rabbitmq in Ansible using the CONFIG_EXTERNAL methods.

Additionally, this refactors some of the Rabbitmq config script to allow for
reuse by CONFIG_EXTERNAL.

Partially Implements: blueprint ansible-service

Change-Id: I1765548f7e4f1258eb8a49e2a23242955f52655d
2015-07-03 14:16:47 +00:00
Sam Yaple
d0bb6534b0 Improve the Kolla documentation
This will be a moving target as we build the playbooks, but this
information should be enough to get our Ansible devs going.

Partially Implements: blueprint ansible-service

Change-Id: I9519523a05fd16f8c70ba8a63e9549fea4f5cbb4
2015-07-03 14:13:49 +00:00
Sam Yaple
efbfd7912b Ansible Mariadb w/ Galera support
Adds initial support for Mariadb with Galera replication in Ansible
using the CONFIG_EXTERNAL methods.

Additionally, this refactors some of the Galera config script to allow
for reuse by CONFIG_EXTERNAL.

Partially Implements: blueprint ansible-service

Change-Id: I566fea0376ecca39fc8a5167f9ff9ff434ea7b7e
2015-07-03 13:56:06 +00:00
Jenkins
5dafe4e779 Merge "Add config-internal/config-external to Nova-controller containers" 2015-07-03 07:15:30 +00:00