Prestage: packages directory contains all the packages

Bug #1961861 reported by Shrikumar Sharma
6
This bug affects 1 person
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
Tee Ngo (teewrs)
description: updated
description: updated
Changed in starlingx:
assignee: nobody → Shrikumar Sharma (ssharma3)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to utilities (master)

Reviewed: https://review.opendev.org/c/starlingx/utilities/+/830522
Committed: https://opendev.org/starlingx/utilities/commit/65e7704fa9aa36d9b99356206bd16bb9ac20936e
Submitter: "Zuul (22348)"
Branch: master

commit 65e7704fa9aa36d9b99356206bd16bb9ac20936e
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
    prestage/shared/Packages directory, instead of only a subset of
    files.

    This fix makes the relevant change so that only files whose
    md5sums are changed, will be copied over.

    Tests:
    PASS: Verify that only packages to be downloaded are copied to the
          prestage/shared/Packages directory

    Closes-bug: 1961861
    Change-Id: Iea0e219895c33b17c1ff4279d6d73fc65289006f
    Signed-off-by: Shrikumar Sharma <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Medium
tags: added: stx.7.0 stx.distcloud
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.