Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Do not use --debug for image build
Browse files Browse the repository at this point in the history
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.

[1] ansible/ansible-runner#1164

Related-Bug: #1996612
Change-Id: I53c688077c65da03d8c3cf104862e02cefc2c615
  • Loading branch information
kajinamit committed Nov 17, 2022
1 parent 27ca805 commit c625bec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion roles/container-build/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,11 @@
include_role:
name: tripleo_container_image_build
vars:
tripleo_container_image_build_debug: true
# 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
# tripleo_container_image_build_debug: true
tripleo_container_image_build_generate_scripts: true
tripleo_container_image_build_namespace: "{{ container_registry_namespace }}"
tripleo_container_image_build_tag: "{{ container_tag }}"
Expand Down

0 comments on commit c625bec

Please sign in to comment.