Juju 2.2.4, Azure provider
When I destroy the resources for a model through the Azure console, Juju fails to clean up the model when I try to destroy it.
This issue was originally reported by a JAAS user. I am able to reproduce the same problem on a standalone Juju controller bootstrapped in Azure.
Steps to reproduce:
1. Bootstrap a controller in Azure
2. juju add-model deleteme
3. Deploy a bundle like canonical-kubernetes. Let it get all deployed.
4. Go into the Microsoft Azure console, and delete all resources in the resource group for that model. If the model was named 'deleteme', delete all the resources prefixed with 'juju-deleteme-model-'. You'll possibly have to do this many times, because some resources can't be deleted while others exist. Eventually though, if you just keep deleting, you'll get rid of all of them.
5. Try to `juju destroy-model deleteme -y`. The machines never clean up.
Controller logs