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

Bug 1805461

Summary: etcd: replace bash logic in static pod with golang
Product: OpenShift Container Platform Reporter: Sam Batschelet <sbatsche>
Component: EtcdAssignee: Sam Batschelet <sbatsche>
Status: CLOSED CURRENTRELEASE QA Contact: ge liu <geliu>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.4CC: geliu, skolicha, sttts
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: move-to-4.5
Fixed In Version: Doc Type: Enhancement
Doc Text:
Feature: Replace bash logic to discover initial cluster with golang binary Reason: Bash has become convoluted and complex. Easier to maintain and fix in golang. Result: The static pod runtime logic is simplified.
Story Points: ---
Clone Of: 1805458 Environment:
Last Closed: 2020-02-22 00:41:28 UTC Type: ---
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: 1805458    
Bug Blocks:    

Description Sam Batschelet 2020-02-20 20:13:44 UTC
+++ This bug was initially created as a clone of Bug #1805458 +++

Description of problem: the cluster-etcd-operator deploys the etcd static pod which uses bash logic to perform various checks during runtime. Although this logic is somewhat simple error handling is not as expected and will become increasingly convoluted over time. The logic should be in go and properly handle failure cases gracefully. The solution is to add another binary image to etcd itself.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info: