[Users] can't access web interface with nightly

This is a multi-part message in MIME format. --------------020805060402060701010102 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit 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 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 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 <view-source:https://192.168.3.203/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 <view-source:https://192.168.3.203/webadmin/webadmin/webadmin.nocache.js>"></script> </body> </html> The CSS file exists, the webadmin.nocache.js <view-source:https://192.168.3.203/webadmin/webadmin/webadmin.nocache.js> link lead to 404 page user portal doesn't work either. -- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com --------------020805060402060701010102 Content-Type: text/html; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15"> </head> <body bgcolor="#FFFFFF" text="#000000"> Hi,<br> I was testing latest nightly and I've seen the following issues:<br> <br> ovirt logs shows multiple:<br> bundles/VdsmErrors could not be loaded: java.util.MissingResourceException: Can't find bundle for base name bundles/VdsmErrors, locale en_US<br> <br> apache logs shows:<br> /webadmin/webadmin/webadmin.nocache.js HTTP/1.1" 404<br> /UserPortal/org.ovirt.engine.ui.userportal.UserPortal/org.ovirt.engine.ui.userportal.UserPortal.nocache.js HTTP/1.1" 404<br> <br> The admin page <a class="moz-txt-link-freetext" href="https://192.168.3.203/webadmin/webadmin/WebAdmin.html">https://192.168.3.203/webadmin/webadmin/WebAdmin.html</a> source is:<br> <pre id="line1"><span class="doctype"><!DOCTYPE html></span><span> <span id="line4"></span></span><span><<span class="start-tag">html</span>></span><span> <span id="line5"></span></span><span><<span class="start-tag">head</span>></span><span> <span id="line6"></span> </span><span><<span class="start-tag">meta</span> <span class="attribute-name">http-equiv</span>="<a class="attribute-value">Content-Type</a>" <span class="attribute-name">content</span>="<a class="attribute-value">text/html; charset=UTF-8</a>"></span><span> <span id="line7"></span> </span><span><<span class="start-tag">meta</span> <span class="attribute-name">http-equiv</span>="<a class="attribute-value">X-UA-Compatible</a>" <span class="attribute-name">content</span>="<a class="attribute-value">IE=edge</a>"></span><span> <span id="line8"></span> </span><span><<span class="start-tag">meta</span> <span class="attribute-name">name</span>="<a class="attribute-value">gwt:property</a>" <span class="attribute-name">content</span>="<a class="attribute-value">locale=es_ES</a>"></span><span> <span id="line9"></span> <span id="line10"></span> <span id="line11"></span> <span id="line12"></span> </span><span><<span class="start-tag">link</span> <span class="attribute-name">rel</span>="<a class="attribute-value">stylesheet</a>" <span class="attribute-name">type</span>="<a class="attribute-value">text/css</a>" <span class="attribute-name">href</span>="<a href="view-source:https://192.168.3.203/webadmin/theme/00-ovirt.brand/ovirt_web_admin.css" class="attribute-value">/webadmin/theme/00-ovirt.brand/ovirt_web_admin.css</a>"></span><span> <span id="line13"></span> <span id="line14"></span> <span id="line15"></span> <span id="line16"></span> </span><span><<span class="start-tag">script</span> <span class="attribute-name">type</span>="<a class="attribute-value">text/javascript</a>"></span><span> <span id="line17"></span> <span id="line18"></span> <span id="line19"></span> var applicationMode = {"value":"255"}; <span id="line20"></span> <span id="line21"></span> <span id="line22"></span> var pluginDefinitions = []; <span id="line23"></span> <span id="line24"></span> <span id="line25"></span> 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"}; <span id="line26"></span> <span id="line27"></span> </span><span></<span class="end-tag">script</span>></span><span> <span id="line28"></span></span><span></<span class="end-tag">head</span>></span><span> <span id="line29"></span></span><span><<span class="start-tag">body</span>></span><span> <span id="line30"></span> </span><span><<span class="start-tag">script</span> <span class="attribute-name">type</span>="<a class="attribute-value">text/javascript</a>" <span class="attribute-name">src</span>="<a href="view-source:https://192.168.3.203/webadmin/webadmin/webadmin.nocache.js" class="attribute-value">webadmin.nocache.js</a>"></span><span></span><span></<span class="end-tag">script</span>></span><span> <span id="line31"></span></span><span></<span class="end-tag">body</span>></span><span> <span id="line32"></span></span><span></<span class="end-tag">html</span>> The CSS file exists, the </span><span><a href="view-source:https://192.168.3.203/webadmin/webadmin/webadmin.nocache.js" class="attribute-value">webadmin.nocache.js</a></span> link lead to 404 page user portal doesn't work either. <span></span></pre> <br> <pre class="moz-signature" cols="72">-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com</pre> </body> </html> --------------020805060402060701010102--

This is a multi-part message in MIME format. --------------040201060707080106070706 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Also I don't understand why the gwt:property locale here is es_ES. Il 21/06/2013 11:31, Sandro Bonazzola ha scritto:
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
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
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 <view-source:https://192.168.3.203/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 <view-source:https://192.168.3.203/webadmin/webadmin/webadmin.nocache.js>"></script> </body> </html>
The CSS file exists, the webadmin.nocache.js <view-source:https://192.168.3.203/webadmin/webadmin/webadmin.nocache.js> link lead to 404 page
user portal doesn't work either.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com --------------040201060707080106070706 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">Also I don't understand why the gwt:property locale here is es_ES.<br> <br> Il 21/06/2013 11:31, Sandro Bonazzola ha scritto:<br> </div> <blockquote cite="mid:51C41D5C.1090905@redhat.com" type="cite"> <pre wrap="">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 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 The admin page <a class="moz-txt-link-freetext" href="https://192.168.3.203/webadmin/webadmin/WebAdmin.html">https://192.168.3.203/webadmin/webadmin/WebAdmin.html</a> 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 <a class="moz-txt-link-rfc2396E" href="view-source:https://192.168.3.203/webadmin/theme/00-ovirt.brand/ovirt_web_admin.css"><view-source:https://192.168.3.203/webadmin/theme/00-ovirt.brand/ovirt_web_admin.css></a>"> <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 <a class="moz-txt-link-rfc2396E" href="view-source:https://192.168.3.203/webadmin/webadmin/webadmin.nocache.js"><view-source:https://192.168.3.203/webadmin/webadmin/webadmin.nocache.js></a>"></script> </body> </html> The CSS file exists, the webadmin.nocache.js <a class="moz-txt-link-rfc2396E" href="view-source:https://192.168.3.203/webadmin/webadmin/webadmin.nocache.js"><view-source:https://192.168.3.203/webadmin/webadmin/webadmin.nocache.js></a> link lead to 404 page user portal doesn't work either. </pre> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> <br> <pre class="moz-signature" cols="72">-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com</pre> </body> </html> --------------040201060707080106070706--

----- Original Message -----
From: "Sandro Bonazzola" <sbonazzo@redhat.com> To: "users" <users@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Il 21/06/2013 13:46, Vojtech Szocs ha scritto:
----- Original Message -----
From: "Sandro Bonazzola" <sbonazzo@redhat.com> To: "users" <users@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.)
Right, I haven't seen I've left active the local repository with the development build, sorry.
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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com
participants (2)
-
Sandro Bonazzola
-
Vojtech Szocs