Juju 4 fails to create models on Azure

Bug #2068617 reported by Jack Shaw
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
New
Undecided
Jack Shaw

Bug Description

This recently started occuring in Juju 4

```
$ juju bootstrap azure azure
...
$ juju add-model m
ERROR Failed to perform spaces discovery: GET https://management.azure.com/subscriptions/2eebf55a-1e02-45d8-a299-02aed8aea00b/resourceGroups/juju-m-3cd30c01/providers/Microsoft.Network/virtualNetworks/juju-internal-network/subnets
--------------------------------------------------------------------------------
RESPONSE 404: 404 Not Found
ERROR CODE: ResourceGroupNotFound
--------------------------------------------------------------------------------
{
  "error": {
    "code": "ResourceGroupNotFound",
    "message": "Resource group 'juju-m-3cd30c01' could not be found."
  }
}
--------------------------------------------------------------------------------
```

And afterwards
```
$ juju add-model m
ERROR failed to create model "9596a5bf-9863-4c78-850c-4bc232b6c284": creating initial model "m" with id "9596a5bf-9863-4c78-850c-4bc232b6c284": model already exists for name "m" and owner "30ecfe84-8896-40ed-8ba3-283237f06c35"

$ juju models
Controller: azure

Model Cloud/Region Type Status Machines Cores Units Access Last connection
controller azure/centralus azure available 1 1 1 admin just now
```

Jack Shaw (jack-shaw)
Changed in juju:
milestone: none → 4.0-beta4
description: updated
Changed in juju:
assignee: nobody → Jack Shaw (jack-shaw)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.