Prestage: packages directory contains all the packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Shrikumar Sharma |
Bug Description
Brief Description
When the script is run, all packages from feed directory are copied to the shared Packages directory as opposed to only the new/changed packages between the two releases.
Severity
Provide the severity of the defect.
Major
Steps to Reproduce
Set up the DC system with environment for subcloud prestage verification
Run command to prestage the subcloud
Expected Behavior
Packages that are not common were copied over hence the packages prestage duration took much longer.
Actual Behavior
All packages are copied over.
Reproducibility
Reproducible 100%
System Configuration
Distributed Cloud
Branch/Pull Time/Commit
Feb. 21, 2022 master build
Last Pass
This is the first integration test after the script was merged upstream
Test Activity
Integration test
Workaround
None
Changed in starlingx: | |
status: | New → In Progress |
description: | updated |
description: | updated |
Changed in starlingx: | |
assignee: | nobody → Shrikumar Sharma (ssharma3) |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.7.0 stx.distcloud |
Reviewed: https:/ /review. opendev. org/c/starlingx /utilities/ +/830522 /opendev. org/starlingx/ utilities/ commit/ 65e7704fa9aa36d 9b99356206bd16b b9ac20936e
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 65e7704fa9aa36d 9b99356206bd16b b9ac20936e
Author: Shrikumar Sharma <email address hidden>
Date: Tue Feb 22 16:43:26 2022 -0500
Fix the list of packages to be copied to prestage shared directory
The script is copying all the files over to the shared/ Packages directory, instead of only a subset of
prestage/
files.
This fix makes the relevant change so that only files whose
md5sums are changed, will be copied over.
Tests:
prestage/ shared/ Packages directory
PASS: Verify that only packages to be downloaded are copied to the
Closes-bug: 1961861 17c1ff4279d6d73 fc65289006f
Change-Id: Iea0e219895c33b
Signed-off-by: Shrikumar Sharma <email address hidden>