Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1524102

Summary: adding the cloudforms container provider fails
Product: OpenShift Container Platform Reporter: raffaele spazzoli <rspazzol>
Component: InstallerAssignee: Scott Dodson <sdodson>
Status: CLOSED DEFERRED QA Contact: Gaoyun Pei <gpei>
Severity: medium Docs Contact:
Priority: high    
Version: 3.7.1CC: aos-bugs, jokerman, mmccomas, rteague
Target Milestone: ---   
Target Release: 3.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-19 21:41:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1600010    
Bug Blocks:    

Description raffaele spazzoli 2017-12-10 04:47:18 UTC
based on the documentation the following script should autoconfigure cloudforms to manage the OCP in which it is deployed:

ansible-playbook -v -i <YOUR_INVENTORY> playbooks/openshift-management/add_container_provider.yml

when run the script fails with the following error:

TASK [Run the Management Integration Tasks] ***********************************************************************************************************************************************************************
ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.

The error appears to have been in '/usr/share/ansible/openshift-ansible/roles/openshift_management/tasks/add_container_provider.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: Ensure OpenShift facts are loaded
  ^ here


The error appears to have been in '/usr/share/ansible/openshift-ansible/roles/openshift_management/tasks/add_container_provider.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: Ensure OpenShift facts are loaded
  ^ here

exception type: <class 'ansible.errors.AnsibleParserError'>
exception: no action detected in task. This often indicates a misspelled module name, or incorrect module path.

The error appears to have been in '/usr/share/ansible/openshift-ansible/roles/openshift_management/tasks/add_container_provider.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: Ensure OpenShift facts are loaded
  ^ here

Comment 1 Scott Dodson 2017-12-11 02:35:20 UTC
Proposed fix https://github.com/openshift/openshift-ansible/pull/6418

I assume this is under ansible 2.4? If so you can likely downgrade to 2.3 as a workaround.

Comment 2 Scott Dodson 2018-08-16 14:46:09 UTC
Should be fixed in all versions of 3.9. Use of ansible 2.4 in 3.7 is not supported. ON_QA

Comment 3 Gaoyun Pei 2018-08-17 08:19:05 UTC
Tried with openshift-ansible-3.9.40-1.git.0.188c954.el7.noarch & ansible-2.4.6.0-1.el7ae.noarch, still hit the error in BZ#1600010.

Comment 4 Russell Teague 2018-11-19 21:41:33 UTC
There appear to be no active cases related to this bug. As such we're closing this bug in order to focus on bugs that are still tied to active customer cases. Please re-open this bug if you feel it was closed in error or a new active case is attached.