Do not use --debug for image build
Since Ansible was bumped to 2.14, we've observed the container image build process gets stuck in the middle of ansible tasks to generate Docker/Buildah files, because of a bug[1] with ansible-runner. This removes --debug option from the build command to avoid -vvv option in the ansible command, to workaround the above bug. Same workaround is added for content-provider already[2], adding same workaround for build-containers role. [1] https://github.com/ansible/ansible-runner/issues/1164 [2] https://review.opendev.org/c/openstack/tripleo-quickstart-extras/+/864838 Related-Bug: #1996612 Change-Id: I498c9cac7815d3d0682835d2bf943594dad2203c
This commit is contained in:
parent
2066a2baa2
commit
909c83bc62
|
@ -95,4 +95,8 @@ openstack tripleo container image build \
|
|||
{% if (tcib_extra_config is defined) and (release|default(branch) not in ["train", "wallaby"]) %}
|
||||
--extra-config {{ workspace }}/extra_config.yaml \
|
||||
{% endif %}
|
||||
--debug
|
||||
# TODO(tkajinam): With Ansible 2.14, the playbook triggered by the command
|
||||
# gets stuck if -vvv is set. We temporarily remove --debug
|
||||
# as a workaround until we find out the appropriate fix.
|
||||
# https://github.com/ansible/ansible-runner/issues/1164
|
||||
# --debug
|
||||
|
|
Loading…
Reference in New Issue