In config-external 'OURCE' needs to be 'SOURCE' or the config file will never be copied.
Change-Id: Idad2ff152a8662e5fbafbee6e0328ad7f610320d
Closes-Bug: #1484253
This adds a new test script for the new python based build script. A new
tox target has been created to execute it for usage in the gate.
Eventually, the other build script stuff can be deleted, but that won't
be done until full functionality exists in the new build.py.
Change-Id: Id9dd19926b1b9d875dcb069fd13d6450318374c8
Paritally-Implements: blueprint build-script
Glance api refuses to store images with error
"Error in store configuration. Adding images to store is disabled. (HTTP N/A)"
This happens due to missing configuration of store in glance-api.conf
Change-Id: I50696671d10ffc56189d3aa08c1e73bb307bc800
Closes-Bug: #1484123
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
Glance services fail when trying to send log messages to
/var/log/glance because the folder has wrong ownership.
Change-Id: Ic3878341e83564278f7eac418bd9ed9be90c929f
Closes-Bug: #1483747
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
Cleanup all options in the minimal neutron confs. Remove options where
the default value was specified explicitly. Updated ports and bindings
to be configurable.
Partially-Implements: blueprint update-configs
Change-Id: I420ea1469e7bbe87aca0754cd3507098501f1de5
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
Cleanup all options in the minimal nova.conf. Remove options where
the default value was specified explicitly. Updated ports and bindings
to be configurable.
Partially-Implements: blueprint update-configs
Change-Id: I0bca7a8f9c4c6fa40145d66a95de7e98edc0edce
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
Horizon depends on quite a bit of config being in place, most of which a
simple pip install doesn't setup for us.
Closes-Bug: #1481667
Change-Id: I326458d211c16688c00eb04af4bb70978ea3c048
This operation fails to build. We don't need a default config file
because config-external copies one in.
Change-Id: I9e47c7413189b1d921891c7654a6909249a84bb5
Partially-Implements: blueprint install-from-source
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