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
All start.sh scripts should be in docker/common directory
instead of docker/centos.
Change-Id: Ifc1d07246e3b56156a1dc861e2b262f75c1cd918
Closes-Bug: #1467528
This patch provides the basis for an alternate set of images to be
available in Kolla, based on oraclelinux.
It is difficult ahead of time to know all base dependencies and exactly
which repos they'll come from, so at this time I have just added the bare
minimum.
In the next commit keystone will require some essentials that will
likely make sense to add here.
NOTE: To build this image you must set the following .buildconf in the
root of the kolla repo:
cat >> .buildconf << EOF
PREFIX=ol-binary-
EOF
Partially implements: blueprint add-optional-oraclelinux-images
Change-Id: I1ccce8eebe8fa0d4342af2aa482c083d074bda66
A missing symlink causes the mariadb-app container to fail to build.
This was introduced when we refactored all of the base images.
Partially Implements: blueprint refactor-base-image-layout
Change-Id: I265b0efb4718c0c08c654f5992235ca34bf364c2
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
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
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
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
This is required for the source install method (for packages the
user/group is added as part of install)
Change-Id: I9b2e8d3757587276c21967ee67d45277616d433f
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
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
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
Previously, a spec did not exist to define how Kolla will support
highly available OpenStack services.
Change-Id: I8fcc60f26d2cb98179be6b520c13abb22a372ecf
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
The containers don't work, but alteast they will pass the gate ;)
Change-Id: Ic921f982122889d354cfee47772421d147d9ec57
Partially-implements: blueprint bashate-gate
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
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