This implements the source fetching that exists in the current way.
The patch only implements fetching a tarball from a url. Additional
methods needed would be git and local copy.
Partially-Implements: blueprint build-script
Change-Id: I51889a131f050abce9a16d114972b5e329a93862
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
Glance bootstrap container is based on glance-api. Ansible playbook
incorrectly mounts
"{{ node_config_directory }}/glance" to "/opt/kolla/glance"
where it should mount
"{{ node_config_directory }}/glance-api" to "/opt/kolla/glance-api".
After start bootstrap container fails to find configuration and exits.
Change-Id: Id2e5ddb2191cfee7db57dd0aec2f06fc617aa9d6
Closes-Bug: #1483757
oslo.messaging is breaking neutron-server or vice-versa. Either way
pinning oslo.messaging to the current stable fixes the issue. When
2.2.1 is stable or the delorean repos fix the issue we can remove the
pinning
Change-Id: I353aba463d0b1e11f4b58e5edd5241a636701172
Closes-Bug: #1483667
Due to typo in ansible/roles/glance/tasks/bootstrap.yml container
misses database initialization block and starts service instead.
Ansible hangs on waiting for bootstrap container exit.
Change-Id: Icf5ba68b47d65b22d6869e4b7b2d93e7edb8ed3b
Closes-Bug: #1483647
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
The fedora version of docker is hacked by Red Hat to have specific
features which we don't want in the gating. Use the pristine
upstream version from Docker Inc.
Change-Id: Ied219bc3868176f541083e9d42cde7d6cdeeb71d
Partially-Implements: blueprint gate-source-builds
Bootstrapping of Keystone/Glance happens on first host
via 'run_once'. After running bootstrap containers we
should wait for them also on the same host. Currently
waiting is done on all hosts what gives task error on
other hosts.
Change-Id: I6eac928d405ea819982118d9b567988074be4ed2
Closes-Bug: #1483224
kolla-common.sh is mostly to handle CONFIG_INTERNAL. Since
CONFIG_INTERNAL has been removed from the repository, we no longer
need most of this code except for set_configs.
Change-Id: I6bcec08c5275f6cd2c61c980ff238b734443e908
Partially-Implements: blueprint remove-config-internal