Comment 0 for bug 1804401

Revision history for this message
Ondrej Kuchar (ondrej-kuchar) wrote :

we're creating juju users and trying to operate with those instead of super-admin user.
Problem is when juju runs in HA it is asking for password for every controller

for example when I run same command, without providing password (pressing Ctrl+c)
kucharo@ic-skbrat2-infra1:~$ juju show-user -c foundations-maas
please enter password for kucharo on foundations-maas:
kucharo@ic-skbrat2-infra1:~$ juju show-user -c foundations-maas kucharo
please enter password for kucharo on foundations-maas:
kucharo@ic-skbrat2-infra1:~$ juju show-user -c foundations-maas kucharo
please enter password for kucharo on foundations-maas:
kucharo@ic-skbrat2-infra1:~$ juju show-user -c foundations-maas kucharo
please enter password for kucharo on foundations-maas:
kucharo@ic-skbrat2-infra1:~$ juju show-user -c foundations-maas kucharo
please enter password for kucharo on foundations-maas:
kucharo@ic-skbrat2-infra1:~$ juju show-user -c foundations-maas kucharo
user-name: kucharo
access: login
date-created: 2018-11-12
last-connection: just now

with --debug is visible that one controller is logged in
https://pastebin.ubuntu.com/p/BKZ6myGpm5/

juju controllers:
https://pastebin.ubuntu.com/p/HJRy74jFKs/

juju show-model:
https://pastebin.ubuntu.com/p/fGn66cF9nf/

I'd say juju should share state of user authentication between controllers in HA mode