Juju suspends models when it tries to release a locked machine in MAAS
Bug #1979512 reported by
Junien F
This bug report is a duplicate of:
Bug #1952792: attempting to delete locked maas node results in juju marking valid cloud credentials as invalid.
Edit
Remove
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
controller (34d97798-
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.