Bug 1931658 - [single-node] cluster-etcd-operator: cluster never pivots from bootstrapIP endpoint
Summary: [single-node] cluster-etcd-operator: cluster never pivots from bootstrapIP en...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Etcd
Version: 4.8
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.8.0
Assignee: Sam Batschelet
QA Contact: ge liu
URL:
Whiteboard:
: 1917115 1932206 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-22 21:27 UTC by Sam Batschelet
Modified: 2021-07-27 22:48 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 22:47:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-etcd-operator pull 547 0 None open Bug 1931658: render: refactor scaling strategies 2021-02-25 21:08:14 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 22:48:02 UTC

Description Sam Batschelet 2021-02-22 21:27:56 UTC
Description of problem: during install the bootstrapIP is written to an annotation on the etcd-endpoints configmap[1]. This is intended to be used by master nodes so they can communicate with etcd on the temporary control-plane. The bootstrap teardown controller[2] will continuously fail because it does not have the conditions to remove the member as it is only member in the cluster.

The solution is to omit the bootstrap annotation for single node during render and instead add it as an endpoint directly.[3]


[1] https://github.com/openshift/cluster-etcd-operator/blob/release-4.8/bindata/bootkube/manifests/00_etcd-endpoints-cm.yaml
[2] https://github.com/openshift/cluster-etcd-operator/blob/master/pkg/operator/bootstrapteardown/bootstrap_teardown_controller.go#L140
[3] https://github.com/openshift/cluster-etcd-operator/blob/master/pkg/operator/etcdendpointscontroller/etcdendpointscontroller.go#L136


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


How reproducible: 100%


Steps to Reproduce:
1. install a single node cluster
2.
3.

Actual results: bootstrap endpoint is never removed.


Expected results: bootstrap endpoint is never added and instead endpoint configmap is properly seeded during render.


Additional info:

Comment 1 Sam Batschelet 2021-03-05 19:34:33 UTC
*** Bug 1917115 has been marked as a duplicate of this bug. ***

Comment 2 Sam Batschelet 2021-03-05 21:05:15 UTC
*** Bug 1932206 has been marked as a duplicate of this bug. ***

Comment 7 errata-xmlrpc 2021-07-27 22:47:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:2438


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