Persistent size change does not take effect over simplex upgrade

Bug #1962326 reported by Tee Ngo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Tee Ngo

Bug Description

Brief Description
-----------------
The /opt/platform-backup size remains to be 30G (default size) after upgrade despite the fact the persistent_size was increased beforehand.

Severity
--------
Major

Steps to Reproduce
------------------
1. In a DC system where the system controller has been ugraded
2. Increase the persistent size of a simplex subcloud using dcmanager subcloud
   update --install-values command
3. Upgrade the subcloud

Expected Behavior
------------------
The /opt/platform-backup has the new size after upgrade

Actual Behavior
----------------
Subcloud was upgraded successfully but /opt/platform-backup was still at default size.
The commit: https://review.opendev.org/c/starlingx/distcloud/+/826149 missed upgrade scenario.

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

System Configuration
--------------------
Distributed Cloud

Branch/Pull Time/Commit
-----------------------
2022-02-21 master build

Last Pass
---------
first time testing https://storyboard.openstack.org/#!/story/2009799 (task 44356) over upgrade

Timestamp/Logs
--------------
N/A (subcloud upgrade was successful but user's config change was not respected)

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

Workaround
----------
None

Tee Ngo (teewrs)
description: updated
Changed in starlingx:
assignee: nobody → Tee Ngo (teewrs)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to distcloud (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/distcloud/+/831013

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

Reviewed: https://review.opendev.org/c/starlingx/distcloud/+/831013
Committed: https://opendev.org/starlingx/distcloud/commit/765cd0b5c06f1efcd2b9aa3e1db3ee9e3ca08273
Submitter: "Zuul (22348)"
Branch: master

commit 765cd0b5c06f1efcd2b9aa3e1db3ee9e3ca08273
Author: Tee Ngo <email address hidden>
Date: Fri Feb 25 11:13:20 2022 -0500

    Provide persistent_size value over simplex upgrade

    The previous commit to support persistent_size in subcloud
    install values (74bf7032123207503086fa7880a0fd74eaf2849c) ommitted
    the upgrade path. This commit fixes it.

    Test Plan:
      - Increase subcloud persistent size (e.g. 40000) using
        dcmanager subcloud update --install-values command.
      - Perform orchestrated subcloud upgrade.
      - Verify that the subcloud has new persistent size as configured
        after the upgrade.

    Closes-Bug: 1962326
    Change-Id: I52eb897a8b0e7dec9f4e1ed872b96406bfc04173
    Signed-off-by: Tee Ngo <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.