This way it is possible to manually specify MY_IP/MY_DEV when running
the genenv script.
Closes-bug: #1475572
Change-Id: I291815a4ed1ea15adbddf94905706c77c8bb5a09
Added the compose yaml file
Added the genenv
Added fixes to run the containter
Change-Id: Ied3ea92e495fc0fc0274a0da736394d2ab52a754
Partially Implements: blueprint ceilometer-container
The tgtd process was not being started in the cinder-volume container.
This results in iSCSI not being avialable for Cinder to operate
against. Unfortunately cinder doesn't report the problem because LVM
is responsible for the iSCSI mapping.
Co-Authored-By: Ryan Hallisey <rhallise@redhat.com>
Closes-Bug: 1473090
Closes-Bug: 1469323
Change-Id: Ie3403c5c3f81beb48960e838b4274e0c5796e387
Fixed docker client to use ENV if exists to support boot2docker.
Fixed booleans not working as thought with argParser.
Change-Id: I232ed78443199ce20f4b38e12c861c0f97d55c99
Partially-Implements: blueprint build-script
The following files had requirement for root user
which can be removed as long as as the the user
executing script is part of docker group
Scripts updated
tools/kolla
tools/cleanup-containers
Closes-Bug: #1473551
Change-Id: Ia4aea205f5da20fb1ded4f7a5d11eeebe5f40aa9
The "hacking" package used in most OpenStack repos pulls in
additional pep8 rules. This commit should fix all of them
other than a hand full in the build.py file which will
be fixed in a separate commit
Change-Id: I40a0a30d338592ad64123e3da5523b9ad95a7a9c
Partially-Implements: blueprint enable-flake8
Just checking for an account in keystone is pointless since nova and
neutron take way more time before they are fully operational. If the user
would continue as tools/kolla suggests, the init-runonce script would
fail because either nova or neutron would not be ready for service.
Change-Id: I8fbfaa16d961b418b9ac6a34d311adb8e41b61e9
Closes-bug: #1471331
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
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
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
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
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
Add set_configs function that implements the flow from the proposed
ansible-multi spec. Move start.sh to config-internal.sh to preserve existing
behaviour.
config-externall.sh copies the appropriate configs in from the bind'd
location and sets permissions and ownership appropriately.
Partially Implements: blueprint ansible-multi
Change-Id: I53fca0660451087f273fefc3c63e0d8cf1a2c096
While at it, place this var in the same place as the other MAGNUM scoped vars.
Change-Id: I7f142415d7fb1874d77778d3d1301956f9799a83
Closes-bug: #1469561
Due to a revert in the Docker code, thin neutron containers do not work
at this time. The neutron plugin agents do not need to exist in the same
container as the other agents however. This allows for using either
linuxbridge or openvswitch
The docker commit that did the revert:
ff770d33cd
Closes-Bug: 1469307
Change-Id: Idf79c31c74c34b93f5a9bac49730aca49bbdb861
The Liberty release of Cinder will remove the v1 api so we
need to disable it in the cinder_api container and use v2.
Change-Id: I5dab7214d4d39afdf92555e3ffbd7f4a6194cd45
Closes-bug: #1469177
Add missing vars to genenv and integration guide Magnum requires.
Co-Authored-By: Jeff Peeler <jpeeler@redhat.com>
Change-Id: I615098cffc081a53127275a07e95fecc924a862c
Closes-Bug: #1468997
Heat failed on heat-keystone-setup-domain because it requires openrc
style of env vars. Also, genenv missed Keystone port env vars.
There are several openrc instances that are using the keystone public
port, bug filed: https://bugs.launchpad.net/kolla/+bug/1469209
Change-Id: I03b57c43c38fb3ebded4d6f206161cf02fb4883d
Closes-Bug: #1469003
Co-Authored-by: Jeff Peeler <jpeeler@redhat.com>
We need to mount /dev both Libvirt and Cinder containers and
/dev/pts is not correctly mounted. The /dev/pts recieves no
permissions from the host so it becomes inacessable.
We need to change the permissions of /dev/pts in the container
to 666.
Change-Id: Id197a766adc3aecb24e6b10aa84f51c23124b488
Closes-bug: #1468951
The check is using the bash-native 'type' instead of which, because which
is not always available on all environments.
Current implementation only checks for the availability of openssl but
this can be easily expanded.
Change-Id: I97e8f52ea664ef80901deae9dea8acc93b6e1ca4
Closes-Bug: #1463101
When spawning Heat stacks, the DB reaches the max_connections
limit. This causes MariaDB to block all traffic by source IP,
essentially blocking all services. This patch introduces the
MARIADB_MAX_CONNECTIONS parameter to make the max_connections
configurable. The default of 151 max_connections is maintained.
Closes-Bug: #1465422
Change-Id: I869aa9f117c6fa959b1c6948dfc379f30a6bc1d7