Comment 3 for bug 1977858

Revision history for this message
Ian Booth (wallyworld) wrote :

I ran up a quick test, looks like there's an Azure API versioning issue and it's not accepting the delete requests

ERROR juju.worker.dependency "undertaker" manifold worker returned unexpected error: cannot destroy cloud resources: deleting resources: error deleting resource "/subscriptions/2eebf55a-1e02-45d8-a299-02aed8aea00b/resourceGroups/Test/providers/Microsoft.Network/networkSecurityGroups/juju-internal-nsg": &errors.unformatter{message:"deleting resource \"/subscriptions/2eebf55a-1e02-45d8-a299-02aed8aea00b/resourceGroups/Test/providers/Microsoft.Network/networkSecurityGroups/juju-internal-nsg\": resources.Client#DeleteByID: Failure sending request: StatusCode=400 -- Original Error: Code=\"NoRegisteredProviderFound\" Message=\"No registered resource provider found for location 'australiasoutheast' and API version '2021-11-01' for type 'networkSecurityGroups'. 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'. 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'.\"", cause:autorest.DetailedError{Original:(*azure.ServiceError)(0xc003749e00), PackageType:"resources.Client", Method:"DeleteByID", StatusCode:400, Message:"Failure sending request", ServiceError:[]uint8(nil), Response:(*http.Response)(0xc0037586c0)}, previous:autorest.DetailedError{Original:(*azure.ServiceError)(0xc003749e00), PackageType:"resources.Client", Method:"DeleteByID", StatusCode:400, Message:"Failure sending request", ServiceError:[]uint8(nil), Response:(*http.Response)(0xc0037586c0)}, file:"/home/ian/juju/go/src/juju/juju/provider/azure/environ.go", line:2204}