Bug 1488363
| Summary: | [3.6] "when statements should not include jinja2 templating delimiters" warning is shown when running installer with ansible-2.3.1.0-3.el7.noarch | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Johnny Liu <jialiu> |
| Component: | Installer | Assignee: | Russell Teague <rteague> |
| Status: | CLOSED ERRATA | QA Contact: | Johnny Liu <jialiu> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.6.1 | CC: | aos-bugs, jokerman, mmccomas, rteague |
| Target Milestone: | --- | ||
| Target Release: | 3.6.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
With Ansible 2.3 warnings are issued when using Jinja delimiters in 'when' conditions. The delimiters have been removed from the code base to avoid these warnings.
|
Story Points: | --- |
| Clone Of: | 1480129 | Environment: | |
| Last Closed: | 2017-10-17 11:45:24 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1480129 | ||
| Bug Blocks: | 1488359, 1488360, 1488361 | ||
|
Description
Johnny Liu
2017-09-05 08:24:54 UTC
Test 3.6 using openshift-ansible-3.6.173.0.21-2.git.0.44a4038.el7.noarch, still found the following warning:
PLAY [Populate config host groups] *********************************************
TASK [Evaluate groups - g_etcd_hosts or g_new_etcd_hosts required] *************
Tuesday 05 September 2017 03:51:25 +0000 (0:00:00.025) 0:00:00.110 *****
[WARNING]: when statements should not include jinja2 templating delimiters
such as {{ }} or {% %}. Found: {{ g_etcd_hosts is not defined and
g_new_etcd_hosts is not defined}}
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False",
"skipped": true
}
Waiting for newer errata puddle to include the fix. Due no AtomicOpenShift-errata puddle including the fix, switch to AtomicOpenShift puddle to do verification. Verified this bug with openshift-ansible-3.6.173.0.31-1.git.0.c9aeacc.el7.noarch, and PASS. No warning is shown now. No openshift-ansible build is attached to errata, no errata puddle, move it to "MODIFIED" Verified this bug with openshift-ansible-3.6.173.0.35-1.git.0.6c318bc.el7.noarch, and PASS. No warning is shown now. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:2900 |