Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1628201 - OCP 3.11: etcd scaleup on CRI-O HA cluster fails with dict object has no attribute etcd_ip error
OCP 3.11: etcd scaleup on CRI-O HA cluster fails with dict object has no att...
Status: VERIFIED
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer (Show other bugs)
3.11.0
x86_64 Linux
medium Severity high
: ---
: 3.11.z
Assigned To: Russell Teague
ge liu
aos-scalability-310
: NeedsTestCase
Depends On: 1578482
Blocks:
  Show dependency treegraph
 
Reported: 2018-09-12 08:54 EDT by Russell Teague
Modified: 2018-10-24 05:04 EDT (History)
12 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
During etcd scaleup, facts about the etcd cluster are required in order to add new hosts. The necessary tasks have been added to ensure those facts are set before configuring new hosts and therefore allow the scaleup to complete as expected.
Story Points: ---
Clone Of: 1578482
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Comment 1 Russell Teague 2018-09-12 08:56:09 EDT
release-3.11: https://github.com/openshift/openshift-ansible/pull/10021
Comment 2 Russell Teague 2018-09-13 07:59:51 EDT
openshift-ansible-3.11.2-1
Comment 3 Gaoyun Pei 2018-09-14 05:39:43 EDT
Test with openshift-ansible-3.11.5-1.git.0.5a01a3c.el7_5.noarch and ansible-2.6.4-1.el7ae.noarch, etcd scale-up playbook failed as below:

TASK [Verify cluster is stable] ************************************************
fatal: [ec2-54-208-238-208.compute-1.amazonaws.com]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'etcd_ca_host' is undefined\n\nThe error appears to have been in '/home/slave4/workspace/Run-Ansible-Playbooks/private-openshift-ansible/playbooks/openshift-etcd/private/scaleup.yml': line 48, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n  # etcd_hostname fact is set in add_new_member.yml called above.\n  - name: Verify cluster is stable\n    ^ here\n"}
Comment 5 Russell Teague 2018-09-20 08:13:38 EDT
Proposed: https://github.com/openshift/openshift-ansible/pull/10149 (master)
Comment 7 Scott Dodson 2018-10-04 10:01:51 EDT
https://github.com/openshift/openshift-ansible/pull/10258 release-3.11 backport
Comment 8 Vadim Rutkovsky 2018-10-15 05:21:15 EDT
Fix is available in openshift-ansible-3.11.23-1
Comment 9 ge liu 2018-10-24 05:04:42 EDT
Verified with openshift-ansible-3.11.28-1,

1). Setup ha env on aws(3 masters+1 etcd), then run scaleup playbook to setup other 2 etcd, and it works well

2). Setup env(1 master+1 etcd), prepare 2 vms, then scalup install etcd on those 2 vms, and it works well

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