You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The imported resource will be immediately in the Synced=True state but reach the Ready=True state only in 10 minutes.
$ k get managed
NAME SYNCED READY EXTERNAL-NAME AGE
virtualnetwork.network.azure.upbound.io/platform-ref-azure-vnet True platform-ref-azure-vnet 8m37s
$ k get managed
NAME SYNCED READY EXTERNAL-NAME AGE
virtualnetwork.network.azure.upbound.io/platform-ref-azure-vnet True True platform-ref-azure-vnet 10m
Excerpt from provider log at the moment of import event
In additional to VirtualNetwork from the implementation example, I was able to reproduce the issue with azure and aws providers using the following manifests:
apiVersion: network.azure.upbound.io/v1beta2 <-- notice v1beta2 here, in this case import is getting stuck for 10 minuteskind: Subnetmetadata:
name: service2annotations:
crossplane.io/external-name: platform-ref-azure-snspec:
managementPolicies: ["Observe"]forProvider:
resourceGroupName: platform-ref-azure-4b29m-2jvwcvirtualNetworkName: platform-ref-azure-vnet
At the same time, the v1beta1 derivatives are getting imported immediately.
apiVersion: network.azure.upbound.io/v1beta1 <--- notice v1beta1 here, in this case it works as expectedkind: Subnetmetadata:
name: serviceannotations:
crossplane.io/external-name: platform-ref-azure-snspec:
managementPolicies: ["Observe"]forProvider:
resourceGroupName: platform-ref-azure-4b29m-2jvwcvirtualNetworkName: platform-ref-azure-vnet
What happened?
Initially observed during the implementation of upbound/function-azresourcegraph#18
If you follow the https://docs.crossplane.io/latest/guides/import-existing-resources/ procedure and try to import any resource that has the
v1beta2
version, the import will get stuck for default poll-interval - 10 minutes by default.The imported resource will be immediately in the
Synced=True
state but reach theReady=True
state only in 10 minutes.Excerpt from provider log at the moment of import event
How can we reproduce it?
In additional to VirtualNetwork from the implementation example, I was able to reproduce the issue with azure and aws providers using the following manifests:
At the same time, the
v1beta1
derivatives are getting imported immediately.The text was updated successfully, but these errors were encountered: