'include_tasks' is not a valid attribute for a Play in scenario009 openshift CI job

Bug #1812983 reported by Martin André on 2019-01-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Critical
Martin André

Bug Description

https://review.openstack.org/#/c/612592/ was merged while scenario009 was failing.
Now scenario009 is broken.

2019-01-22 06:16:29,780 p=1 u=root | ERROR! 'include_tasks' is not a valid attribute for a Play

The error appears to have been in '/var/lib/mistral/overcloud/openshift/playbook.yml': line 42, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

# initial install
- include_tasks: "/usr/share/ansible/openshift-ansible/playbooks/prerequisites.yml"
  ^ here

http://logs.openstack.org/92/612592/3/check/tripleo-ci-centos-7-scenario009-multinode-oooq-container/ed65757/logs/undercloud/var/lib/mistral/overcloud/ansible.log.txt.gz#_2019-01-22_06_16_29_780

Tags: ci Edit Tag help

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

Changed in tripleo:
status: Confirmed → In Progress

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

commit cb675a91a7268fcdf6f260150e0a9b99a2a7baa9
Author: Martin André <email address hidden>
Date: Wed Jan 23 11:31:50 2019 +0100

    Fix openshift playbook import

    I4aa8055fe800723b3e140f8232c9e41e769e11f3 wrongly replaced 'include'
    with 'include_tasks' in openshift and kubernetes templates and broke
    their deployment, resulting in an ansible error:

      ERROR! 'include_tasks' is not a valid attribute for a Play

    Use import_playbook instead.

    Change-Id: I0bb9bfabeb06dc9d602ad173ce2d12d1771b6b1f
    Closes-Bug: #1812983

Changed in tripleo:
status: In Progress → Fix Released

This issue was fixed in the openstack/tripleo-heat-templates 10.4.0 release.

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

Other bug subscribers