Bug 1543771 - Etcd scale-up failed at task "Run variable sanity checks"
Summary: Etcd scale-up failed at task "Run variable sanity checks"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.9.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.9.0
Assignee: Michael Gugino
QA Contact: Gaoyun Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-09 09:32 UTC by Gaoyun Pei
Modified: 2019-01-30 01:04 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-28 14:27:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0489 0 None None None 2018-03-28 14:27:56 UTC

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


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