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@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
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to