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
This commit is contained in:
Mark Goddard 2021-06-03 15:19:29 +01:00
parent dc53d29eaa
commit 9c8f74993d
2 changed files with 10 additions and 0 deletions

View File

@ -11,6 +11,10 @@ install_type={{ kolla_install_type }}
# Docker namespace to use for Kolla images.
namespace={{ kolla_docker_namespace }}
# Use host networking by default, in line with Kolla Ansible's default Docker
# engine configuration.
network_mode=host
# Docker image tag to apply.
tag={{ kolla_tag }}

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixes an issue with container image builds by using ``host`` as the default
``network_mode`` for ``kolla-build``. See `story 2008942
<https://storyboard.openstack.org/#!/story/2008942>`__ for details.