921 Commits

Author SHA1 Message Date
Jenkins
b87f16fac5 Merge "Fixed non-bashate compliant method signature" 2015-06-19 18:59:59 +00:00
Jenkins
5e610ff5c5 Merge "Fixed non-bashate compliance indentation in mariadb script" 2015-06-19 18:59:37 +00:00
Jenkins
9dc905b80e Merge "Add cinder into the docker compose setup" 2015-06-19 17:55:01 +00:00
Borne Mace
a081aee8ae Fixed non-bashate compliance indentation in mariadb script
Change-Id: I4c25238b57ae718205d2e31994a9be74fae3dda0
Partially-implements: blueprint bashate-gate
2015-06-19 10:52:59 -07:00
Borne Mace
4abc514922 Fixed non-bashate compliant method signature
Change-Id: Iae145f6b4413035eb800355a9a72f153b744b4ba
Partially-implements: blueprint bashate-gate
2015-06-19 10:50:10 -07:00
Borne Mace
760fdfde8f Fixed non-bashate compliant file, missing newline at end
Change-Id: I9653765b716d17f73a874a21d42ff09ad90792c3
Partially-implements: blueprint bashate-gate
2015-06-19 10:43:57 -07:00
Paul Bourke
886e35ca7a Fix broken cinder symlinks for rhel
It looks like we forgot to update these as part of 793d68a29

Partial-Bug: #1466913
Change-Id: Ic013b99e512cb25f72bb32c828d9e3ba6bae9ce0
2015-06-19 17:33:36 +00:00
Ryan Hallisey
72d1ef47dd Add cinder into the docker compose setup
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-19 13:15:48 -04:00
Paul Bourke
897337cdd6 Symlink all non Dockerfile resources in images
The only files in the docker image directories that differ majorly between
distros are the Dockerfiles (e.g. different package manager mechanisms,
different repo sources, etc).

The supporting files such as the start.sh/check.sh and config files should
largely stay the same between base images.

This change moves these files up into a "common" directory, and symlinks them
in the same way that the build script is managed. This means when adding a new
base distro only new Dockerfiles need to be created. Also, if a distro does
happen to require a vastly different start.sh script for example, one can
choose to simply not symlink to the common and instead drop in a custom one.

Implements: blueprint refactor-base-image-layout

Change-Id: Ic4db69d31ff54a1fb95af4853a2e5ae490064284
2015-06-19 17:12:05 +00:00
Paul Bourke
e854587c94 Create keystone user in start.sh if it doesn't exist
This is required for the source install method (for packages the
user/group is added as part of install)

Change-Id: I9b2e8d3757587276c21967ee67d45277616d433f
2015-06-19 16:11:56 +00:00
Paul Bourke
018a07984a Fix 'unsupported locale setting' errors in init-runonce
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-19 16:10:47 +00:00
Jenkins
c2b05b576f Merge "Fixed indenting issue to meet bashate compliance." 2015-06-19 16:05:22 +00:00
Jenkins
037b8c4d46 Merge "Add designate-sink service" 2015-06-19 15:54:54 +00:00
Jenkins
f3d47fe965 Merge "Fixed indentation issues to meet bashate compliance" 2015-06-19 15:40:37 +00:00
Michal Rostecki
1420d63c7f Add designate-sink service
Container for Designate Sink, automatic domain creation for
enabled notification handlers (nova and/or neutron).

Change-Id: I41118cb149e7f39a17bff49123d82905b51b7939
Blueprint: designate-container
2015-06-19 17:08:47 +02:00
Jenkins
04f3223ec7 Merge "Cinder container" 2015-06-19 14:49:10 +00:00
Jenkins
2c48c8ef47 Merge "Galera container" 2015-06-19 14:47:33 +00:00
Michal Stachowski
abbee7dbca Galera container
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-19 16:14:34 +02:00
Jenkins
7e7ce4492b Merge "Updates Heat template to Support Magnum" 2015-06-18 21:54:29 +00:00
Borne Mace
5bdd1c42ef Fixed indentation issues to meet bashate compliance
Change-Id: I8c2d2a9f92027e09f033532fd2fbe9f4b6423c7a
Partially-implements: blueprint bashate-gate
2015-06-18 14:27:44 -07:00
Borne Mace
cf92336645 Fixed indenting issue to meet bashate compliance.
Change-Id: I54fc58053297de20469c7e28f2704ec488738166
Partially-implements: blueprint bashate-gate
2015-06-18 14:21:34 -07:00
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
Ryan Hallisey
793d68a29c Cinder container
Cinder is going to be split up into four containers.
- cinder-api
- cinder-scheduler
- cinder-volume
- cinder-backup

Co-Authored-By: Daneyon Hansen <danehans@cisco.com>
Co-Authored-By: Ian Main <imain@redhat.com>

Implements: blueprint cinder-container
Closes-bug: #1460136

Change-Id: I688471151ffa54d547b9aa0f2f2e2ea7f68f288d
2015-06-18 13:46:49 -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