Bug 1252364 - [host-deploy] when updating multiple packages only the latest is considered in cache timestamp
Summary: [host-deploy] when updating multiple packages only the latest is considered i...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Host-Deploy
Version: 3.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ovirt-3.5.5
: 3.5.5
Assignee: Alon Bar-Lev
QA Contact: Pavol Brilla
URL:
Whiteboard: infra
Depends On:
Blocks: 1250919
TreeView+ depends on / blocked
 
Reported: 2015-08-11 09:08 UTC by Alon Bar-Lev
Modified: 2016-02-10 19:13 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-26 13:43:32 UTC
oVirt Team: Infra
Embargoed:
alonbl: ovirt-3.5.z?
alonbl: ovirt-3.6.0?
rule-engine: planning_ack?
alonbl: devel_ack+
rule-engine: testing_ack?


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 44690 0 master MERGED host-deploy: remove timestamp cache check for tarball Never
oVirt gerrit 44874 0 ovirt-engine-3.6 MERGED host-deploy: remove timestamp cache check for tarball Never
oVirt gerrit 44875 0 ovirt-engine-3.5 MERGED host-deploy: remove timestamp cache check for tarball Never

Description Alon Bar-Lev 2015-08-11 09:08:27 UTC
host-deploy cache is timestamp based, max(interface-3).

there can be a case in which packages at interface-3 are updated async, in this case if the package that is being updated is older (in term of timestamp) than previous the cache will not be refreshed.

we move to hash based.

Comment 1 Alon Bar-Lev 2015-08-11 12:48:25 UTC
using hash will force us to read files twice, once per modify check and once when creating the tar, so we can just create the tar always.

Comment 2 Pavol Brilla 2015-10-06 14:53:31 UTC
Verified on vt17.1

ovirt-host-deploy.tar is recreated before each host deploy

Comment 3 Red Hat Bugzilla Rules Engine 2015-10-18 08:21:29 UTC
Fixed bug tickets must have version flags set prior to fixing them. Please set the correct version flags and move the bugs back to the previous status after this is corrected.

Comment 4 Sandro Bonazzola 2015-10-26 13:43:32 UTC
oVirt 3.5.5 has been released including fixes for this issue.


Note You need to log in before you can comment on or make changes to this bug.