Juju suspends models when it tries to release a locked machine in MAAS

Bug #1979512 reported by Junien F
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
New
Undecided
Unassigned

Bug Description

Hi,

Juju 2.9.27, MAAS 2.8.7.

If you remove a machine from a MAAS-provider model, and that machine is locked in MAAS, juju logs the following :

2022-06-21 14:24:11 WARNING juju.state modelcredential.go:53 suspending these models:
controller (34d97798-d49d-4bf7-84ca-5478cff0ca81) - prod-mymodel (4b2b10b9-30a8-48c4-8a92-6cd3f41eb7cd)
 because their credential has become invalid:
cloud denied access: You don't have the required permission to release the following machine(s): 68ab6f.

and suspends the model, even though the credentials are perfectly valid.

Juju should be able to recognize a machine locked in MAAS vs bad credentials, and notify the user appropriately.

Thanks

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.