use_async_deployment as a bare variable deprecation warning

Bug #1832402 reported by Alex Schultz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Alex Schultz

Bug Description

During a deploy we're getting bare variable warnings for use_async_deployment and ansible_check_mode.

2019-06-11 16:02:38,298 p=602 u=mistral | [DEPRECATION WARNING]: evaluating use_async_deployment as a bare variable, this
 behaviour will go away and you might need to add |bool to the expression in
the future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature
will be removed in version 2.12. Deprecation warning

2019-06-11 16:03:33,456 p=602 u=mistral | [DEPRECATION WARNING]: evaluating ansible_check_mode as a bare variable, this
behaviour will go away and you might need to add |bool to the expression in the
 future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature
will be removed in version 2.12. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.

Changed in tripleo:
importance: Low → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (master)

Fix proposed to branch: master
Review: https://review.opendev.org/664683

Changed in tripleo:
assignee: nobody → Alex Schultz (alex-schultz)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.opendev.org/664683
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=067473ca594c863d428649fcf85b84f90b48a05b
Submitter: Zuul
Branch: master

commit 067473ca594c863d428649fcf85b84f90b48a05b
Author: Alex Schultz <email address hidden>
Date: Tue Jun 11 14:14:07 2019 -0600

    Fix bare variable usage in ansible

    We have some bare variable usages in the deployments.yaml that is
    causing a deprecation warning during the deployment. Let's include a
    |bool to address these warnings.

    Change-Id: I85dfc93eb8afaec3d3157083bcf9605c34a540eb
    Closes-Bug: #1832402

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/665140

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/665430

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (stable/stein)

Reviewed: https://review.opendev.org/665140
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=277902e67eef9a8b8a74bce27c346a8616378041
Submitter: Zuul
Branch: stable/stein

commit 277902e67eef9a8b8a74bce27c346a8616378041
Author: Alex Schultz <email address hidden>
Date: Tue Jun 11 14:14:07 2019 -0600

    Fix bare variable usage in ansible

    We have some bare variable usages in the deployments.yaml that is
    causing a deprecation warning during the deployment. Let's include a
    |bool to address these warnings.

    Change-Id: I85dfc93eb8afaec3d3157083bcf9605c34a540eb
    Closes-Bug: #1832402
    (cherry picked from commit 067473ca594c863d428649fcf85b84f90b48a05b)

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (master)

Reviewed: https://review.opendev.org/665430
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=ed5c2ad70a13a564efab35ca3b677511053dbaa0
Submitter: Zuul
Branch: master

commit ed5c2ad70a13a564efab35ca3b677511053dbaa0
Author: Alex Schultz <email address hidden>
Date: Fri Jun 14 10:29:15 2019 -0600

    Fix bare reference of cinder_enable_iscsi_backend

    Ansible is throwing a deprecation warning for this so we need to add a
    |bool to the usage of cinder_enable_iscsi_backend

    Change-Id: If536dbc8ace915d171a23e289da2777e74dc3b27
    Related-Bug: #1832402

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (stable/stein)

Related fix proposed to branch: stable/stein
Review: https://review.opendev.org/665684

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (stable/stein)

Reviewed: https://review.opendev.org/665684
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=eff8376233e8a587f9334a110309c1c54b140498
Submitter: Zuul
Branch: stable/stein

commit eff8376233e8a587f9334a110309c1c54b140498
Author: Alex Schultz <email address hidden>
Date: Fri Jun 14 10:29:15 2019 -0600

    Fix bare reference of cinder_enable_iscsi_backend

    Ansible is throwing a deprecation warning for this so we need to add a
    |bool to the usage of cinder_enable_iscsi_backend

    Change-Id: If536dbc8ace915d171a23e289da2777e74dc3b27
    Related-Bug: #1832402
    (cherry picked from commit ed5c2ad70a13a564efab35ca3b677511053dbaa0)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 10.8.0

This issue was fixed in the openstack/tripleo-common 10.8.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 11.1.0

This issue was fixed in the openstack/tripleo-common 11.1.0 release.

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.