Bug 1349712 - [RFE] Support scale up playbook to add new etcd host
Summary: [RFE] Support scale up playbook to add new etcd host
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.7.0
Assignee: Scott Dodson
QA Contact: Gaoyun Pei
URL:
Whiteboard:
Depends On:
Blocks: 1267746
TreeView+ depends on / blocked
 
Reported: 2016-06-24 05:22 UTC by Kenjiro Nakayama
Modified: 2023-09-14 23:59 UTC (History)
24 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-05 13:36:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1294509 0 high CLOSED [RFE] Supported method for adding additional Masters hosts to HA environment 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1367035 0 high CLOSED [DOCS] Document etcd cluster recovery after node failure + installing new etcd nodes 2021-02-22 00:41:40 UTC
Red Hat Knowledge Base (Article) 2650151 0 None None None 2017-09-11 06:50:11 UTC

Internal Links: 1294509 1367035

Description Kenjiro Nakayama 2016-06-24 05:22:46 UTC
1. Proposed title of this feature request

- Support scale up playbook to add new etcd

3. What is the nature and description of the request?

- Currently there are scaleup master and node playbook, but there are no scaleup playbook for adding new etcd.

4. Why does the customer need this? (List the business requirements here)

- There seems to be no reason why RH doesn't support it even though master and node has the playbook.

5. How would the customer like to achieve this? (List the functional requirements here)

- Same way of adding Master and Node

7. Is there already an existing RFE upstream or in Red Hat Bugzilla?

- As far as I checked, there are no such RFE.

9. Is the sales team involved in this request and do they have any additional input?

10. List any affected packages or components.

- installer

Comment 2 Kenjiro Nakayama 2016-06-24 07:33:57 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?

Comment 4 Jason DeTiberus 2016-07-05 14:16:24 UTC
This change requires refactoring the way that we manage etcd, since the way we are currently managing it only affects configuration on first boot.

Comment 5 atolj 2017-02-08 14:10:33 UTC
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?

Comment 9 Gaoyun Pei 2017-10-19 09:06:53 UTC
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.

Comment 12 Scott Dodson 2017-12-05 13:36:17 UTC
This RFE was included in the 3.7 GA playbooks and the latest errata of the 3.6 playbooks.

Comment 13 Red Hat Bugzilla 2023-09-14 23:59:42 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days


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