cloud-provider-config
Secret is not updated on Shoot deletion -> deadlock on Shoot deletion
#601
Labels
area/control-plane
Control plane related
kind/bug
Bug
lifecycle/rotten
Nobody worked on this for 12 months (final aging stage)
platform/azure
Microsoft Azure platform/infrastructure
How to categorize this issue?
/area control-plane
/kind bug
/platform azure
What happened:
The
cloud-provider-config
Secret holds the Azure credentials for cloud-controller-manager. Currently this Secret is updated/created only on ControlPlane reconciliation.gardener-extension-provider-azure/vendor/github.com/gardener/gardener/extensions/pkg/controller/controlplane/genericactuator/actuator.go
Lines 296 to 308 in d31fce7
There is the following deadlock situation for a deletion of hibernated Shoot.
Shoot with invalid credentials gets deleted.
As the Shoot is hibernated, the deletions fails to destroy the ControlPlane with reason:
CCM is
CrashLoopBackOff
due to invalid credentials, hence cannot deleted theallow-tcp-egress
andallow-udp-egress
Services.Shoot owner updates the credentials with valid ones.
The deletion continues to fail with the error from step 2.
The
cloud-provider-config
Secret never gets updated.What you expected to happen:
Deletion of hibernated Shoot to succeed once the credentials are updated with valid ones.
How to reproduce it (as minimally and precisely as possible):
See above.
Anything else we need to know?:
N/A
Environment:
kubectl version
):The text was updated successfully, but these errors were encountered: