I’ve got a model on Azure with custom permissions (using the Service Provider method with juju). When creating models, or deploying bundles juju is able to do it’s job fine, but after a little while the models will go into the “suspended since cloud credential is not valid”. After that, any subsqeuent models are then also unable to do anything. See below:
Model Controller Cloud/Region Version SLA Timestamp Notes custom-rg-net azure-controller azure/westeurope 2.9-rc5 unsupported 10:54:37Z suspended since cloud credential is not valid Model "admin/custom-rg-net" is empty.
I have a suspicion that there could be a missing permission on my service pricipal (I have added the permissions from the docs). I just need some guidance on a few points validating/invalidating this:
- Is there somewhere where the invalidation reason is logged? If so where? Checking controller logs was not so successful
- If not, how can I enable logging? I can see some logs in the code, but not entirely sure how to enable this
- Could someone point me towards the go file which has the logic for Azure? I was trying to find it but wasn’t so successful
If I could get some help on these points that would be greatly appreciated!
My current workaround is to destroy the controller and recreate it, but obvoiusly that’s not optimal