Upgrade script 93 breaks USM deploy start

Bug #2065910 reported by Heitor Matsui
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Heitor Matsui

Bug Description

Brief Description
-----------------
Upgrade script 93 does not parse all the parameters passed by USM deploy start.

Severity
--------
Critical: software deploy start cannot proceed

Steps to Reproduce
------------------
- Upload iso/sig
- software deploy start <release>

Expected Behavior
------------------
Deploy start completes successfully

Actual Behavior
----------------
Deploy start fails during data migration

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

System Configuration
--------------------
Any

Branch/Pull Time/Commit
-----------------------
master

Last Pass
---------
2024-05-15

Timestamp/Logs
--------------
2024-05-16T10:49:50: software.utilities.migrate[310354]: utils.py(98): ERROR: Migration script /etc/upgrade.d/93-update-mgmt-ipsec-flag.py failed with returncode 1Script output:
Invalid option 6666.

2024-05-16T10:49:50: software-deploy-start[305134]: ERROR: Failed to migrate data
2024-05-16T10:49:50: software-deploy-start[305134]: ERROR: Please check the error details and take appropriate action for recovery.
2024-05-16T10:49:50: software-deploy-start[305134]: ERROR: Update deploy state start-failed.

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

Workaround
----------
N/A

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to config (master)

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

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

Reviewed: https://review.opendev.org/c/starlingx/config/+/919850
Committed: https://opendev.org/starlingx/config/commit/776d4647e4512dc8d5e8115b580f03f7eb4e9bc9
Submitter: "Zuul (22348)"
Branch: master

commit 776d4647e4512dc8d5e8115b580f03f7eb4e9bc9
Author: Heitor Matsui <email address hidden>
Date: Thu May 16 11:33:07 2024 -0300

    Fix parameter in upgrade script

    Script introduced by [1] broke USM deploy start due to not
    parsing the fourth parameter passed to the scripts during
    the data migration.

    This commit fixes the issue.

    [1] https://review.opendev.org/c/starlingx/config/+/919624

    Test Plan
    PASS: execute deploy start successfully

    Closes-bug: 2065910

    Change-Id: I03a9e055bc487b423c385ee7fb69fc31396ac734
    Signed-off-by: Heitor Matsui <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Medium
tags: added: stx.10.0 stx.update
Changed in starlingx:
assignee: nobody → Heitor Matsui (heitormatsui)
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.