AvSet got deleted and Infrastructure reconciliation succeeded without recreating the AvSet #1054
Labels
area/quality
Output qualification (tests, checks, scans, automation in general, etc.) related
kind/bug
Bug
platform/azure
Microsoft Azure platform/infrastructure
How to categorize this issue?
/area quality
/kind bug
/platform azure
What happened:
AvSet got deleted and Infrastructure reconciliation succeeded without recreating the AvSet. Machines later on were failing to be created because of the missing AvSet.
With @dnaeon we faced an Azure Shoot failing to wake up with error:
The provider-azure deleted the AvSet:
The corresponding handling is
gardener-extension-provider-azure/pkg/controller/infrastructure/infraflow/ensurer.go
Lines 199 to 223 in ec233ac
After investigation with @dnaeon we found two potential issues:
The expected region (
fctx.adapter.Region()
) ingardener-extension-provider-azure/pkg/controller/infrastructure/infraflow/ensurer.go
Line 200 in ec233ac
The early exit in
gardener-extension-provider-azure/pkg/controller/infrastructure/infraflow/ensurer.go
Lines 208 to 209 in ec233ac
What you expected to happen:
Infrastructure reconciliation to do no succeed with missing/deleted AvSet.
How to reproduce it (as minimally and precisely as possible):
Not clear for not. But we were suspecting something like:
Anything else we need to know?:
N/A
Environment:
kubectl version
):The text was updated successfully, but these errors were encountered: