Bug 1468894
| Summary: | warning message appears when running the metrics setup script regarding jinja2 templating | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine-metrics | Reporter: | Shirly Radco <sradco> |
| Component: | Generic | Assignee: | Shirly Radco <sradco> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Lukas Svaty <lsvaty> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.0.4.3 | CC: | bugs |
| Target Milestone: | ovirt-4.2.0 | Flags: | rule-engine:
ovirt-4.2+
|
| Target Release: | 1.1.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-12-20 11:07:19 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Metrics | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1402901, 1475135 | ||
verified in ovirt-engine-metrics-1.1.1-0.0.master.20170919065728.el7.centos.noarch This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017. Since the problem described in this bug report should be resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |
Description of problem: When running the metrics setup script we get these warnings. TASK [ovirt_collectd/read_statsd : Allow collectd to listen on statsd port] [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "{{ ansible_selinux.mode }}" in ["enforcing", "permissive"] TASK [ovirt_collectd/collectd_setup : Set collectd_tcp_network_connect] [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "{{ ansible_selinux.mode }}" in ["enforcing", "permissive"] We should remove the {{ }} : ' ansible_selinux.mode in ["enforcing", "permissive"] ' Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. Run metrics setup script 2. 3. Actual results: There are warnings. Expected results: No wornings. Additional info: