[Users] can't access web interface with nightly
Vojtech Szocs
vszocs at redhat.com
Fri Jun 21 07:46:08 EDT 2013
----- Original Message -----
> From: "Sandro Bonazzola" <sbonazzo at redhat.com>
> To: "users" <users at ovirt.org>
> Sent: Friday, June 21, 2013 11:31:08 AM
> Subject: [Users] can't access web interface with nightly
>
> Hi,
> I was testing latest nightly and I've seen the following issues:
>
> ovirt logs shows multiple:
> bundles/VdsmErrors could not be loaded: java.util.MissingResourceException:
> Can't find bundle for base name bundles/VdsmErrors, locale en_US
I have this too, it comes from org.ovirt.engine.core.utils.ErrorTranslatorImpl but not sure why.
>
> apache logs shows:
> /webadmin/webadmin/webadmin.nocache.js HTTP/1.1" 404
> /UserPortal/org.ovirt.engine.ui.userportal.UserPortal/org.ovirt.engine.ui.userportal.UserPortal.nocache.js
> HTTP/1.1" 404
*.nocache.js = GWT permutation selector script, i.e. script responsible for loading correct JavaScript for given browser & locale.
Missing *.nocache.js typically means WebAdmin/UserPortal GWT compilation wasn't enabled for the build, since this file is generated during GWT compilation.
Please check deployment of this file in JBoss, i.e. $JBOSS_HOME/standalone/deployments/engine.ear/webadmin.war/webadmin/webadmin.nocache.js
If ^^ is missing, WebAdmin GWT compilation wasn't enabled for the build. You need to enable it in order to use WebAdmin:
$ make install-dev PREFIX="${HOME}/ovirt-engine" BUILD_GWT=1 BUILD_GWT_USERPORTAL=1 BUILD_GWT_WEBADMIN=1
(In Makefile, BUILD_GWT=1 & BUILD_GWT_USERPORTAL=1 & BUILD_GWT_WEBADMIN=1 is actually the default setting.)
>
> The admin page https://192.168.3.203/webadmin/webadmin/WebAdmin.html source
> is:
> <!DOCTYPE html> < html > < head > < meta http-equiv =" Content-Type " content
> =" text/html; charset=UTF-8 "> < meta http-equiv =" X-UA-Compatible "
> content =" IE=edge "> < meta name =" gwt:property " content =" locale=es_ES
> "> < link rel =" stylesheet " type =" text/css " href ="
> /webadmin/theme/00-ovirt.brand/ovirt_web_admin.css "> < script type ="
> text/javascript "> var applicationMode = {"value":"255"}; var
> pluginDefinitions = []; var messages =
> {"main_header_label":"","copy_right_notice":"","doc":"Documentación de
> administración de la red ENGINE","version_about":"Versión de la máquina
> oVirt:","login_header_label":"Administrador de virtualización
> abierto","application_title":"Administración de la red de máquinas oVirt"};
> </ script > </ head > < body > < script type =" text/javascript " src ="
> webadmin.nocache.js "> </ script > </ body > </ html >
>
>
> The CSS file exists, the webadmin.nocache.js link lead to 404 page
ovirt_web_admin.css (branding CSS) is served from local filesystem regardless of GWT compilation, i.e. /etc/ovirt-engine/branding/00-ovirt.brand/ovirt_web_admin.css
>
>
> user portal doesn't work either.
Because of missing *.nocache.js as mentioned above.
>
> --
> Sandro Bonazzola
> Better technology. Faster innovation. Powered by community collaboration.
> See how it works at redhat.com
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
More information about the Users
mailing list