If backupentry reconciles before Shoot namespace gets created cluster creation will fail #9749
Labels
area/quality
Output qualification (tests, checks, scans, automation in general, etc.) related
kind/bug
Bug
How to categorize this issue?
/area quality
/kind bug
What happened:
gardener/extensions/pkg/controller/backupentry/genericactuator/actuator.go
Lines 51 to 59 in c024f37
There is no dependency in the shoot reconciliation flow between the steps for deploying shoot namespace and deploying backup entry. So if the extension Backupentry gets created when shoot namespace is missing it can succeed without deploying backup secret. After that a second BE reconciliation won't happen. Therefore
etcd-backup
won't get created and shoot won't get created.What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Add
time.Sleep(20*time.Seconds)
in the beginning ofpkg/gardenlet/operation/botanist/namespaces.go@DeploySeedNamespace
and create local shootAnything else we need to know?:
Environment:
kubectl version
):The text was updated successfully, but these errors were encountered: