Comment 8 for bug 1852412

Revision history for this message
Stamatis Katsaounis (skatsaounis) wrote :

Hi Anastasia. I just reproduced the error.

Juju client version: 2.6.10-bionic-amd64
Juju controller version: 2.6.9

Steps:
1) MaaS Machine w367ps is Locked and Deployed
2) Juju machine id for w367ps is 123 and contains only unit xxx/42
3) run command: juju remove-unit xxx/42 -m openstack
4) credentials are becoming invalid after removing unit and failing to release MaaS machine
5) Trying to update the credentials as you mentioned and receiving the following output:

$ juju update-credential <cloud_name> <credentials_name> --controller <controler_name>

Credential valid for:
  kubernetes
Credential invalid for:
  openstack:
    no machine with instance "w367ps"
Controller credential "credentials_name" for user "admin" on cloud "cloud_name" not updated: some models are no longer visible.

Where can I find logs for this failure?