[ovirt-users] Unable to add VM Portal successfully
Pym
pym0914 at 163.com
Fri Jan 5 08:59:30 UTC 2018
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 at 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 at ovirttest ~]# cd /home/pan/ovirt-engine/share/ovirt-engine/ovirt-web-ui.war/
[root at 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" <jniederm at 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 <pym0914 at 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 at 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 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180105/5e342acc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 34460 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180105/5e342acc/attachment.png>
More information about the Users
mailing list