Bug 1717336

Summary: [downstream clone - 4.3.6] [RFE] OVF_STORE last update not exposed in the UI
Product: Red Hat Enterprise Virtualization Manager Reporter: RHV bug bot <rhv-bugzilla-bot>
Component: ovirt-engineAssignee: Ahmad Khiet <akhiet>
Status: CLOSED ERRATA QA Contact: Evelina Shames <eshames>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.3.0CC: aefrat, akhiet, aromito, eshames, eshenitz, frolland, gshereme, michal.skrivanek, tnisan, ybenshim
Target Milestone: ovirt-4.3.10Keywords: FutureFeature, ZStream
Target Release: 4.3.10   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.3.10 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1649479 Environment:
Last Closed: 2020-06-04 15:04:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1649479    
Bug Blocks:    
Attachments:
Description Flags
screenshot
none
screenshot none

Description RHV bug bot 2019-06-05 09:00:13 UTC
+++ This bug is a downstream clone. The original bug is: +++
+++   bug 1649479 +++
======================================================================

Description of problem:

For each the storage domain is reported the creation date of all the data disk and of ovf_stores, i.e. url:

https://$RHV_MANAGER/ovirt-engine/webadmin/?#storage-disks;name=$SD_NAME

Is it possible to add the 'last update" date/date for each of the elements above?

This is very useful in case of DR tests because it would allow end users to know if the OVF_STORE is in coherent with the all data written in it and that the execution of "Update OVFs" completed succesfully (since it's async)


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

How reproducible:
Always

Actual results:
End user is unable to know if changes to data/metadata happened on the storage domain have been correctly saved.

Expected results:
To have the possibility to view the status of the SD with report of the last update on the OVF_STORE

(Originally by Andrea Perotti)

Comment 3 RHV bug bot 2019-06-05 09:00:18 UTC
This bug has not been marked as blocker for oVirt 4.3.0.
Since we are releasing it tomorrow, January 29th, this bug has been re-targeted to 4.3.1.

(Originally by Sandro Bonazzola)

Comment 11 Avihai 2019-07-07 06:42:36 UTC
patches are not merged (POST) and only for master NOT 4.3(!) please check it out

Comment 13 Yosi Ben Shimon 2019-07-07 10:40:58 UTC
Tested using:

Although, the "Last Modified" column exists and sortable under Storage -> Disks, it's doesn't get updated.
Tried to click on "update OVFs" for a given storage domain (manually by demand) and also to move the storage to maintenance and activate again.
The "Last Modified" column stays the same.

Also, for disks other then OVF, the last modified value (default) is 1.1.1970 while the creation date is 2019 so it doesn't make sense.

One more thing, to check the last update of the OVF, I need to go through Storage -> Disks -> select the "images" in the button group. I think it's pretty hidden.
I think that we should add it to the disk's table when selecting a specific storage domain as well - just suggesting.

Moving back to ASSIGNED

Comment 16 Eyal Shenitzky 2020-03-19 10:25:17 UTC
Yes, please.
Let's check why it is not updated.

Ahmed, can you please have a look.

Comment 17 Ahmad Khiet 2020-03-26 09:22:21 UTC
a new patch has been submitted:

https://gerrit.ovirt.org/c/107952/

screenshots: https://imgur.com/a/HkrnFV6

Comment 20 Evelina Shames 2020-04-30 08:15:30 UTC
Tried to verified on: 4.3.10-0.2.el7
"Last Modified" column doesn't exist under Storage->Disks.
The column exists under Storage -> Disks -> "images" and for disks other then OVF, the last modified value is 1.1.1970.

It doesn't look like Ahmad's screenshot, moving back to ASSIGNED.

Attaching screenshots.

Comment 21 Evelina Shames 2020-04-30 08:16:13 UTC
Created attachment 1683209 [details]
screenshot

Comment 22 Evelina Shames 2020-04-30 08:16:53 UTC
Created attachment 1683210 [details]
screenshot

Comment 23 Ahmad Khiet 2020-04-30 11:45:11 UTC
I will recheck what changes since this change. I'll push another patch if needed.

Comment 28 Evelina Shames 2020-05-03 08:03:30 UTC
(In reply to Ahmad Khiet from comment #17)
> a new patch has been submitted:
> 
> https://gerrit.ovirt.org/c/107952/
> 
> screenshots: https://imgur.com/a/HkrnFV6

As it was decided to keep the last modified column in 'Images' tab and not in 'All' tab, moving to 'Verified'.

Comment 30 errata-xmlrpc 2020-06-04 15:04:01 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/RHBA-2020:2396