crossplane-contrib / provider-upjet-azure

Azure Provider for Crossplane.
https://marketplace.upbound.io/providers/upbound/provider-family-azure/
Apache License 2.0
63 stars 76 forks source link

[Bug]: Kusto cluster creation fails #849

Open kostapetan opened 1 month ago

kostapetan commented 1 month ago

Is there an existing issue for this?

Affected Resource(s)

kusto.azure.upbound.io/v1beta1 - Cluster

Resource MRs required to reproduce the bug

apiVersion: kusto.azure.upbound.io/v1beta1 kind: Cluster metadata: annotations: meta.upbound.io/example-id: kusto/v1beta1/cluster labels: testing.upbound.io/example-name: example name: my-cluster-name spec: forProvider: location: Sweden Central resourceGroupNameSelector: matchLabels: testing.upbound.io/example-name: example sku:

Steps to Reproduce

Apply the manifest above

What happened?

The Cluster CRD is successfully created, however the actual resource in Azure is not created. Same happens if I manually create the Kusto cluster in Azure, delete it, the reconciliation will fail with the same error message.

Relevant Error Output Snippet

Kusto Cluster Name: "xxx"): unexpected status 404 (404 Not Found) with error: ResourceNotFound: The Resource 'Microsoft.Kusto/clusters/xxx' under resource group 'example-resources-random' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix  []}]

Crossplane Version

v1.17.1

Provider Version

v1.7.0

Kubernetes Version

v1.29.9

Kubernetes Distribution

AKS

Additional Info

No response