Bug 1487980 - Install OCP by ansible- met syntax problem
Summary: Install OCP by ansible- met syntax problem
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 3.7.0
Assignee: Scott Dodson
QA Contact: Wenkai Shi
Depends On:
TreeView+ depends on / blocked
Reported: 2017-09-04 03:18 UTC by Wenkai Shi
Modified: 2017-11-28 22:09 UTC (History)
4 users (show)

Fixed In Version: openshift-ansible-3.7.0-0.126.1.git.0.0bb5b0c.el7.noarch
Doc Type: No Doc Update
Doc Text:
Clone Of:
Last Closed: 2017-11-28 22:09:17 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 0 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-29 02:34:54 UTC

Description Wenkai Shi 2017-09-04 03:18:37 UTC
Description of problem:
Install OCP by ansible- met syntax problem, update to ansible- syntax problem disappear.
The ansible- is from OCP repo, the ansible- is from RHEL extras repo.

Version-Release number of the following components:

How reproducible:

Steps to Reproduce:
1. Install OCP by ansible-

Actual results:
# ansible-playbook -i hosts -v /usr/share/ansible/openshift-ansible/playbooks/byo/config.yml 
Using /etc/ansible/ansible.cfg as config file
ERROR! 'name' is not a valid attribute for a Block

The error appears to have been in '/usr/share/ansible/openshift-ansible/roles/openshift_node/tasks/tuned.yml': line 10, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

- name: Tuned service setup
  ^ here

Expected results:
Installation succeed.

Additional info:

Comment 1 Scott Dodson 2017-09-06 16:53:24 UTC
The installer now requires ansible-2.3 which is available in RHEL extras.

Comment 2 Scott Dodson 2017-09-06 16:54:36 UTC
Clarification, the master branch requires ansible 2.3, older releases should continue to work with 2.2.x for the time being.

Comment 3 Wenkai Shi 2017-09-11 03:23:50 UTC
So far the latest puddle is 3.7.0-0.125.0.git.0.91043b6, no 3.7.0-0.125.1.git.0.99e6845 found. 
# yum install atomic-openshift-utils -y
Processing Dependency: ansible >= for package: openshift-ansible-3.7.0-0.125.0.git.0.91043b6.el7.noarch

By the way, are we going to required ansible 2.3 by rpm dependency or document? Is there any PR?

Comment 5 Wenkai Shi 2017-09-14 08:27:18 UTC
Verified with version openshift-ansible-3.7.0-0.126.1.git.0.0bb5b0c.el7. 

# yum install atomic-openshift-utils -y
--> Processing Dependency: ansible >= 2.3 for package: openshift-ansible-3.7.0-0.126.1.git.0.0bb5b0c.el7.noarch

# rpm -q ansible

Comment 9 errata-xmlrpc 2017-11-28 22:09:17 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.