Inservice patch update is rejected excepting node lock.

Bug #2063854 reported by Vanathi Selvaraju
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Vanathi Selvaraju

Bug Description

Brief Description
-----------------

On performing inservice patch update which does not require a reboot, the operation is rejected expecting a host lock to be performed before patch install.
Inservice patch update does not require the host to be locked.

Severity
--------
Minor

Steps to Reproduce
------------------
Install the system with latest 24.03 build
software upload <inservice-patch>
software deploy start <patch>
software deploy host <host-name>

Expected Behavior
------------------
Software deploy host <hostname> to be successfully completed.

Actual Behavior
----------------
Operation is rejected
#software deploy host controller-0
Error:
Host installation rejected by controller-0. Node must be locked.

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

System Configuration
--------------------
All configurations

Branch/Pull Time/Commit
-----------------------
SW_VERSION="24.03"
BUILD_ID="2024-04-18_19-00-08"

Test Activity
-----------------
Developer testing

Workaround
----------
Perform lock of the host
Install the patch
Perform unlock of the host

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

Reviewed: https://review.opendev.org/c/starlingx/update/+/917191
Committed: https://opendev.org/starlingx/update/commit/4a535aaa110737f6e4f5b99fdd7c013de27110ad
Submitter: "Zuul (22348)"
Branch: master

commit 4a535aaa110737f6e4f5b99fdd7c013de27110ad
Author: Vanathi.Selvaraju <email address hidden>
Date: Fri Apr 26 12:15:17 2024 -0400

    Check to determine if a major release deploy is in progress.

    In-service patch install is currently rejected expecting
    the host to be locked as the framework considers it as
    major release deploy. As part of this fix, check is added to
    determine if the release is a major release or a patch release.

    Test Plan:
    PASSED: On SX system, perform in-service patch install
    successfully.

    Closes-Bug: 2063854

    Change-Id: I7ef856c41c6721daa68310666097d65e816056b1
    Signed-off-by: Vanathi.Selvaraju <email address hidden>

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