Skip to content

NAT Gateway flavor fails with Public IP not found #1525

@CecileRobertMichon

Description

@CecileRobertMichon

/kind bug

What steps did you take and what happened:
[A clear and concise description of what the bug is.]

What did you expect to happen:

Tried to create a NAT Gateway cluster using the NAT Gateway template with Tilt, got this error:

[manager] E0714 00:13:48.203297      36 controller.go:302] controller-runtime/manager/controller/azurecluster "msg"="Reconciler error" "error"="failed to reconcile cluster services: failed to reconcile public IP: cannot create public IP: network.PublicIPAddressesClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: Code=\"ResourceNotFound\" Message=\"The Resource 'Microsoft.Network/publicIPAddresses/subscriptions' under resource group 'nat-gateway-template' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"" "name"="nat-gateway-template" "namespace"="default" "reconciler group"="infrastructure.cluster.x-k8s.io" "reconciler kind"="AzureCluster" 

@nprokopic @shysank what am I missing? is there something special that needs to be done for this to work on my sub or is it a bug in the code?

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Environment:

  • cluster-api-provider-azure version:
  • Kubernetes version: (use kubectl version):
  • OS (e.g. from /etc/os-release):

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions