Bug 1543771

Summary: Etcd scale-up failed at task "Run variable sanity checks"
Product: OpenShift Container Platform Reporter: Gaoyun Pei <gpei>
Component: InstallerAssignee: Michael Gugino <mgugino>
Status: CLOSED ERRATA QA Contact: Gaoyun Pei <gpei>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.9.0CC: aos-bugs, jokerman, knakayam, mgugino, mmccomas, wmeng
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-03-28 14:27:28 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 Gaoyun Pei 2018-02-09 09:32:34 UTC
Description of problem:
When scaling up etcd cluster, the playbook failed as below:
PLAY [Verify Requirements] **************************************************************************************************************************************************

TASK [Gathering Facts] ******************************************************************************************************************************************************
ok: [ec2-54-237-213-42.compute-1.amazonaws.com]

TASK [Run variable sanity checks] *******************************************************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: 'NoneType' object has no attribute '__getitem__'
fatal: [ec2-54-237-213-42.compute-1.amazonaws.com]: FAILED! => {"msg": "Unexpected failure during module execution.", "stdout": ""}



Version-Release number of the following components:
openshift-ansible-3.9.0-0.41.0.git.0.8290c01.el7.noarch
ansible-2.4.2.0-2.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1.Setup an ocp-3.9 with one single etcd host. Add two new hosts to [new_etcd] group in ansible inventory file, run etcd scale-up playbook
ansible-playbook -i host /usr/share/ansible/openshift-ansible/playbooks/openshift-etcd/scaleup.yml -v


Actual results:


Expected results:

Additional info:
Ansible inventory file and detailed playbook log could be found in attachment

Comment 2 Michael Gugino 2018-02-12 17:24:23 UTC
PR Created: https://github.com/openshift/openshift-ansible/pull/7113

Comment 4 Gaoyun Pei 2018-02-26 05:08:49 UTC
Verify this bug with openshift-ansible-3.9.0-0.51.0.git.0.e26400f.el7.noarch.rpm.

No such error during running etcd scale-up playbook.

Comment 7 errata-xmlrpc 2018-03-28 14:27:28 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.

https://access.redhat.com/errata/RHBA-2018:0489