the client is not authorized to request an authorization

Latest response

Hi Guys,

I have installed RHEV-M 4.1 successfully. but I got a problem when i am trying to login:
the client is not authorized to request an authorization
i have tried :

https://hostname/ovirt-engine

https://IP-add/ovirt-engine.

I have done the following solutions but it does not work.
add hostname in : nano /etc/sysconfig/network

add hostname in: Nano /etc/hosts
ip address hostname

hostnamectl set-hostname name

Please advise
Thanks in advance.

Responses

Check ovirt-engine service is running. Please provide more information on the error.

Hi Sam,

Thanks for your reply.

It was a fresh installation for Both a RHEL OS, then i have followed the steps to install RHEV-M, and it was successful.

But when i am trying to login. i got the mentioned problem above.

I think the problem from a hostname, becoz I have changed it after install RHEL.

Thanks

Did you also update the hostname in ovirt-engine?

Take a look at this article. Renaming the Manager with the Ovirt Engine Rename Tool

echo 'SSO_ALTERNATE_ENGINE_FQDNS = "rhevm.domain.com"' > /etc/ovirt-engine/engine.conf.d/99-alternate-engine-fqdns.conf && systemctl restart ovirt-engine

can u pls try below steps on the server and instead of using IP on the client use https://rhevm.example.com/ovirt-engine

[root@rhevm ~]# cat /etc/httpd/conf.d/ovirt-engine-root-redirect.conf

RedirectMatch ^/$ /ovirt-engine/

RewriteCond %{HTTP_HOST} !^ovirt-engine.example.com$ [NC,OR] RewriteRule ^ovirt-engine/(.*) https://rhevm.example.com/ovirt-engine/$1 [L,R] [root@rhevm ~]# cat /etc/ovirt-engine/engine.conf.d/99-custom-sso-setup.conf SSO_ALTERNATE_ENGINE_FQDNS="rhevm.example.com" [root@rhevm ~]# hostname rhevm.local

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.