cert-mon is not supported by the patch-restart-processes script

Bug #1944485 reported by Ghada Khalil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Andy

Bug Description

Brief Description
-----------------
cert-mon is not supported by the patch-restart-processes. This makes it more difficult to patch this process as an in-service patch.

Severity
--------
Minor - it's still possible to patch-back cert-mon as an in-service patch, but more code is required. See the Workaround section.

Steps to Reproduce
-------------------
Examine the patch-restart-processes script

Expected Behavior
-----------------
cert-mon should be supported by the script

Actual Behavior
---------------
cert-mon is not supported by the script

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

System Configuration
--------------------
any

Branch/Pull Time/Commit
------------------------
stx master (but also in r/stx.5.0)

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

Timestamp/Logs
---------------
N/A

Workaround
----------
Add code to restart the service as part of the patch-restart script. Similar to this example:
https://opendev.org/starlingx/update/src/branch/master/patch-scripts/EXAMPLE_0001/scripts/example-restart#L80

Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
status: New → Triaged
assignee: nobody → Andy (andy.wrs)
tags: added: stx.6.0 stx.update
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to utilities (master)

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

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

Reviewed: https://review.opendev.org/c/starlingx/utilities/+/810446
Committed: https://opendev.org/starlingx/utilities/commit/1f98ca9b56bc23a62f9f6b285507fd0d533d537a
Submitter: "Zuul (22348)"
Branch: master

commit 1f98ca9b56bc23a62f9f6b285507fd0d533d537a
Author: Andy Ning <email address hidden>
Date: Wed Sep 22 09:53:00 2021 -0400

    Add cert-mon to service process restart list

    This update added cert-mon to patch-restart-processes to
    support safe cert-mon restart during in-service patching.

    Closes-Bug: 1944485
    Signed-off-by: Andy Ning <email address hidden>
    Change-Id: I97d8c501681e7415e6f63f56ba0fa588af6eb1a7

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.