gardener / etcd-druid

ETCD operator managing the lifecycle of ETCD clusters for hosted control planes.
Apache License 2.0
62 stars 47 forks source link

Deleting the `etcd-bootstrap` configmap leads to etcd reconciliation to never succeed #818

Open acumino opened 1 week ago

acumino commented 1 week ago

How to categorize this issue?

/area control-plane /kind bug

What happened: If the stateful set is in errored state because of some wrong data in the etcd bootstrap configMap then fixing the etcd also doesn't lead to etcd reconciliation getting succeeded. This is so because we expect sts to be ready in the preSync here which will not be ready because etcd bootstrap configMap will not get updated because configMap is updated in the syncEtcdResources which is after preSyncEtcdResources. This lead to reconciliation getting stuck forever here.

Introduced in https://github.com/gardener/etcd-druid/pull/777

What you expected to happen:

/cc @shafeeqes

Environment:

acumino commented 1 week ago

/cc @unmarshall @shreyas-s-rao

acumino commented 1 week ago

/unassign