Ganeti web manager displays "Error: 401"

32 views
Skip to first unread message

Pavel Műller

unread,
Apr 1, 2016, 7:01:39 AM4/1/16
to ganeti-webmgr
Hello,

I successfully installed and initiated ganeti cluster. But when I log in web manager, so I see the red ribbon with message "Error: 401". I found the following link:

There is mentioned, that this problem is caused by missing password in /var/lib/ganeti/rapi/users. I added the login name with password and shutted down web manager and restarted ganeti:
systemctl restart ganeti
and finally started web manager again.

But the error message is still there. Do you have any idea how to fix the problem?  

Kennric

unread,
Apr 12, 2016, 5:29:02 PM4/12/16
to ganeti...@googlegroups.com
Hello, I apologize for taking so long to respond, I missed this email
initially.

I am not sure where your problem is, 401 is definitely an authorization
error, and if the username/password in /var/lib/ganeti/rapi/users
matches what you have entered into GWM's cluster name and password, I am
not sure where else the issue could be.

I'll poke around and see if I can spot any obvious reasons for this, but
I am not able to replicate it so far.

Thanks,
Ken

On 04/01/2016 04:01 AM, Pavel Műller wrote:
> Hello,
>
> I successfully installed and initiated ganeti cluster. But when I log in
> web manager, so I see the red ribbon with message "Error: 401". I found
> the following link:
> http://docs.ganeti.org/ganeti/current/html/rapi.html#users-and-passwords
>
> There is mentioned, that this problem is caused by missing password
> in */var/lib/ganeti/rapi/users*. I added the login name with password
> and shutted down web manager and restarted ganeti:
> systemctl restart ganeti
> and finally started web manager again.
>
> But the error message is still there. Do you have any idea how to fix
> the problem?
>
> --
> You received this message because you are subscribed to the Google
> Groups "ganeti-webmgr" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ganeti-webmg...@googlegroups.com
> <mailto:ganeti-webmg...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages