Bug 1252364

Summary: [host-deploy] when updating multiple packages only the latest is considered in cache timestamp
Product: [oVirt] ovirt-engine Reporter: Alon Bar-Lev <alonbl>
Component: Host-DeployAssignee: Alon Bar-Lev <alonbl>
Status: CLOSED CURRENTRELEASE QA Contact: Pavol Brilla <pbrilla>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.2CC: bugs, ecohen, gklein, iheim, lsurette, rbalakri, yeylon, ylavi
Target Milestone: ovirt-3.5.5Flags: alonbl: ovirt-3.5.z?
alonbl: ovirt-3.6.0?
rule-engine: planning_ack?
alonbl: devel_ack+
rule-engine: testing_ack?
Target Release: 3.5.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-26 13:43:32 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:
Bug Depends On:    
Bug Blocks: 1250919    

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.