Bug 1541449

Summary: Upgrade failed due to "MODULE FAILURE" in play "Initialize cluster facts"
Product: OpenShift Container Platform Reporter: Weihua Meng <wmeng>
Component: Cluster Version OperatorAssignee: Michael Gugino <mgugino>
Status: CLOSED DUPLICATE QA Contact: liujia <jiajliu>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.9.0CC: aos-bugs, cshereme, jokerman, mmccomas
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-02-05 20:03:18 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:

Description Weihua Meng 2018-02-02 15:21:28 UTC
Description of problem:
Upgrade failed due to "MODULE FAILURE" at task "Gather Cluster facts" in play "Initialize cluster facts"

Version-Release number of the following components:
openshift-ansible-3.9.0-0.34.0.git.0.c7d9585.el7.noarch

ansible-2.4.2.0-2.el7.noarch

# ansible --version
ansible 2.4.2.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.5 (default, May  3 2017, 07:55:04) [GCC 4.8.5 20150623 (Red Hat 4.8.5-14)]


How reproducible:
Always

Steps to Reproduce:
1. setup OCP 3.7 HA containerised RHEL cluster on EC2 with LB
2. upgrade containerized OCP on RHEL from v3.7.27 to v3.9.0-0.34.0
# ansible-playbook /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_9/upgrade_control_plane.yml

Actual results:
Failure summary:


  1. Hosts:    ec2-xx.compute-1.amazonaws.com
     Play:     Initialize cluster facts
     Task:     Gather Cluster facts
     Message:  MODULE FAILURE


Expected results:
Upgrade succeeds

Additional info:

Comment 5 Scott Dodson 2018-02-02 15:30:54 UTC
This is happening because python-ipaddress is not installed on the target hosts.

Comment 6 Scott Dodson 2018-02-05 20:03:18 UTC

*** This bug has been marked as a duplicate of bug 1540537 ***