Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1421072

Summary: [DOCS] Document etcd cluster recovery after node failure + installing new etcd nodes
Product: OpenShift Container Platform Reporter: Jaspreet Kaur <jkaur>
Component: DocumentationAssignee: Ashley Hardin <ahardin>
Status: CLOSED DUPLICATE QA Contact: Johnny Liu <jialiu>
Severity: high Docs Contact: Vikram Goyal <vigoyal>
Priority: high    
Version: 3.4.0CC: aos-bugs, bfallonf, jokerman, mmccomas, sttts
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: etcd-3.1.0-2.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-23 07:53:51 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: 1405338    

Description Jaspreet Kaur 2017-02-10 09:50:17 UTC
Document URL:  Document URL: 
This is a request for replacing section in below article as this doesnt work any more.

https://docs.openshift.com/container-platform/3.4/admin_guide/backup_restore.html#backup-restore-adding-etcd-hosts

Section Number and Name: 
Adding New etcd Hosts

5b. Create a backup of the surviving etcd host, and transfer the contents to the new host:

1.) The given flags are not supported
# etcdctl backup --keep-cluster-id --node-id ${NODE_ID} \
  --data-dir /var/lib/etcd --backup-dir /var/lib/etcd/$NEW_ETCD-backup

 the given flags (--keep-cluster-id --node-id ${NODE_ID}) are not supported.

Also refer : https://bugzilla.redhat.com/show_bug.cgi?id=1419670

There are also known issue with the backup procedure/


Describe the issue:  The steps are not working with etcd 3.0.15 version.

Comment 1 Jaspreet Kaur 2017-02-20 07:29:03 UTC
Also, the location mentioned in docs is incorrect :

 etcdctl -C https://${ETCD_CA_HOST}:2379 \
  --ca-file=/etc/etcd/ca.crt     \
  --cert-file=/etc/etcd/peer.crt     \
  --key-file=/etc/etcd/peer.key member add ${NEW_ETCD} https://${NEW_ETCD_IP}:2380

Comment 7 Stefan Schimanski 2017-02-23 07:53:51 UTC
As Jan is fine with giving this BZ back to the docs team, let's mark it as duplicate of #1419670. Comment 1 is copied to #1419670. So nothing left here.

*** This bug has been marked as a duplicate of bug 1419670 ***