Bug 1349712
Summary: | [RFE] Support scale up playbook to add new etcd host | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Kenjiro Nakayama <knakayam> |
Component: | RFE | Assignee: | Scott Dodson <sdodson> |
Status: | CLOSED ERRATA | QA Contact: | Gaoyun Pei <gpei> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 3.2.0 | CC: | aos-bugs, atolj, bvincell, byount, dmoessne, erich, fcami, ghuang, gpei, jkaur, jokerman, jolee, jrosenta, mark.vinkx, misalunk, mmccomas, mmckinst, nschuetz, pdwyer, pep, pkanthal, robert.bohne, tparsons, trankin |
Target Milestone: | --- | ||
Target Release: | 3.7.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: | 2017-12-05 13:36:17 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1267746 |
Description
Kenjiro Nakayama
2016-06-24 05:22:46 UTC
The subject of this RFE is "Supported method for adding additional Masters and ectd hosts to HA environment". But the bug fix didn't support to add new etcd hosts? This change requires refactoring the way that we manage etcd, since the way we are currently managing it only affects configuration on first boot. I found a pull request with a possible solution for this RFE on the github project. https://github.com/openshift/openshift-ansible/pull/3043 Will this change be enough to solve the feature request? Verify this bug with openshift-ansible-3.7.0-0.161.0.git.0.2ca2c69.el7.noarch.rpm Add "new_etcd" as a new sub-group under [OSEv3:children] in ansible inventory file, also specify the new etcd hosts in [new_etcd] sub-group. #Example inventory file [OSEv3:children] masters nodes etcd new_etcd [OSEv3:vars] deployment_type=openshift-enterprise ... [masters] master [nodes] node [etcd] etcd-1 [new_etcd] new-etcd-1 new-etcd-2 Run etcd scale-up playbook: ansible-playbook -i host /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-etcd/scaleup.yml After playbook finished, new etcd hosts could be added into existing etcd cluster, also added into etcdClientInfo.urls in master-config.yaml. The new etcd cluster could work well. QE have verified this playbook was working well for etcd scale-up from one single external etcd to 3 members ha etcd cluster , or extending from a 3 members etcd cluster to 4 members etcd cluster. And all test passed in rpm_ installed/containerized_installed/system_container_installed ways. This RFE was included in the 3.7 GA playbooks and the latest errata of the 3.6 playbooks. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days |