Bug 1480129
Summary: | [3.2] "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.2.1 | CC: | aos-bugs, jokerman, mmccomas | ||||
Target Milestone: | --- | ||||||
Target Release: | 3.2.1 | ||||||
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: | |||||||
: | 1488359 1488360 1488361 1488363 (view as bug list) | 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: | |||||||
Bug Blocks: | 1488359, 1488360, 1488361, 1488363 | ||||||
Attachments: |
|
Description
Johnny Liu
2017-08-10 09:12:50 UTC
Created attachment 1311637 [details]
3.2 installer log
Other version of installer (3.3 ~ 3.6) also has such issues, but the occurrence is less than 3.2. Waiting for newer errata puddle to include the fix. No openshift-ansible build is attached to errata, no errata puddle, move it to "MODIFIED" Retest this bug with openshift-ansible-3.2.64-1.git.0.fe1fd48.el7, and FAIL. Still have some warning: <--snip--> TASK [openshift_serviceaccounts : Grant the user access to the appropriate scc] *** Tuesday 19 September 2017 03:03:48 +0000 (0:00:00.514) 0:07:25.184 ***** [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: 'system:serviceaccount:{{ openshift_serviceaccounts_namespace }}:{{ item.0 }}' not in {{ (item.1.stdout | from_yaml).users | default([]) }} <--snip--> Verified this bug with openshift-ansible-3.2.65-1.git.0.3e894ed.el7.noarch, and PASS. No WARNING is showing 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 |