You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jimmctl responds with an error when trying to authenticate to the existing controller (jimm-k8s):
$ juju login -u <email> -c jimm-k8s
ERROR cannot log into controller "jimm-k8s": JIMM does not support login from old clients (not supported)
If there is an active session (just authenticated), it is still possible to operate jimm-k8s controller after having this error.
$ juju models
Controller: jimm-k8s
Model Cloud/Region Type Status Access Last connection
...
But it looks like when the token expired, executing mentioned juju login command leads to inability to work with the controller. In case of stale session:
$ juju login -u <email> -c jimm-k8s
ERROR cannot log into controller "jimm-k8s": JIMM does not support login from old clients (not supported)
$ juju models
ERROR account details for controller jimm-k8s not found
$ juju status
ERROR current model for controller jimm-k8s not found
hi @pik4ez-canonical, thank you for the report.
I've looked into it, and it's an issue in the juju login command. It doesn't try the OAuth flow when the domain is not specified. So for now, always use the controller domain juju login <controller-domain> -c <controller>.
We have discussed the issue with the Juju team, and I'll update this issue if we find a solution.
Also, don't use the -u flag, because your email will be extracted from the oauth flow, so there is no need to specify it.
Let me know if you need anything else.
Jimmctl responds with an error when trying to authenticate to the existing controller (
jimm-k8s
):If there is an active session (just authenticated), it is still possible to operate
jimm-k8s
controller after having this error.But it looks like when the token expired, executing mentioned
juju login
command leads to inability to work with the controller. In case of stale session:As a work around:
Juju client: 3.5.4-genericlinux-amd64.
JIMM charm: 3/edge.
Juju login command debug output:
The text was updated successfully, but these errors were encountered: