I am running juju version 2.7.6-bionic-amd64 with a with a controller at version 2.75 where I have done the “juju set-credential” and then a juju update-credential cloud credential", but one vm fails to update. I get the following error output:
juju update-credential myvscloud bidwell This operation can be applied to both a copy on this client and to the one on a controller. Do you want to update credential “bidwell” on cloud “myvscloud” on: 1. client only (–client) 2. controller “myvscontroller” only (–controller myvscontroller) 3. both (–client --controller myvscontroller) Enter your choice, or type Q|q to quit: 2 Credential valid for: mariadbs meu wordpress controller ssvpns Credential invalid for: default: couldn’t find instance “juju-b6e4b2-7” for machine 7 WARNING Controller credential “bidwell” for user “admin” for cloud “myvscloud” on controller “myvscontroller” not updated: some models are no longer visible. Failed models may require a different credential. Use ‘juju set-credential’ to change credential for these models before repeating this update.
How do I update the credentials on this one failed instance?
Originally posted here: