-
Notifications
You must be signed in to change notification settings - Fork 347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ANSIBLE_VERBOSITY>=3 does not work with ansible 2.14 and ansible-runner #1164
Comments
Related tripleo bug: https://bugs.launchpad.net/tripleo/+bug/1996612 |
Let the system flush it as expected with PR[1]. [1] ansible/ansible#77056 Fixes: ansible#1164
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
* Update tripleo-quickstart-extras from branch 'master' to 9f3411506b912f73235d90c7fb8423022efdc6e2 - Merge "Do not use --debug for image build" - 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. [1] ansible/ansible-runner#1164 Related-Bug: #1996612 Change-Id: I53c688077c65da03d8c3cf104862e02cefc2c615
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] ansible/ansible-runner#1164 [2] https://review.opendev.org/c/openstack/tripleo-quickstart-extras/+/864838 Related-Bug: #1996612 Change-Id: I498c9cac7815d3d0682835d2bf943594dad2203c
* Update tripleo-ci from branch 'master' to 909c83bc625fac1479b281d325e29bb7b2388c3f - 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] ansible/ansible-runner#1164 [2] https://review.opendev.org/c/openstack/tripleo-quickstart-extras/+/864838 Related-Bug: #1996612 Change-Id: I498c9cac7815d3d0682835d2bf943594dad2203c
resolved_by_pr #1165 |
* demonstrates the underlying issue behind ansible/ansible-runner#1164
This one is nasty- took several iterations to get to the true root cause. It's looking like we're going to fix it directly in core, at least for the short-term. The underlying problem is really around core's usage of Watch ansible/ansible#79522 for updates- I'm first posting a new integration test that triggers this behavior extremely reliably, then once we're sure it's failing properly in CI, I'll add the fix. |
* demonstrates the underlying issue behind ansible/ansible-runner#1164
Unfortunately I'm still not clear why we can't merge the the current proposed PR to provide a short term fix with ansible-runner which actually works fine in all my testing. Sorry to say this, but the PR has been there since 3 weeks. We all know the issue happens when using Display and stdout flush with threading which happens to be the case with ansible-runner and what this test patch is also doing. Would not it be appropriate to merge the PR and then revert in the future if and when there is a permanent fix to ansible-core is available. I still don't understand the little alacrity shown to fix such critical bugs and provide ansible-runner consumers a better experience. |
* demonstrates the underlying issue behind ansible/ansible-runner#1164
The final fix is available at ansible/ansible#79522 are you able to verify that it works for you? We'll probably be releasing this in 2.14.1 within the next couple of days... |
* demonstrates the underlying issue behind ansible/ansible-runner#1164
I am going ahead and closing this issue since the fix is applied in the Ansible repo using ansible/ansible#79522. Please feel free to reopen if the problem persists. Thanks |
resolved_by_pr ansible/ansible#79522 |
Playbook run gets stuck when running with ansible 2.14 and ansible-runner 2.3.1 with verbosity>=3. This seems to be due to a regression in awx_display.py after ansible PR ansible/ansible#77056.
The text was updated successfully, but these errors were encountered: