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.
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 thesyncEtcdResources
which is afterpreSyncEtcdResources
. 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:
kubectl version
):