crossplane-contrib / provider-upjet-azure

Official Azure Provider for Crossplane by Upbound.
Apache License 2.0
61 stars 75 forks source link

Moving private_dns(5) resources to v1beta1 version #342

Closed svscheg closed 5 months ago

svscheg commented 1 year ago
svscheg commented 1 year ago

Have problem for using some values for the Subnet delegation.

  1. Use Microsoft.Network/managedResolvers value for the Subnet delegation - have an error for Subnet resource: message: 'apply failed: creating Subnet: (Name "examplesubnet" / Virtual Network Name "examplevn" / Resource Group "rgresolveroutboundendpoint"): network.SubnetsClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="InvalidServiceNameOnDelegation" Message="The service name Microsoft.Network/managedResolvers specified on delegation /subscriptions/038f2b7c-3265-43b8-8624-c9ad5da610a8/resourceGroups/rgresolveroutboundendpoint/providers/Microsoft.Network/virtualNetworks/examplevn/subnets/examplesubnet/delegations/Microsoft.Network.dnsResolvers is not valid. Valid value(s) are: Microsoft.Network/fpgaNetworkInterfaces,Microsoft.Web/serverFarms,Microsoft.ContainerInstance/containerGroups,Microsoft.Netapp/volumes,Microsoft.HardwareSecurityModules/dedicatedHSMs,Microsoft.ServiceFabricMesh/networks,Microsoft.Logic/integrationServiceEnvironments,Microsoft.Batch/batchAccounts,Microsoft.Sql/managedInstances,Microsoft.Web/hostingEnvironments,Microsoft.BareMetal/CrayServers,Microsoft.BareMetal/MonitoringServers,Microsoft.Databricks/workspaces,Microsoft.BareMetal/AzureHostedService,Microsoft.BareMetal/AzureVMware,Microsoft.BareMetal/AzureHPC,Microsoft.BareMetal/AzurePaymentHSM,Microsoft.StreamAnalytics/streamingJobs,Microsoft.DBforPostgreSQL/serversv2,Microsoft.AzureCosmosDB/clusters,Microsoft.MachineLearningServices/workspaces,Microsoft.DBforPostgreSQL/singleServers,Microsoft.DBforPostgreSQL/flexibleServers,Microsoft.DBforMySQL/serversv2,Microsoft.DBforMySQL/flexibleServers,Microsoft.ApiManagement/service,Microsoft.Synapse/workspaces,Microsoft.PowerPlatform/vnetaccesslinks,Microsoft.Network/dnsResolvers,Microsoft.Kusto/clusters,Microsoft.DelegatedNetwork/controller,Microsoft.ContainerService/managedClusters,Microsoft.PowerPlatform/enterprisePolicies,Microsoft.Network/virtualNetworkGateways,Microsoft.StoragePool/diskPools,Microsoft.DocumentDB/cassandraClusters,Microsoft.Apollo/npu,Microsoft.AVS/PrivateClouds,Microsoft.Orbital/orbitalGateways,Microsoft.Singularity/accounts/jobs,Microsoft.Singularity/accounts/models,Microsoft.Singularity/accounts/networks,Microsoft.Singularity/accounts/npu,Microsoft.AISupercomputer/accounts/jobs,Microsoft.AISupercomputer/accounts/models,Microsoft.AISupercomputer/accounts/npu,Microsoft.ContainerService/TestClients,Microsoft.LabServices/labplans,Microsoft.Fidalgo/networkSettings,Microsoft.DevCenter/networkConnection,NGINX.NGINXPLUS/nginxDeployments,Microsoft.CloudTest/pools,Microsoft.CloudTest/hostedpools,Microsoft.CloudTest/images,Microsoft.Codespaces/plans,PaloAltoNetworks.Cloudngfw/firewalls,Qumulo.Storage/fileSystems,Microsoft.App/testClients,Microsoft.App/environments,Microsoft.ServiceNetworking/trafficControllers."

  2. Use any f valid values for example Microsoft.ApiManagement/service - root resource PrivateDNSResolverOutboundEndpoint will have an error: message: |- apply failed: creating Outbound Endpoint (Subscription: "038f2b7c-3265-43b8-8624-c9ad5da610a8" Resource Group Name: "rgresolveroutboundendpoint" Dns Resolver Name: "example" Outbound Endpoint Name: "example"): polling after CreateOrUpdate: Code="BadRequest" Message="The specified subnet /subscriptions/038f2b7c-3265-43b8-8624-c9ad5da610a8/resourceGroups/rgresolveroutboundendpoint/providers/Microsoft.Network/virtualNetworks/examplevn/subnets/examplesubnet could not be used to provision the outbound endpoint. Please make sure you use a subnet of at least /28 and at most /24 size, which is not currently in use by any other DNS resolver endpoint or any other Azure service workloads, and does not collide with the reserved subnet spaces of '10.0.1.0/24;10.0.2.0/24;10.0.3.0/24;10.0.4.0/24;10.0.5.0/24;10.0.6.0/24;10.0.7.0/24;10.0.8.0/24;10.0.9.0/24;10.0.10.0/24;10.0.11.0/24;10.0.12.0/24;10.0.13.0/24;10.0.14.0/24;10.0.15.0/24;10.0.16.0/24'.": creating Outbound Endpoint (Subscription: "038f2b7c-3265-43b8-8624-c9ad5da610a8" Resource Group Name: "rgresolveroutboundendpoint" Dns Resolver Name: "example" Outbound Endpoint Name: "example"): polling after CreateOrUpdate: Code="BadRequest" Message="The specified subnet /subscriptions/038f2b7c-3265-43b8-8624-c9ad5da610a8/resourceGroups/rgresolveroutboundendpoint/providers/Microsoft.Network/virtualNetworks/examplevn/subnets/examplesubnet could not be used to provision the outbound endpoint. Please make sure you use a subnet of at least /28 and at most /24 size, which is not currently in use by any other DNS resolver endpoint or any other Azure service workloads, and does not collide with the reserved subnet spaces of '10.0.1.0/24;10.0.2.0/24;10.0.3.0/24;10.0.4.0/24;10.0.5.0/24;10.0.6.0/24;10.0.7.0/24;10.0.8.0/24;10.0.9.0/24;10.0.10.0/24;10.0.11.0/24;10.0.12.0/24;10.0.13.0/24;10.0.14.0/24;10.0.15.0/24;10.0.16.0/24'."

  3. Also will attach error for described in the documentation Subnet delegation value Microsoft.Network/dnsResolvers(and the same error will be appeared for the Subnet resource id we will not specify value for the Subnet delegation)

    • lastTransitionTime: "2023-02-09T15:45:16Z" message: 'observe failed: cannot run refresh: refresh failed: expected delegation.0.service_delegation.0.name to be one of [Microsoft.ApiManagement/service Microsoft.AzureCosmosDB/clusters Microsoft.BareMetal/AzureVMware Microsoft.BareMetal/CrayServers Microsoft.Batch/batchAccounts Microsoft.ContainerInstance/containerGroups Microsoft.ContainerService/managedClusters Microsoft.Databricks/workspaces Microsoft.DBforMySQL/flexibleServers Microsoft.DBforMySQL/serversv2 Microsoft.DBforPostgreSQL/flexibleServers Microsoft.DBforPostgreSQL/serversv2 Microsoft.DBforPostgreSQL/singleServers Microsoft.HardwareSecurityModules/dedicatedHSMs Microsoft.Kusto/clusters Microsoft.Logic/integrationServiceEnvironments Microsoft.MachineLearningServices/workspaces Microsoft.Netapp/volumes Microsoft.Network/managedResolvers Microsoft.PowerPlatform/vnetaccesslinks Microsoft.ServiceFabricMesh/networks Microsoft.Sql/managedInstances Microsoft.Sql/servers Microsoft.StoragePool/diskPools Microsoft.StreamAnalytics/streamingJobs Microsoft.Synapse/workspaces Microsoft.Web/hostingEnvironments Microsoft.Web/serverFarms], got Microsoft.Network/dnsResolvers: ' reason: ReconcileError
github-actions[bot] commented 6 months ago

This provider repo does not have enough maintainers to address every issue. Since there has been no activity in the last 90 days it is now marked as stale. It will be closed in 14 days if no further activity occurs. Leaving a comment starting with /fresh will mark this issue as not stale.

github-actions[bot] commented 5 months ago

This issue is being closed since there has been no activity for 14 days since marking it as stale. If you still need help, feel free to comment or reopen the issue!