Switched all print statements to use logger
Added ability to halt operations via Ctrl-C, needs cleanup handler
Added realtime logging when using only one thread (matches bash building
scripts behavior)
main is now returning all the build image statuses, so a quick test
script would look like:
import build
res = build.main()
if len(res[0]):
LOG.error('failure')
Change-Id: Ic8000a96573b011490dc330a4512c77c602ac3d2
Partially-Implements: blueprint build-script
Added new method generating Dockerfiles from templates as well as the
appropriate code to support this in build.py
Co-Authored-By: Sam Yaple <sam@yaple.net>
Partially-implements: bp dockerfile-template
Change-Id: Id14d10d31cb4aac957e04fbc129de4043d98e033
* Both api and engine start up without error, but can't test properly
until Horizon is fixed (bug #1482196)
* These are source installs are there no RPMs available for Murano
that I can find.
* Also requires a plugin for horizon that will be made as a
separate commit
Co-Authored-By: Mick Thompson <michael.a.thompson@oracle.com>
Implements: blueprint enable-murano-container
Change-Id: Ia46985b21bb5f6d7690501e7199800c8c7fcb51f
We don't use config-internal anymore, so remove validate-min-env-vars
from being gated upon. This is becuse there is no minimum
environment variables required. While we are at it we remove
min-env.
Partially-Implements: blueprint remove-config-internal
Change-Id: Ibe2947b35e4dc1549e82acc66c01153495a91882
This works as is, but could use some cleaning up and threading needs
to be confirmed broken. If it isn't broken, it should be implemented.
Co-Authored-By: Swapnil Kulkarni <me@coolsvap.net>
Change-Id: I708406dcff8aa9b2f4064f03bda07873ce97d994
Paritally-Implements: blueprint build-script
Current with due to LP#1478145 the kolla-compose script
fails to create gnocchi containers. Temperory fix to skip
gnocchi till we have gnocchi packges in delorean.
Change-Id: I7dc6aef82908a846a8b632f86a16de47c1a2eef9
Partial-Bug: #1478145
- Updated the required variables to be sorted so
that they are better visible one on each line
- Removed variable defaults from each service scripts
and added them to tools/genenv file which holds
all default values
Change-Id: Ia7b1b08ba3f963b46b81434ce84f476d56890a93
Closes-Bug: #1476494
Closes-Bug: #1467652
Renamed kolla script to kolla-compose
Update change in the dev guide also
Change-Id: I6cae3d13752ecb4bb3deeb91c5e0f827fde80c2a
Implements: blueprint kolla-compose-script
This makes some changes to init-runonce to allow using Ansible as well as
updating it to use the openstack-client where applicable since the
keystone-client is not usable with keystone v3 api at all.
Change-Id: I6b9d6beb04df7724b1967638e98042ab03221cd1
Closes-Bug: #1477725
Split the content of cleanup-containers into containers cleanup and host
cleanup. This allows to run the cleanup-containers from OSX clients,
while keeping needed code to delete host artifacts left behind by the
neutron agents container.
In addition, cleanup-containers may disappear in the future, replaced by
a docker-compose wrapper.
Co-Authored-By: Martin André <martin.andre@kvhasia.com>
Co-Authored-By: Swapnil Kulkarni <me@coolsvap.net>
Change-Id: I3aa731e7e0f9eb3dad9c363bb5d4a575d84a2fae
Closes-Bug: #1477383
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