Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1782185

Summary: Accessing Storage > Volumes does not work
Product: [oVirt] ovirt-engine Reporter: Valentin Bajrami <valentin.bajrami>
Component: Frontend.WebAdminAssignee: shani <sleviim>
Status: CLOSED CURRENTRELEASE QA Contact: SATHEESARAN <sasundar>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.3.6.7CC: aefrat, bugs, sleviim, tnisan
Target Milestone: ovirt-4.3.9Flags: pm-rhel: ovirt-4.3+
pm-rhel: ovirt-4.4+
Target Release: 4.3.9.1   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ovirt-engine-4.3.9.1 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-20 07:57:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
ui.log
none
engine.log none

Description Valentin Bajrami 2019-12-11 11:19:21 UTC
Created attachment 1643845 [details]
ui.log

Recently, I upgraded ovirt-engine from 4.2.5.3-1.el7 to 4.3.6.7-1.el7 
but going to  Storage > Volumes   nothing seems to happen. Volumes does
not open up.

The error I see in the debugger mode (firefox) is as follows:

org.ovirt.engine.ui.uicompat.EnumTranslator WARNING: Missing Enum
resource 'V5'. Cannot find constant 'StorageFormatType___V5'; expecting
a method name.  There is also a bug here:
https://bugzilla.redhat.com/show_bug.cgi?id=1759102  and here: https://bugzilla.redhat.com/show_bug.cgi?id=1574605

Any fix / workaround?

Comment 1 Valentin Bajrami 2019-12-11 11:20:05 UTC
Created attachment 1643846 [details]
engine.log

Comment 2 RHEL Program Management 2019-12-18 14:27:49 UTC
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.

Comment 3 shani 2020-01-13 11:54:09 UTC
Hi Valentin,
I've tried to reproduce it on 4.3.8 but it works for me.

Also, The bugs you've mentioned are already closed.

In case you still encounter this issue, 
Can you please attach a screenshot and also specify your current version?

Comment 4 shani 2020-01-14 12:38:58 UTC
Hi Valentin,
I had another look at your ui.log and your bug's description.

The error you've mentioned, (Cannot find constant 'StorageFormatType___V5') didn't appear on the UI log,
and it seems, from the UI log, that you got an NPE from another resource (SubTabHostVmView.java:119).

For the first error, I've uploaded a patch that adds the missing constant and backported it.
For the second error, I've backported an exists patch from the master's version.

Both should be available for 4.3.

Comment 5 Valentin Bajrami 2020-01-14 13:14:54 UTC
Hi Shani,

Thank you for having a look into it and patching it! I am going to test this the coming days and report back here!

Comment 10 SATHEESARAN 2020-03-02 13:11:47 UTC
Tested with upgrade from RHV 4.2.8 to RHV 4.3.9, with hyperconverged RHV and RHGS 3.5.1 setup.
This issue is not seen. No errors or NPE observed.

Comment 11 Sandro Bonazzola 2020-03-20 07:57:15 UTC
This bugzilla is included in oVirt 4.3.9 release, published on March 20th 2020.

Since the problem described in this bug report should be
resolved in oVirt 4.3.9 release, it has been closed with a resolution of CURRENT RELEASE.

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