We have deployed ovirt-engine on rocky9.4, "engine-setup" runs all green and 
said it completed successfully.
But when we visit https://ovirtmu.pi.sjtu.edu.cn/ovirt-engine/webadmin, UI 
report the error as:
```
2024-07-03 15:45:58,692+08 ERROR 
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default 
task-3) [] Uncaught exception: com.google.gwt.event.shared.UmbrellaException: 
Exception caught: (SecurityError) : Failed to read a named property 'kCb' from 
'Window': Blocked a frame with origin "https://ovirtmu.pi.sjtu.edu.cn"; from 
accessing a cross-origin frame.
        at java.lang.Throwable.Throwable(Throwable.java:72)
        at java.lang.RuntimeException.RuntimeException(RuntimeException.java:32)
        at 
com.google.web.bindery.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:64)
        at Unknown.new t8(webadmin-0.js)
        at com.google.gwt.event.shared.EventBus.$castFireEvent(EventBus.java:65)
        at 
org.ovirt.engine.ui.webadmin.system.MessageReceivedEvent.fire(MessageReceivedEvent.java:21)
        at 
org.ovirt.engine.ui.webadmin.system.PostMessageDispatcher.onMessage(PostMessageDispatcher.java:27)
        at Unknown.c(webadmin-0.js)
Caused by: com.google.gwt.core.client.JavaScriptException: (SecurityError) : 
Failed to read a named property 'kCb' from 'Window': Blocked a frame with 
origin "https://ovirtmu.pi.sjtu.edu.cn"; from accessing a cross-origin frame.
        at com.google.gwt.lang.Cast.instanceOfJso(Cast.java:211)
        at 
org.ovirt.engine.ui.webadmin.plugin.jsni.JsArrayHelper.createMixedArray(JsArrayHelper.java:36)
        at 
org.ovirt.engine.ui.webadmin.plugin.PluginEventHandler.lambda$16(PluginEventHandler.java:105)
        at 
org.ovirt.engine.ui.webadmin.system.MessageReceivedEvent.$dispatch(MessageReceivedEvent.java:50)
        at 
org.ovirt.engine.ui.webadmin.system.MessageReceivedEvent.dispatch(MessageReceivedEvent.java:50)
        at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:76)
        at 
com.google.web.bindery.event.shared.SimpleEventBus.$doFire(SimpleEventBus.java:173)
        ... 4 more
```

Version of ovirt-engine is ovirt-engine-4.5.6-1.el9.noarch, and the setup 
options are:
          --== CONFIGURATION PREVIEW ==--

          Application mode                        : both
          Default SAN wipe after delete           : False
          Host FQDN                               : ovirtmu.pi.sjtu.edu.cn
          Firewall manager                        : firewalld
          Update Firewall                         : True
          Set up Cinderlib integration            : False
          Configure local Engine database         : True
          Set application as default page         : True
          Configure Apache SSL                    : True
          Keycloak installation                   : True
          Engine database host                    : localhost
          Engine database port                    : 5432
          Engine database secured connection      : False
          Engine database host name validation    : False
          Engine database name                    : engine
          Engine database user name               : engine
          Engine installation                     : True
          PKI organization                        : pi.sjtu.edu.cn
          Set up ovirt-provider-ovn               : True
          DWH installation                        : True
          DWH database host                       : localhost
          DWH database port                       : 5432
          Configure local DWH database            : True
          Grafana integration                     : False
          Keycloak database host                  : localhost
          Keycloak database port                  : 5432
          Keycloak database secured connection    : False
          Keycloak database host name validation  : False
          Keycloak database name                  : ovirt_engine_keycloak
          Keycloak database user name             : ovirt_engine_keycloak
          Configure local Keycloak database       : True
          Configure VMConsole Proxy               : True
          Configure WebSocket Proxy               : True


Can anyone provide some suggestions on positioning the problem?
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/KB2QAA6RZBTVHEJTOLI4UXCQ5F4V7XHG/

Reply via email to