[ovirt-users] Unable to login to the WEB UI
Fabrice Bacchella
fabrice.bacchella at icloud.com
Wed Aug 3 15:25:27 UTC 2016
Next step :
The UI says, even with a restarted navigator:
org.codehaus.jackson.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: java.io.StringReader at 74749f78; line: 3, column: 2]
I shift-reload, got a welcome screen, click on "Administration portal". I then got a warning. The vhost for ovirt is "ovirt.mydomain", but I got a redirect to:
https://ovirt.mydomain/ovirt-engine/webadmin/sso/login?&app_url=https%3A%2F%2Fovirt.mydomain%2Fovirt-engine%2Fwebadmin%2F%3Flocale%3Den_US&locale=en_US
that then redirect to:
https://realhost.mydomain:443/ovirt-engine/sso/oauth/authorize?client_id=ovirt-engine-core&response_type=code&redirect_uri=https%3A%2F%2Fovirt.mydomain%3A443%2Fovirt-engine%2Fwebadmin%2Fsso%2Foauth2-callback&scope=ovirt-app-admin+ovirt-app-portal+ovirt-ext%3Dauth%3Asequence-priority%3D%7E&state=5ku3vXkfb10
And it fail with again with still:
org.codehaus.jackson.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: java.io.StringReader at 328a4512; line: 3, column: 2]
Many requests were send to ovirt.mydomain, but just one to realhost.mydomain:443, I don't know why.
I didn't ask for any SSO, I already use my own (CAS), it was working well and the update never ask for activating something new.
> Le 3 août 2016 à 15:09, Martin Perina <mperina at redhat.com> a écrit :
>
> Hi,
> please follow steps as described in BZ:
>
> 1. Create /etc/ovirt-engine/engine.conf.d/99-custom-truststore.conf (you may choose different filename but it has to end with '.conf' suffix) with following content:
>
> ENGINE_HTTPS_PKI_TRUST_STORE="<full path to your java keystore>"
> ENGINE_HTTPS_PKI_TRUST_STORE_PASSWORD="<password to your java keystore>"
>
> 2. Restart the engine
>
> If the above doesn't work please attach server.log/engine.log
>
> Thanks
>
> Martin Perina
More information about the Users
mailing list