Hi:


Thank you very much for your help. I did it your way, successful build RPM and 
installed successfully, these steps were smooth, but I click on the web Page or 
"404 - Page not found".


I'm not quite sure where the problem is, is there a problem with the 
environment or the configuration file is wrong, the source code compilation 
process is done according to the process of the official website, nothing else 
has been changed


I query the log and the file, not found the wrong where, I now put some of my 
side of the situation to post the picture, You can help me to see what went 
wrong when you are free。




"
[root@ovirttest ~]# cat /etc/ovirt-engine/engine.conf.d/50-ovirt-web-ui.conf
ENGINE_APPS="${ENGINE_APPS} ovirt-web-ui.war"
# ovirt-web-ui auth sequence
ENGINE_SSO_AUTH_SEQUENCE_webui=~


[root@ovirttest ~]# cd 
/home/pan/ovirt-engine/share/ovirt-engine/ovirt-web-ui.war/
[root@ovirttest ovirt-web-ui.war]# ls
authorizedRedirect.jsp  index.jsp  ovirt-web-ui.config  ovirt-web-ui.war  
static  WEB-INF
"


Do I need to configure these files?


Thank you very much.




At 2018-01-04 23:57:00, "Jakub Niedermertl" <jnied...@redhat.com> wrote:

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 <pym0...@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.




 


_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to