SX backup includes patch data

Bug #2023932 reported by Joshua Kraitberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Joshua Kraitberg

Bug Description

Brief Description
-----------------
Backup contains patch data. Which is now deprecated.

https://opendev.org/starlingx/ansible-playbooks/src/commit/14ea7ca5dbb13e59057e789fabf9896f8bac42e6/playbookconfig/src/playbooks/roles/backup/backup-system/vars/main.yml#L52

Severity
--------
Minor

Steps to Reproduce
------------------
Perform backup on patched SX system

Expected Behavior
------------------
Patching data not included when SX

Actual Behavior
----------------
Patching data included

Reproducibility
---------------
100%

System Configuration
--------------------
SX

Branch/Pull Time/Commit
-----------------------
June 14, 2023 master

Last Pass
---------
Never

Timestamp/Logs
--------------
Check backup for /opt/patching

Test Activity
-------------
Feature Testing

Workaround
----------
Manually delete from backup

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ansible-playbooks (master)
Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ansible-playbooks (master)

Reviewed: https://review.opendev.org/c/starlingx/ansible-playbooks/+/886128
Committed: https://opendev.org/starlingx/ansible-playbooks/commit/631da01e2cc023134e058df0be30bbce50811d41
Submitter: "Zuul (22348)"
Branch: master

commit 631da01e2cc023134e058df0be30bbce50811d41
Author: Joshua Kraitberg <email address hidden>
Date: Wed Aug 23 21:00:53 2023 -0400

    Automatically exclude patches on AIO-SX during backup

    Backup was including patch data on AIO-SX systems.
    This increased the size of backup significantly. This
    unnecessarily increased centralized storage and restore timing.

    Patch data will now no longer be collected during backup on
    AIO-SX systems.

    To override this behaviour the user can add the following:
    "-e exclude_patches=false"

    TEST PLAN
    PASS: Optimized B&R on AIO-SX system.
    * Repeat on patched and unpatched system
    * Patch data should not be present in either test
    PASS: B&R on AIO-SX system
    * Use "-e exclude_patches=false"
    * Patch data should be in backup
    PASS: B&R on non-SX system
    * Patch data should be in backup
    PASS: Optimized B&R on subcloud using dcmanager
    * patch data should not be in backup

    Closes-Bug: 2023932
    Signed-off-by: Joshua Kraitberg <email address hidden>
    Change-Id: Ic7026e4d4ca270384e425ce12665a525dc5885c1

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
assignee: nobody → Joshua Kraitberg (jkraitbe-wr)
tags: added: stx.con
tags: added: stx.9.0 stx.config stx.update
removed: stx.con
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.