Bug 1671564

Summary: After upgrade to 4.2.8, Console Client Resources page doesn't look as expected
Product: Red Hat Enterprise Virtualization Manager Reporter: Chetan Nagarkar <cnagarka>
Component: ovirt-engineAssignee: Ravi Nori <rnori>
Status: CLOSED ERRATA QA Contact: Petr Kubica <pkubica>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2.8CC: agajania, bbarve, cnagarka, dvercill, fdelorey, gshereme, lleistne, michal.skrivanek, mkalinin, mperina, pkubica, rbarry, rduda, Rhev-m-bugs, rnori
Target Milestone: ovirt-4.3.2Flags: lsvaty: testing_plan_complete-
Target Release: 4.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.3.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-08 12:39:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
client-resource.png
none
Screenshot of login page
none
Screenshot of Console Client Resources page
none
/usr/share/ovirt-engine/engine.ear/enginesso.war/WEB-INF/lib/enginesso.jar
none
/usr/share/ovirt-engine/engine.ear/welcome.war/WEB-INF/lib/welcome.jar
none
/usr/share/java/ovirt-engine/branding.jar
none
/usr/share/ovirt-engine/branding/rhv-2.brand/applications/rhv.ear/rhv.war/WEB-INF/classes/messages.properties none

Description Chetan Nagarkar 2019-01-31 22:38:21 UTC
Created attachment 1525618 [details]
client-resource.png

Description of problem:

After upgrading to RHV 4.2.8, "Console Client Resources" page doesn't look right.  There are some missing text resources.  A lot of the strings on the page are surrounded by three question marks, e.g.

???console_client_resources.title???

Version-Release number of selected component (if applicable):

rhvm-4.2.8.2-0.1.el7ev.noarch
ovirt-engine-4.2.8.2-0.1.el7ev.noarch
ovirt-web-ui-1.4.5-1.el7ev.noarch

How reproducible:
Upgrade RHV from RHV 4.2.7 to 4.2.8

Reference: 
~~~
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/html-single/upgrade_guide/#Updating_the_Red_Hat_Virtualization_Manager_minor_updates
~~~

Actual results:
See attached image 'client-resource.png'

Expected results:
https://<RHV manager FQDN>/ovirt-engine/rhv/client-resources should look fine.

Comment 1 Michal Skrivanek 2019-02-01 06:12:00 UTC
localization broken?

Comment 4 Greg Sheremeta 2019-02-16 13:40:36 UTC
see also: https://bugzilla.redhat.com/show_bug.cgi?id=1286746

Comment 5 Greg Sheremeta 2019-02-16 13:44:34 UTC
I installed 4.2.7 and then upgraded to 4.2.8, and I'm not able to reproduce.

Is this hosted engine or standalone engine?

What version was this RHV installation originally? How many times has it been upgraded, and what were the versions it transitioned from/to?

Please attach a screenshot of the entire login page and the entire Client Console Resources page

Also, please attach these files from the manager: 
/usr/share/ovirt-engine/engine.ear/enginesso.war/WEB-INF/lib/enginesso.jar
/usr/share/ovirt-engine/engine.ear/welcome.war/WEB-INF/lib/welcome.jar
/usr/share/java/ovirt-engine/branding.jar

Also, please run and attach the output of these commands:
rpm -qa rhvm-branding-rhv
ls -la /usr/share/ovirt-engine/engine.ear/enginesso.war/WEB-INF/lib
ls -la /usr/share/ovirt-engine/engine.ear/welcome.war/WEB-INF/lib

Comment 6 Greg Sheremeta 2019-02-16 13:45:40 UTC
Also, if you switch to Spanish, do Spanish strings show up?

Comment 7 Greg Sheremeta 2019-02-16 13:46:30 UTC
@Ravi, this looks similar to https://bugzilla.redhat.com/show_bug.cgi?id=1286746 which was happening when developers were upgrading their systems. Any ideas?

Comment 8 Aram Agajanian 2019-02-16 19:19:40 UTC
(In reply to Greg Sheremeta from comment #5)
> I installed 4.2.7 and then upgraded to 4.2.8, and I'm not able to reproduce.
> 
> Is this hosted engine or standalone engine?

This is a standalone engine.

> 
> What version was this RHV installation originally? How many times has it
> been upgraded, and what were the versions it transitioned from/to?

The original installation was RHEV 3.0.  It has been upgraded to every RHEV 3.n and RHV 4.n version up to version 4.2.  I would need help to determine which 3.n.m and 4.n.m versions this installation has transitioned from/to.

Comment 9 Aram Agajanian 2019-02-16 19:33:52 UTC
Created attachment 1535582 [details]
Screenshot of login page

The login page looks OK on our RHV installation.

Comment 10 Aram Agajanian 2019-02-16 19:39:01 UTC
Created attachment 1535583 [details]
Screenshot of Console Client Resources page

The Client Console Resources page doesn't look as expected.

Comment 11 Aram Agajanian 2019-02-16 19:45:33 UTC
Created attachment 1535584 [details]
/usr/share/ovirt-engine/engine.ear/enginesso.war/WEB-INF/lib/enginesso.jar

Comment 12 Aram Agajanian 2019-02-16 19:46:06 UTC
Created attachment 1535585 [details]
/usr/share/ovirt-engine/engine.ear/welcome.war/WEB-INF/lib/welcome.jar

Comment 13 Aram Agajanian 2019-02-16 19:46:47 UTC
Created attachment 1535586 [details]
/usr/share/java/ovirt-engine/branding.jar

Comment 14 Aram Agajanian 2019-02-16 19:52:21 UTC
(In reply to Greg Sheremeta from comment #5)
> Also, please run and attach the output of these commands:
> rpm -qa rhvm-branding-rhv

[root@rhvm ~]# rpm -qa rhvm-branding-rhv
rhvm-branding-rhv-4.2.7-1.el7ev.noarch
[root@rhvm ~]# 

> ls -la /usr/share/ovirt-engine/engine.ear/enginesso.war/WEB-INF/lib

[root@rhvm ~]# ls -la /usr/share/ovirt-engine/engine.ear/enginesso.war/WEB-INF/lib
total 164
drwxrwxr-x. 2 root root     47 Jan 25 19:26 .
drwxrwxr-x. 4 root root    129 Jan 25 19:26 ..
lrwxrwxrwx. 1 root root     41 Jan 25 19:26 branding.jar -> /usr/share/java/ovirt-engine/branding.jar
-rw-rw-r--. 1 root root 165718 Jan  8 03:45 enginesso.jar
[root@rhvm ~]# 


> ls -la /usr/share/ovirt-engine/engine.ear/welcome.war/WEB-INF/lib

[root@rhvm ~]# ls -la /usr/share/ovirt-engine/engine.ear/welcome.war/WEB-INF/lib
total 20
drwxrwxr-x. 2 root root    45 Jan 25 19:26 .
drwxrwxr-x. 4 root root   122 Jan 25 19:26 ..
lrwxrwxrwx. 1 root root    41 Jan 25 19:26 branding.jar -> /usr/share/java/ovirt-engine/branding.jar
-rw-rw-r--. 1 root root 19126 Jan  8 03:47 welcome.jar
[root@rhvm ~]#

Comment 15 Aram Agajanian 2019-02-16 19:54:30 UTC
(In reply to Greg Sheremeta from comment #6)
> Also, if you switch to Spanish, do Spanish strings show up?

Yes

Comment 16 Greg Sheremeta 2019-02-17 01:42:56 UTC
(In reply to Aram Agajanian from comment #15)

Thanks, that all looks ok.

Please send the output of these commands:
ls -la /usr/share/ovirt-engine/branding/rhv-2.brand/applications/rhv.ear/rhv.war/WEB-INF/classes
rpm -qa rhvm-branding-rhv
rpm -qa | grep branding

also, please attach
/usr/share/ovirt-engine/branding/rhv-2.brand/applications/rhv.ear/rhv.war/WEB-INF/classes/messages.properties

Thanks!

Comment 17 Aram Agajanian 2019-02-17 17:15:40 UTC
(In reply to Greg Sheremeta from comment #16)
> 
> Please send the output of these commands:
> ls -la
> /usr/share/ovirt-engine/branding/rhv-2.brand/applications/rhv.ear/rhv.war/
> WEB-INF/classes

[root@rhvm ~]# ls -la /usr/share/ovirt-engine/branding/rhv-2.brand/applications/rhv.ear/rhv.war/WEB-INF/classes
total 44
drwxr-xr-x. 2 root root 4096 Nov 19 18:10 .
drwxr-xr-x. 4 root root   96 Nov 19 18:10 ..
-rw-r--r--. 1 root root 2067 Sep 17 10:22 messages_de_DE.properties
-rw-r--r--. 1 root root 2046 Sep 17 10:22 messages_es_ES.properties
-rw-r--r--. 1 root root 2200 Sep 17 10:22 messages_fr_FR.properties
-rw-r--r--. 1 root root 1960 Sep 17 10:22 messages_it.properties
-rw-r--r--. 1 root root 4418 Sep 17 10:22 messages_ja_JP.properties
-rw-r--r--. 1 root root 3185 Sep 17 10:22 messages_ko_KR.properties
-rw-r--r--. 1 root root 1753 Sep 17 10:22 messages.properties
-rw-r--r--. 1 root root 2120 Sep 17 10:22 messages_pt_BR.properties
-rw-r--r--. 1 root root 2537 Sep 17 10:22 messages_zh_CN.properties
[root@rhvm ~]# 


> rpm -qa rhvm-branding-rhv

[root@rhvm ~]# rpm -qa rhvm-branding-rhv
rhvm-branding-rhv-4.2.7-1.el7ev.noarch
[root@rhvm ~]# 


> rpm -qa | grep branding
> 

[root@rhvm ~]# rpm -qa | grep branding
rhvm-branding-rhv-4.2.7-1.el7ev.noarch
[root@rhvm ~]#

Comment 18 Aram Agajanian 2019-02-17 17:19:00 UTC
Created attachment 1535735 [details]
/usr/share/ovirt-engine/branding/rhv-2.brand/applications/rhv.ear/rhv.war/WEB-INF/classes/messages.properties

Comment 19 Greg Sheremeta 2019-02-17 17:31:55 UTC
Thanks Aram. That all looks fine too. I'm stumped.

@Ravi any ideas?

Comment 20 Greg Sheremeta 2019-02-18 16:26:17 UTC
Ravi replied offline -- this is a message bundle issue introduced by a JBoss upgrade.

Assigning to Ravi.

Comment 21 Greg Sheremeta 2019-02-21 22:56:48 UTC
*** Bug 1679471 has been marked as a duplicate of this bug. ***

Comment 25 Petr Kubica 2019-03-06 15:46:45 UTC
Still looks the same as in screenshot

environment:
incrementaly upgraded from 
4.2.4 -> 4.2.7 -> 4.2.8 -> 4.3.0 and finally to ovirt-engine-4.3.2-0.1.el7.noarch

Comment 26 Greg Sheremeta 2019-03-06 15:53:17 UTC
Needs a branding build -- it wasn't ready for QA, sorry it got moved.

Comment 27 Greg Sheremeta 2019-03-11 20:13:03 UTC
(In reply to Greg Sheremeta from comment #26)
> Needs a branding build -- it wasn't ready for QA, sorry it got moved.

Done, rhvm-branding-rhv-4.3.1-1.el7ev

Comment 29 Petr Kubica 2019-03-18 11:57:25 UTC
Verified in
rhvm-branding-rhv-4.3.1-1.el7ev.noarch

Comment 33 errata-xmlrpc 2019-05-08 12:39:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2019:1085

Comment 34 Daniel Gur 2019-08-28 13:13:02 UTC
sync2jira

Comment 35 Daniel Gur 2019-08-28 13:17:15 UTC
sync2jira