Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've managed to deploy juju-gui in my saucy server via maas+juju.

But no matter what I try I cannot log in.

I did:

juju set juju-gui password='qwerty'

and I even set the user. But I cannot access.

# juju show-log

Shows error on login.

First.

How can I set the admin-secret is supposed to be used as password.

Second.

If I override the options with the commands above. Why can't I log in?

Thank you.

Note: This is what it says log:

jb4ja:2013-11-23 13:29:48 DEBUG juju.rpc.jsoncodec codec.go:107 <- {"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"qwerty"},"RequestId":1}
jb4ja:2013-11-23 13:29:48 DEBUG juju.rpc.jsoncodec codec.go:172 -> {"RequestId":1,"Error":"invalid entity name or password","ErrorCode":"unauthorized access","Response":{}}
jb4ja:2013-11-23 13:29:53 DEBUG juju.rpc.jsoncodec codec.go:107 <- {"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"qwerty"},"RequestId":2}
jb4ja:2013-11-23 13:29:53 DEBUG juju.rpc.jsoncodec codec.go:172 -> {"RequestId":2,"Error":"invalid entity name or password","ErrorCode":"unauthorized access","Response":{}}
share|improve this question

1 Answer 1

The admin-secret for the environment is in your ~/.juju/environments.yaml file. This is the password used for the Juju GUI

share|improve this answer
    
Yes! In the local section and in the maas section. admin-secret: 'qwerty' –  Gonzalo Aguilar Delgado Nov 24 '13 at 10:59
    
And I entered into the configuration of pro of the system and I can see the password set (when I put it by hand with set, because it does not take my environments.yaml password). What's the way to set the hash in the environments.yaml? –  Gonzalo Aguilar Delgado Nov 24 '13 at 11:23
    
But I forgot to say that's in another machine. So The machine that has the gui app, will not have anything in ~/.juju/environments.yaml Is that right? –  Gonzalo Aguilar Delgado Nov 28 '13 at 19:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.