12 Commits

Author SHA1 Message Date
Mark Goddard
e318cadaa5 Use merge_configs and merge_yaml to generate Kolla configs
Supports merging configuration for the following files:

* kolla/globals.yml
* kolla/config/bifrost/bifrost.yml
* kolla/config/bifrost/dib.yml
* kolla/config/bifrost/servers.yml
* kolla/kolla-build.conf

Configuration is merged from the following sources:

* Kayobe source code
* Base Kayobe config
* Kayobe environment

Co-Authored-By: Will Szumski <will@stackhpc.com>
Change-Id: I552bd8f7853b2032954b372bf4476676dac3e271
Story: 2002009
Task: 42974
2021-10-08 09:08:45 +01:00
Mark Goddard
9c8f74993d Fix container image builds
Container image builds broken due to disabling docker iptables
management in
https://review.opendev.org/c/openstack/kolla-ansible/+/751795. This
affects Wallaby and later.

This patch configures kolla-build to use network_mode=host.

Change-Id: I608c0362e6eeea65ffafb32cda5c19ccb6ec8b5c
Story: 2008942
Task: 42560
2021-06-07 15:18:53 +00:00
Mark Goddard
c563f45fb7 CentOS 8: separate kolla build tag from deploy tag
Prevously the container image tag applied to built images was configured
via 'kolla_openstack_release'. This variable also controlled the tag
used for deployed images. This could cause problems during the CentOS 8
transition, where we need to build two sets of images, and Kolla Ansible
may apply a '-centos8' suffix to the tag we specify on CentOS 8.

This change separates the tag applied to built images into a different
variable - 'kolla_tag'. The default is still 'kolla_openstack_release'.

Change-Id: I8e1d877ee91a07b86cb858d25b841f8bfcd50e21
Story: 2006574
Task: 39487
2020-04-27 17:42:55 +01:00
Doug Szumski
62baa42a7d Fix naming of Kolla install type config option
It seems that this has been named install_type since the beginning [1].

[1] https://github.com/openstack/kolla/commit/
    620d610eaaf03217f3a038c031fe28ce43132166

Change-Id: Ie48546d0ef44e04ca0b1b8cd046acb2f127f38c9
Story: 2003904
Task: 26782
2018-09-28 15:17:41 +01:00
Mark Goddard
6c4f179b6e Add support for free-form configuration of kolla-build.conf
Provide extra configuration of kolla-build.conf via
$KAYOBE_CONFIG_PATH/kolla/kolla-build.conf.
2017-11-21 17:51:07 +00:00
Mark Goddard
2b9a304d83 Change kolla build configuration path variable
Previously shared kolla-ansible's kolla_config_path, now uses
kolla_build_config_path.

Also adds a variable, config_path, which sets a base path for
configuration on the remote hosts.
2017-10-23 15:28:56 +01:00
Mark Goddard
eb9b799f9b Allow kolla build customisations to be added 2017-05-09 14:10:58 +01:00
Mark Goddard
453cbda541 Add support for configuration of Jinja2 blocks in kolla images 2017-03-30 11:14:14 +01:00
Mark Goddard
58e1dd8fe0 Remove overridden yum repositories and keys
The kolla images now build with all repositories enabled
2017-03-30 11:13:35 +01:00
Mark Goddard
cbc9ef78d6 Support configuration of Kolla build sources
Adding a single non-default source for bifrost-base
2017-03-03 15:58:00 +00:00
Mark Goddard
91dac755c8 Allow Kolla's docker namespace to be configured 2017-03-03 14:23:22 +00:00
Mark Goddard
b654a70e65 Initial mega commit of Kayobe 2017-02-14 15:14:29 +00:00