os_tempest: Jinja2 delimiters in when

Bug #1735787 reported by Major Hayden
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Low
Major Hayden

Bug Description

Jinja2 delimiters are not allowed in when clauses:

    TASK [os_tempest : Create tempest directories] *********************************
    Friday 01 December 2017 04:45:38 +0000 (0:00:00.438) 0:47:22.139 *******
     [WARNING]: when statements should not include jinja2 templating delimiters
    such as {{ }} or {% %}. Found: {{ item.when | default(True) }}
    skipping: [aio1_utility_container-7b9f2c23] => (item={'path': '/var/log/utility', 'when': 'not tempest_log_dir_exists.stat.exists'})
    changed: [aio1_utility_container-7b9f2c23] => (item={'path': '/root/.tempest/etc'})
    ok: [aio1_utility_container-7b9f2c23] => (item={'path': '/opt/cache/files'})

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_tempest (master)

Fix proposed to branch: master
Review: https://review.openstack.org/524672

Changed in openstack-ansible:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_tempest (master)

Reviewed: https://review.openstack.org/524672
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_tempest/commit/?id=e0d1a423b0fef9ce1462d4722bff509654b4650a
Submitter: Zuul
Branch: master

commit e0d1a423b0fef9ce1462d4722bff509654b4650a
Author: Major Hayden <email address hidden>
Date: Fri Dec 1 10:30:37 2017 -0600

    Remove jinja2 delimiters from when

    This patch removes jinja2 delimiters from when clauses.

    Closes-Bug: 1735787
    Change-Id: Ica944e71315615f745b37a5d24f360039e076db8

Changed in openstack-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_tempest 17.0.0.0b3

This issue was fixed in the openstack/openstack-ansible-os_tempest 17.0.0.0b3 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.