Hi Pym,

to deploy VM Portal (ovirt-web-ui) next to the engine one needs to compile it from sources to rpm package [1], and install it next to ovirt-engine package. Container deployment is not used by default.

Technically ovirt-web-ui is another war application served by engine's Wildfly.
See symlink /usr/share/ovirt-engine/ovirt-web-ui.war and configuration file /etc/ovirt-engine/engine.conf.d/50-ovirt-web-ui.conf of package ovirt-web-ui [2] for details.

Best regards
Jakub

[1]: https://github.com/oVirt/ovirt-web-ui#build
[2]: http://resources.ovirt.org/pub/ovirt-4.2/rpm/el7/noarch/

On Thu, Jan 4, 2018 at 10:58 AM, Pym <pym0914@163.com> wrote:
Hi:

I recently built the ovirt-engine service in source code compilation, which is now accessible through the web interface. However, there is no VM Portal feature on the main page. After clicking, "404 - failed to find the page".

Next I found the source code for web- UI functionality at github, and I wanted to install it through source compilation. I tried to follow the above process, but the following problems occurred:

"
[root@ovirttest ovirt-web-ui]#  docker run --rm -it --network host --add-host ovirttest.erc.com:10.100.211.113 -e ENGINE_URL=https://ovirttest.erc.com/ovirt-engine -p 3000:3000 mareklibra/ovirt-web-ui:latest
yarn start v0.24.4
$ node scripts/start.js 
Please authenticate against oVirt running at https://ovirttest.erc.com/ovirt-engine
oVirt user (admin@internal): admin
oVirt password: ******
oVirt domain (internal-authz): ovirttest.erc.com
Failed obtaining oVirt auth token: Error: connect ECONNREFUSED 10.100.211.113:443
Done in 27.64s.
"

How to make sure the container can reach the engine on this ip:port.

Or there are other ways to solve this problem, which has been bothering me for days.

Thank you very much.