Application applies should be prevented during some patching operations

Bug #1883997 reported by Frank Miller
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Dan Voiculeasa

Bug Description

Brief Description
-----------------
Application applies can occur during a system operation like patching. This prevents hosts from being locked or unlocked until the application apply operation has completed. The sysinv process that triggers the application apply should check if a patch apply is in progress and defer the apply until the patch operation completes.

Severity
--------
Minor

Steps to Reproduce
------------------
Use the patch orchestration facility to apply a patch that requires an override change.

Expected Behavior
------------------
The patch operation should complete with being blocked by an application apply

Actual Behavior
----------------
The patch operation failed to lock one of the hosts due to an application re-apply was in progress.

Reproducibility
---------------
Reproducible. When using a patch that results in an override change.

System Configuration
--------------------
Two node system or larger.

Branch/Pull Time/Commit
-----------------------
Any stx4.0 load

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

Timestamp/Logs
--------------
n/a

Test Activity
-------------
Patch testing

Workaround
----------

Frank Miller (sensfan22)
Changed in starlingx:
assignee: nobody → Dan Voiculeasa (dvoicule)
status: New → Triaged
importance: Undecided → Medium
tags: added: stx.4.0 stx.containers stx.nfv
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nfv (master)

Fix proposed to branch: master
Review: https://review.opendev.org/736526

Changed in starlingx:
status: Triaged → In Progress
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/736677

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

Reviewed: https://review.opendev.org/736526
Committed: https://git.openstack.org/cgit/starlingx/nfv/commit/?id=b005bc0c14cd05672128570a504c1fac9c4be8a3
Submitter: Zuul
Branch: master

commit b005bc0c14cd05672128570a504c1fac9c4be8a3
Author: Dan Voiculeasa <email address hidden>
Date: Thu Jun 18 11:44:47 2020 +0300

    Add VIM REST API for querying software update

    Expose GET over '/nfvi-plugins/v1/sw-update*' path.
    Get information about current software update type and strategy
    progress.

    Partial-Bug: 1883997
    Co-authored-by: Bart Wensley <email address hidden>
    Co-authored-by: Dan Voiculeasa <email address hidden>
    Change-Id: Ie837c3a8e508f19d0005845c3d094fad67b9d0e1
    Signed-off-by: Dan Voiculeasa <email address hidden>

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

Reviewed: https://review.opendev.org/736677
Committed: https://git.openstack.org/cgit/starlingx/config/commit/?id=8180909098ddf36ea1f5e62e6ae8dcd5f89b2b73
Submitter: Zuul
Branch: master

commit 8180909098ddf36ea1f5e62e6ae8dcd5f89b2b73
Author: Dan Voiculeasa <email address hidden>
Date: Thu Jun 18 12:15:05 2020 +0300

    Skip apps audit during software updates

    Patch orchestration for reboot required patches does lock/unlock hosts.
    Patch orchestration will fail unlocking while an application is being
    applied.

    An app manifests might be changed, triggering an alarm for audit
    function to pick up and reapply the app.

    Closes-Bug: 1883997
    Depends-On: Ie837c3a8e508f19d0005845c3d094fad67b9d0e1
    Change-Id: I77a3ea494a1f791344202620502567a6045f1658
    Signed-off-by: Dan Voiculeasa <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
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.