Created attachment 1684420 [details] screenshot Description of problem: When adding a new disk, at some point, the Last Modified date changes to Jan 1, 1970, 2:00:00 AM. Version-Release number of selected component (if applicable): Engine-4.4.0-0.33.master.el8ev How reproducible: 100% Steps to Reproduce: 1.Add new disk 2.At some point, the Last Modified date changes to Jan 1, 1970, 2:00:00 AM. Actual results: The Last Modified date is not the real date. Expected results: The Last Modified date should be the real date Additional info: Screenshot attached.
Created attachment 1684462 [details] epoch_volume_info_vdsm
The MTIME field is deprecated for a while now, only kept as zero for not breaking compatibility with older format versions (v4). commit b44f2920fbe818167d1efd390af87e8608f74cbb Author: Denis Chaplygin <dchaplyg> Date: Wed Jan 23 15:20:18 2019 +0100 storage: Dropped MTIME field from VolumeMetadata This field was never used, so we are dropping it in v5 storage domain format. We still have to handle it for v4 domains, as metadata reading procedure expects that field to be available. Because of that, for v4 domains a constant value "0" will be reported. Change-Id: I5699364de777b1196378a5fd764cf9ab2cc9f691 Bug-Url: https://bugzilla.redhat.com/1592916 Signed-off-by: Denis Chaplygin <dchaplyg> This is also stated on the API: VolumeInfoResponse: &VolumeInfoResponse added: '3.1' description: Information about a Volume. name: VolumeInfoResponse properties: ... - description: The Volume modification time (deprecated) name: mtime type: uint I'd suggest to use engine operation time for this field display and ignore the 0 place-holder value returned from volume info response.
Thanks for the input Amit. Moving back to Ahmad.
Verified on engine-4.4.1.7-0.3.el8ev
This bugzilla is included in oVirt 4.4.1 release, published on July 8th 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.1 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.