Hi,
We have a model with 0 machine in it (openstack provider), in the "destroying" status. It's using an openstack tenant that has been removed, and apparently this is what prevents the model destruction (this log comes up often) :
2017-10-11 19:45:42 ERROR juju.worker.dependency engine.go:546 "undertaker" manifold worker returned unexpected error: destroying instances: failed to get list of server details
caused by: authentication failed
caused by: Unauthorised URL http://<IP>:5000/v2.0/tokens
caused by: request (http://<IP>:5000/v2.0/tokens) returned unexpected status: 401; error info: Failed: 401 error: The request you have made requires authentication.
I had to tcpdump to find the tenant used, and search in the DB which model was using that tenant - it would be nice to have this info (model UUID, and openstack tenant) in the error message (see bug 1690004).
How can we get this model to be removed ?
This is juju 2.2.4 (but perhaps the deletion happened with another version).
Thanks
@Junien Fridrick (axino),
Please try to update model credentials to a valid one using 'update-credential' command.
I am hoping the update will proceed irrespective of a model status, well, at least 'destroying' != 'dead'.
We will try to address this scenario in the future cloud credential work. At lest, I agree, the error message could be more helpful.
Also, the bug you've linked to in the description goes to "driver for epson c59" :) I am pretty sure it's not related...