On Mon, 27 Feb 2012, Shu Ming wrote:
On 2012-2-27 6:04, Nathan Stratton wrote:
>
> I have been working on building a new ovirt-engine from an old, everything
> looks good, but I can't log in:
>
> 2012-02-26 21:59:39,086 ERROR
> [org.ovirt.engine.core.bll.LoginAdminUserCommand] (http--0.0.0.0-8080-1)
> USER_FAILED_TO_AUTHENTICATE : admin
> 2012-02-26 21:59:39,089 WARN
> [org.ovirt.engine.core.bll.LoginAdminUserCommand] (http--0.0.0.0-8080-1)
> CanDoAction of action LoginAdminUser failed.
> Reasons:USER_FAILED_TO_AUTHENTICATE
>
> I have tried using ovirt-setup again, but that does not help. I also have
> tried: engine-config -l AdminPassword="password"
Have you tried engine-cleanup before engine-setup?
Did not want to do that because I am moving the DB from one box to
another. I ended up just manually putting the password in
/etc/ovirt-engine/engine.conf
-Nathan