Bug 1386484

Summary: openshift-ansible should prompt the correct version of ansible
Product: OpenShift Container Platform Reporter: Anping Li <anli>
Component: InstallerAssignee: Scott Dodson <sdodson>
Status: CLOSED CURRENTRELEASE QA Contact: Johnny Liu <jialiu>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.3.1CC: aos-bugs, dgoodwin, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
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: 2017-06-09 03:09:37 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:

Description Anping Li 2016-10-19 05:31:23 UTC
Description of problem:
As per  https://bugzilla.redhat.com/show_bug.cgi?id=1383189, openshift-ansible verison should use ansible-2.2.0-0.50 and above. 

Version-Release number of selected component (if applicable):
atomic-openshift-utils-3.3.37

How reproducible:
always

Steps to Reproduce:
1. pre_installed ansible-2.2.0-0.5
    yum install atomic-opensihft-utls-3.2.28
2. upgrade openshift-ansible using v3.3.1 puddle
    yum upgradel atomic-openshift-utils-3.3.37-1.git.0.10ff25b.el7.noarch
3. ansible-playbook /root/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_3/upgrade_nodes.yml -e openshift_upgrade_nodes_serial=2 -v

Actual results:
2. ansible wasn't upgraded when upgrading atomic-openshift-utils
3. upgrade failed due to the incorrect ansible version

Expected results:
Ansible should be upgraded/downgraded to correct version along with atomic-openshift-utils 
At least, openshift-ansible playbook should check 

Additional info:

Comment 1 Scott Dodson 2017-06-09 03:09:37 UTC
All versions of the installer 3.2 and newer now require ansible-2.2.2.0 or newer.