Authenticating to model on shared controller
Tim Van Steenburgh
tim.van.steenburgh at canonical.com
Fri Nov 4 16:51:13 UTC 2016
If I `juju register` a shared controller and add a model to it, how does
the juju client authenticate to that model, since AFAICT there is no
password locally? I'm asking b/c I need to be able to make other clients
(python) work for this case. For the heck of it I tried with a blank
password but got the (unexpected?) error below:
2016-11-04 12:07:42 [DEBUG] jujuclient.connector: Connecting to wss://
162.213.33.28:443/model/5ce2c723-7db5-4ed7-801c-210250f244dc/api
2016-11-04 12:07:43 [DEBUG] jujuclient.rpc: rpc request:
{
"request": "Login",
"type": "Admin",
"params": {
"credentials": "",
"auth-tag": "user-tvansteenburgh at external"
},
"version": 3,
"request-id": 1
}
2016-11-04 12:07:43 [DEBUG] jujuclient.rpc: rpc response:
{
"request-id": 1,
"response": {},
"error": "redirection required",
"error-code": "redirection required"
}
TIA,
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20161104/61a7e7a1/attachment.html>
More information about the Juju
mailing list