Bypassing SSO property on oVirt 4.0

I have upgraded oVirt engine from 3.6 to 4.0, after the upgrade i could not access the webadmin portal, the welcome page displays this message:

The client is not authorized to request an authorization. It's required to access the system using FQDN.

After reading on oVirt 4.04 Release Notes i learned this was due to Single Sign-On using OAUTH2 protocol, ovirt requires me to access the engine with FQDN, unfortunately I'm managing my resources remotely with just one public IP and i don't own any domain name. how do i get around this issue?. If it can be of any help, below is my oVirt engine setup summary

      Default SAN wipe after delete           : False
      Firewall manager                        : firewalld
      Update Firewall                         : True
      Host FQDN                               : ovirt
      Upgrade packages                        : True
      Engine database secured connection      : False
      Engine database host                    : localhost
      Engine database user name               : engine
      Engine database name                    : engine
      Engine database port                    : 5432
      Engine database host name validation    : False
      DWH database secured connection         : False
      DWH database host                       : localhost
      DWH database user name                  : ovirt_engine_history
      DWH database name                       : ovirt_engine_history
      DWH database port                       : 5432
      DWH database host name validation       : False
      Engine installation                     : True
      PKI organization                        : some_organization
      DWH installation                        : True
      Configure local DWH database            : True
      Engine Host FQDN                        : ovirt
      Configure Image I/O Proxy               : True
      Configure VMConsole Proxy               : True
      Configure WebSocket Proxy               : True
1
задан 24 January 2017 в 08:25
2 ответа

Если у вас нет контроля над DNS, вы можете импровизировать, используя локальные файлы / etc / hosts . Грязный хакер, но он должен быть достаточно эффективным, чтобы все заработало

2
ответ дан 3 December 2019 в 17:03

Вы можете указать альтернативное полное доменное имя, просто отредактировав переменную SSO_ALTERNATE_ENGINE_FQDNS в /etc/ovirt-engine/engine.conf.d/11-setup-sso .conf на движке oVirt.

Затем перезапустите демон движка:

# systemctl restart ovirt-engine.service
3
ответ дан 3 December 2019 в 17:03

Теги

Похожие вопросы