[ovirt-users] Problem to login virtengine on remote browser

Stephen Liu satimis at yahoo.com
Thu Nov 9 15:03:44 UTC 2017


 >> if running;
 >> 192.168.8.8 (IP of vm1)
 >> I can connect 'oVirt Open Virtualization Manager' but I can't login with
 >> following warning:
 >>'The client is not authorized to request an authorization. It's required to
 >>access the system using FQDN.'

> Indeed, see the other thread.

> If this isn't enough, please provide more details - the name you provided
> as engine FQDN during engine-setup, whether you fixed name resolution -
> by updating the dns or the hosts file, etc.
Hi,

I solved the problem with following steps:-

# nano /etc/ovirt-engine/engine.conf.d/11-setup-sso.conf
   Change:SSO_ALTERNATE_ENGINE_FQDNS=""
To:
SSO_ALTERNATE_ENGINE_FQDNS="192.168.8.8" (ovirtengine IP)

# systemctl restart ovirt-engine.service
Now I can remote login ovirtengine on Host's browser running:http://ovirtengine.example.com
On ovirtengine$ cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.8.8  ovirtengine.example.com
192.168.8.5  ovirtnode.example.com
[/end]
Now I encounter another problem in "Add oVirt Node (ovirtnode.example) to ovirt engine from Web Administrator Portal", failure to add new host "ovirt node".
To connect/login "ovirt node" on Host I must run;192.168.8.5:9090
Adding 192.168.8.5 to the new host, "ovirt node" can't be connected.  But I'm not allowed adding "192.168.8.5:9090" to Address there.
Please advise is there any solution to delete ":9090"?
Thanks
RegardsSL


    On Thursday, November 9, 2017, 8:34:30 PM GMT+8, Yedidyah Bar David <didi at redhat.com> wrote:  
 
 On Thu, Nov 9, 2017 at 1:57 PM, Stephen Liu <satimis at yahoo.com> wrote:
> Hi all,
>
> Problem to login virtengine on remote browser
> client is not authorized to request an authorization

Please check recent thread on this list, with subject "[ovirt-users]
engine FQDN".

>
> vm1 - ovirtengine on CentOS 7, Gnome desktop (internal IP 192.168.8.8)
> vm2 - ovirt node on CentOS 7, minimal (internal IP 192.168.8.5)
> Host - Ubuntu 16.04 Gnome desktop
> KVM
>
> vm1
> ===
> on Firefox running;
> ovirtengine.example.com
> I can login 'oVirt Open Virtualization Manager'
>
> on Firefox running;
> 192.168.8.5:9090 (ovirt node IP)
> I can login ovirt node as root
>
> Host
> ====
> on Firefox running;
> ovirtengine.example.com
> Server not found
> (Firewall of vm1 already stopped running;
> # systemctl stop firewalld )

"Server not found" is usually unrelated to the firewall, but is a result
of bad/missing name resolution.

>
> if running;
> 192.168.8.8 (IP of vm1)
> I can connect 'oVirt Open Virtualization Manager' but I can't login with
> following warning:
> 'The client is not authorized to request an authorization. It's required to
> access the system using FQDN.'

Indeed, see the other thread.

If this isn't enough, please provide more details - the name you provided
as engine FQDN during engine-setup, whether you fixed name resolution -
by updating the dns or the hosts file, etc.

Regards,

>
> on Firefox running;
> 192.168.8.5:9090  (ovirt node IP)
> I can login ovirt node as root
>
>
> Please help.  Thanks in advice.
>
>
> Regards
> SL
>
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



-- 
Didi
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20171109/289c682c/attachment.html>


More information about the Users mailing list