oracle / weblogic-azure

This project offers support for running Oracle WebLogic Server in the Azure Virtual Machines and Azure Kubernetes Service (AKS)
Universal Permissive License v1.0
8 stars 19 forks source link

Bugfix wrong applicationGateways api version #285

Closed backwind1233 closed 8 months ago

backwind1233 commented 8 months ago

Context

While performing end-to-end testing of the WLS VM Configured Cluster offer, Reza ran into a deployment failure:

Click to toggle contents of `error log` ``` { "code": "DeploymentFailed", "target": "/subscriptions/53e6f1aa-20f5-43ec-bb86-cb8287fd0d42/resourceGroups/wls-cluster-test-rg/providers/Microsoft.Resources/deployments/keyVaultLinkedAppGatewayTemplate", "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see [https://aka.ms/arm-deployment-operations for usage details."](https://aka.ms/arm-deployment-operations%c2%a0for%c2%a0usage%c2%a0details.%22), "details": [ { "code": "ResourceDeploymentFailure", "target": "/subscriptions/53e6f1aa-20f5-43ec-bb86-cb8287fd0d42/resourceGroups/wls-cluster-test-rg/providers/Microsoft.Resources/deployments/appGatewaywithSelfSignedSSLCertTemplate", "message": "The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.", "details": [ { "code": "DeploymentFailed", "target": "/subscriptions/53e6f1aa-20f5-43ec-bb86-cb8287fd0d42/resourceGroups/wls-cluster-test-rg/providers/Microsoft.Resources/deployments/appGatewaywithSelfSignedSSLCertTemplate", "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see [https://aka.ms/arm-deployment-operations for usage details."](https://aka.ms/arm-deployment-operations%c2%a0for%c2%a0usage%c2%a0details.%22), "details": [ { "code": "NoRegisteredProviderFound", "message": "No registered resource provider found for location 'eastus' and API version '2023-07-01' for type 'applicationGateways'. The supported api-versions are '2014-12-01-preview, 2015-05-01-preview, 2015-06-15, 2016-03-30, 2016-06-01, 2016-07-01, 2016-08-01, 2016-09-01, 2016-10-01, 2016-11-01, 2016-12-01, 2017-03-01, 2017-04-01, 2017-06-01, 2017-08-01, 2017-09-01, 2017-10-01, 2017-11-01, 2018-01-01, 2018-02-01, 2018-03-01, 2018-04-01, 2018-05-01, 2018-06-01, 2018-07-01, 2018-08-01, 2018-10-01, 2018-11-01, 2018-12-01, 2019-02-01, 2019-04-01, 2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-01-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-01-01, 2021-02-01, 2021-03-01, 2021-04-01, 2021-05-01, 2021-06-01, 2021-08-01, 2021-12-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01'. The supported locations are 'westus, eastus, northeurope, westeurope, eastasia, southeastasia, northcentralus, southcentralus, centralus, eastus2, japaneast, japanwest, brazilsouth, australiaeast, australiasoutheast, centralindia, southindia, westindia, canadacentral, canadaeast, westcentralus, westus2, ukwest, uksouth, koreacentral, koreasouth, francecentral, australiacentral, southafricanorth, uaenorth, switzerlandnorth, germanywestcentral, norwayeast, westus3, jioindiawest, swedencentral, qatarcentral, polandcentral, italynorth, israelcentral'." } ] } ] } ] } ```

RCA

Content

  1. Fix the wrong applicationGateways api version.

    • image
  2. Fix typo: azure.apiVersionForIndentity --> azure.apiVersionForIdentity.

  3. Go through all apiversions in azure-common.properties to make sure the versions are referenced correctly.

Test Results

✅ Test passed with preview offer.