- name: remove control-scale opts from deploy command, he error was: template error while templating string: no filter named 'succeeded'. String: {% if control_scale|succeeded %}

Bug #1860797 reported by wes hayutin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned

Bug Description

2020-01-24 13:17:26.017637 | primary | TASK [tripleo-upgrade : register control-scale opts] ***************************
2020-01-24 13:17:26.071770 | primary | Friday 24 January 2020 13:17:26 +0000 (0:00:00.981) 0:00:39.253 ********
2020-01-24 13:17:26.878915 | primary | fatal: [undercloud]: FAILED! => {
2020-01-24 13:17:26.879611 | primary | "changed": true,
2020-01-24 13:17:26.879844 | primary | "cmd": "grep -oP \"control-scale\\ \\d+\" /home/zuul/overcloud_deploy.sh\n",
2020-01-24 13:17:26.879976 | primary | "delta": "0:00:00.011806",
2020-01-24 13:17:26.880163 | primary | "end": "2020-01-24 13:17:26.848542",
2020-01-24 13:17:26.880268 | primary | "rc": 1,
2020-01-24 13:17:26.880417 | primary | "start": "2020-01-24 13:17:26.836736"
2020-01-24 13:17:26.880482 | primary | }
2020-01-24 13:17:26.880546 | primary |
2020-01-24 13:17:26.880620 | primary | MSG:
2020-01-24 13:17:26.880686 | primary |
2020-01-24 13:17:26.880793 | primary | non-zero return code
2020-01-24 13:17:26.880883 | primary | ...ignoring
2020-01-24 13:17:26.946156 | primary |
2020-01-24 13:17:26.946368 | primary | TASK [tripleo-upgrade : remove control-scale opts from deploy command] *********
2020-01-24 13:17:26.980803 | primary | Friday 24 January 2020 13:17:26 +0000 (0:00:00.909) 0:00:40.162 ********
2020-01-24 13:17:27.052515 | primary | fatal: [undercloud]: FAILED! => {}
2020-01-24 13:17:27.052641 | primary |
2020-01-24 13:17:27.052705 | primary | MSG:
2020-01-24 13:17:27.052765 | primary |
2020-01-24 13:17:27.053261 | primary | The conditional check 'control_scale|succeeded' failed. The error was: template error while templating string: no filter named 'succeeded'. String: {% if control_scale|succeeded %} True {% else %} False {% endif %}
2020-01-24 13:17:27.054027 | primary |
2020-01-24 13:17:27.054470 | primary | The error appears to be in '/home/zuul/workspace/.quickstart/usr/local/share/ansible/roles/tripleo-upgrade/tasks/common/convert_cli_opts_params.yaml': line 8, column 3, but may
2020-01-24 13:17:27.054664 | primary | be elsewhere in the file depending on the exact syntax problem.
2020-01-24 13:17:27.054725 | primary |
2020-01-24 13:17:27.054846 | primary | The offending line appears to be:
2020-01-24 13:17:27.054904 | primary |
2020-01-24 13:17:27.054965 | primary |
2020-01-24 13:17:27.055165 | primary | - name: remove control-scale opts from deploy command
2020-01-24 13:17:27.055254 | primary | ^ here
2020-01-24 13:17:27.055316 | primary |
2020-01-24 13:17:27.084488 | primary |
2020-01-24 13:17:27.084975 | primary | PLAY RECAP *********************************************************************
2020-01-24 13:17:27.085429 | primary | undercloud : ok=6 changed=4 unreachable=0 failed=1 skipped=93 rescued=0 ignored=1

https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_3b9/703847/1/gate/tripleo-ci-centos-7-scenario000-multinode-oooq-container-updates/3b94b46/job-output.txt

Revision history for this message
wes hayutin (weshayutin) wrote :
tags: added: promotion-blocker
Revision history for this message
wes hayutin (weshayutin) wrote :

s/succeeded/success ?

  - debug: msg="it succeeded"
    when: result|success
https://ansible-docs.readthedocs.io/zh/stable-2.0/rst/playbooks_filters.html#filters-often-used-with-conditionals

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

Reviewed: https://review.opendev.org/704140
Committed: https://git.openstack.org/cgit/openstack/tripleo-upgrade/commit/?id=717a28a3040fd2f5d4d371b2ff0a8be6455d09ff
Submitter: Zuul
Branch: stable/stein

commit 717a28a3040fd2f5d4d371b2ff0a8be6455d09ff
Author: Sagi Shnaidman <email address hidden>
Date: Sun Nov 3 17:54:55 2019 +0200

    Remove obsolete |succeeded filter from tasks

    Closes-Bug: #1860797
    Change-Id: I43d61398cf140ba6c84f521e2f646b55a9db3968
    (cherry picked from commit 14789b640d4eea853b87245359ffa6bf146c5d30)

tags: added: in-stable-stein
Revision history for this message
chandan kumar (chkumar246) wrote :
Changed in tripleo:
status: Triaged → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-upgrade (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/704388

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

Reviewed: https://review.opendev.org/704388
Committed: https://git.openstack.org/cgit/openstack/tripleo-upgrade/commit/?id=97397f7cea37141a4d21a1017cfbbabb75d3d984
Submitter: Zuul
Branch: stable/rocky

commit 97397f7cea37141a4d21a1017cfbbabb75d3d984
Author: Sagi Shnaidman <email address hidden>
Date: Sun Nov 3 17:54:55 2019 +0200

    Remove obsolete |succeeded filter from tasks

    Closes-Bug: #1860797
    Change-Id: I43d61398cf140ba6c84f521e2f646b55a9db3968
    (cherry picked from commit 14789b640d4eea853b87245359ffa6bf146c5d30)
    (cherry picked from commit 717a28a3040fd2f5d4d371b2ff0a8be6455d09ff)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-upgrade (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.opendev.org/711598

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

Reviewed: https://review.opendev.org/711598
Committed: https://git.openstack.org/cgit/openstack/tripleo-upgrade/commit/?id=192d6d8cd2629d538cf3cbd1e4e0919ff1b973b8
Submitter: Zuul
Branch: stable/queens

commit 192d6d8cd2629d538cf3cbd1e4e0919ff1b973b8
Author: Sagi Shnaidman <email address hidden>
Date: Sun Nov 3 17:54:55 2019 +0200

    Remove obsolete |succeeded filter from tasks

    Closes-Bug: #1860797
    Change-Id: I43d61398cf140ba6c84f521e2f646b55a9db3968
    (cherry picked from commit 14789b640d4eea853b87245359ffa6bf146c5d30)
    (cherry picked from commit 717a28a3040fd2f5d4d371b2ff0a8be6455d09ff)
    (cherry picked from commit 97397f7cea37141a4d21a1017cfbbabb75d3d984)

tags: added: in-stable-queens
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.