quickstart-extras validate-perf has invalid task attribute

Bug #1823787 reported by John Dennis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Unassigned

Bug Description

tripleo-quickstart-extras/roles/validate-perf/tasks/main.yml causes ansible to immediately fail when ansible >= 2.7 used with the following error:

ERROR! 'executable' is not a valid attribute for a Task

This occurs because ansible 2.7 added this configuration option:

invalid_task_attribute_failed: true

formerly when ansible < 2.7 was used you would get this:

 [WARNING]: Ignoring invalid attribute: executable

The problem is the executable task attribute was declared outside of the task action, it just needs to be moved up and indented so it's part of the shell action instead of dangling below it as part of the task.

I have a patch prepared.

Tags: alert ci
Changed in tripleo:
status: New → Triaged
importance: Undecided → High
milestone: none → train-1
Revision history for this message
John Dennis (jdennis-a) wrote :
wes hayutin (weshayutin)
tags: added: alert ci
Changed in tripleo:
milestone: train-1 → train-2
Changed in tripleo:
milestone: train-2 → train-3
Revision history for this message
Marios Andreou (marios-b) wrote :

looking at this on request - looks like this should have fixed it?

 https://review.opendev.org/#/c/660100/ "Executable must be shells attribute, not tasks "

marking as fix released please move back if you disagree thanks

Changed in tripleo:
status: Triaged → Fix Released
Revision history for this message
John Dennis (jdennis-a) wrote :

I agree, the above commit fixed the issue and it's appropriate to close this.

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.