Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error classification for PublicIPAddressInUse #759

Open
dimitar-kostadinov opened this issue Dec 5, 2023 · 1 comment
Open

Improve error classification for PublicIPAddressInUse #759

dimitar-kostadinov opened this issue Dec 5, 2023 · 1 comment
Labels
area/ops-productivity Operator productivity related (how to improve operations) kind/enhancement Enhancement, improvement, extension lifecycle/stale Nobody worked on this for 6 months (will further age) platform/azure Microsoft Azure platform/infrastructure

Comments

@dimitar-kostadinov
Copy link
Contributor

How to categorize this issue?

/area ops-productivity
/kind enhancement
/platform azure

What would you like to be added:

Classify Error: Code="PublicIPAddressInUse" as User configuration issue.
If the Public IP Association for NAT Gateway is already in use the Infrastructure creation fails with:

* failed to update Public IP Association for NAT Gateway "shoot--foo--bar-nat-gateway" (Resource Group "shoot--foo--bar"): network.NatGatewaysClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="PublicIPAddressInUse" Message="Resource /subscriptions/<omitted>/resourceGroups/shoot--foo--bar/providers/Microsoft.Network/natGateways/shoot--foo--bar-nat-gateway is referencing public IP address /subscriptions/<omitted>/resourceGroups/static-ip/providers/Microsoft.Network/publicIPAddresses/addr that is already allocated to resource /subscriptions/<omitted>/resourceGroups/shoot--foo--baz/providers/Microsoft.Network/natGateways/shoot--foo--baz-nat-gateway." Details=[]

Why is this needed:

Improve error classification.

@gardener-robot gardener-robot added area/ops-productivity Operator productivity related (how to improve operations) kind/enhancement Enhancement, improvement, extension platform/azure Microsoft Azure platform/infrastructure labels Dec 5, 2023
@ialidzhikov
Copy link
Member

Same as #757.

@gardener-robot gardener-robot added the lifecycle/stale Nobody worked on this for 6 months (will further age) label Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ops-productivity Operator productivity related (how to improve operations) kind/enhancement Enhancement, improvement, extension lifecycle/stale Nobody worked on this for 6 months (will further age) platform/azure Microsoft Azure platform/infrastructure
Projects
None yet
Development

No branches or pull requests

3 participants