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
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
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
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
Glance RPM has been confirmed to depend on python-oslo-log and
python-oslo-policy, so remove explicit package installs.
Change-Id: Ia390b4ff1b57a079032e1f3fb2403b9fb78f038f
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
Instead recommend developer run build within the docker group.
This script is non-functional as the root user.
Change-Id: Ib70ab55e5e9bc2e7b8639d5d5ffc32a2b8795058
The latest delorean repo location is needed instead of the "rc2"
location used previously.
Also document what the repos do in the dockerfile.
Change-Id: Ic9033d08784d67a2629b2f5c60fb9a4f6db53529
When we're not providing a tag, the build script will use one based on
the short SHA of the tip of the current git branch.
Make the `build-all-docker-images` script always provide a tag to
`build-docker-image` in order to prevent issues with Docker not being
able to find the base image when changing branches during an ongoing
build.
Closes-Bug: #1458739
Change-Id: Id6925b792f46d14b20a7dbebfaf0d351ddec6538
(neutron client version: 2.5.0)
The option is --dns-nameservers not --dns_namservers and the
subnet-create subcommand expects the NETWORK and CIDR to be adjacent
args.
Change-Id: I4f776632902fd001c38ee5c8c87a213883ca87be
As a restructure, nothing is changed from the original behaviour and
naming despite the file structure changing. The symlinks to build had
to be updated generating lots of "deleted" and "new_file".
The new structure is:
docker/${base_distro}/${type}/${container}
base_distro == centos, ubuntu, fedora, etc
type == source, binary, rdo
type rdo is a symlink to binary for backwards compatibility
Two new flags are added to the build-all script to support the ability
to support different base distros and a flag to support binary or source
containers.
There are several added folders that are empty to hold the directory
structure for future containers of these types.
To use a prefix other than centos-rdo- you can set PREFIX in the toplevel
directory .buildconf file
Change-Id: Ifc7bac0d827470f506c8b5c004a833da9ce13b90
This adds functional tests to tox, along with a number of prerequisite
steps. Since this is primarily a bash project, pbr usage has been avoided.
Tests are to be written in python and put in the tests directory.
Running tox -e setupenv will execute a setup script
(tests/setup_docker.sh) to ensure the running instance of docker meets
the minimum version requirement.
Running tox -e images will execute the image building script
(tools/build-all-docker-images) and will parse the resulting output to report
failures.
Running tox -e startenv will generate the environment file, run
"tools/kolla start", and run first time initialization (eventually).
Running tox -e functional is for actually testing the deployed OpenStack
environment via a series of tests utilizing the client APIs.
Change-Id: Iff6dfdca43f0c44d471e7540a7836e56a0de4507
Change the sed seperator to accept a namespace with a private registry
and add an option to specify the registry. Below is an example for a
registry located at 192.168.0.10:5000.
$ ./build-all-docker-images -r 192.168.0.10:5000
The final image name would be something like this:
'192.168.0.10:5000/kollaglue/centos-rdo-base'
All build, push, and pull commands will still function the same.
Change-Id: Ic0ff96bb8119ddfab15b99e9f1e21cfe8d321dab
Previously, the Heat demo suffered from the following limitations:
1. The number of Nova instances to spawn and the image flavor were
hard coded in the Heat template.
2. No outputs existed. This required users to run nova-list to
obtain the IP's of VMs.
3. No documentation existed.
This patch addresses the above limitations.
Change-Id: I495aa9c73a91200c01cecc1719ee5532c1f6c9cb