From 09e3b61775a567af3f4939c250e7b9a366c14403 Mon Sep 17 00:00:00 2001 From: Heitor Matsui Date: Thu, 4 Dec 2025 11:29:17 -0300 Subject: [PATCH] Include pmon agent monitoring for worker and storage This commit changes the usm-initialize service to create the pmon monitoring for software-agent on worker and storage nodes during the upgrade process. Test Plan PASS: upgrade stx-10 to stx-11 in a storage system and verify all hosts have proper pmon monitoring for software processes PASS: kill software-agent on storage and worker nodes and verify the processes are re-raised by pmon Story: 2011604 Task: 53378 Change-Id: I1f7a91ab28fb0057c33cbec9f9e70545f20e8abc Signed-off-by: Heitor Matsui --- software/service-files/usm-initialize-init.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/software/service-files/usm-initialize-init.sh b/software/service-files/usm-initialize-init.sh index 2192dd64..fee26a6f 100755 --- a/software/service-files/usm-initialize-init.sh +++ b/software/service-files/usm-initialize-init.sh @@ -143,6 +143,7 @@ refresh_init_links() { ln -s /usr/share/starlingx/pmon.d/sssd.conf /etc/pmon.d/sssd.conf ln -s /usr/share/starlingx/pmon.d/sysinv-agent.conf /etc/pmon.d/sysinv-agent.conf ln -s /usr/share/starlingx/pmon.d/syslog-ng.conf /etc/pmon.d/syslog-ng.conf + ln -s /usr/share/starlingx/pmon.d/software-agent.conf /etc/pmon.d/software-agent.conf fi if [ "${storage}" = true ] ; then ln -s /usr/share/starlingx/pmon.d/acpid.conf /etc/pmon.d/acpid.conf @@ -160,6 +161,7 @@ refresh_init_links() { ln -s /usr/share/starlingx/pmon.d/sssd.conf /etc/pmon.d/sssd.conf ln -s /usr/share/starlingx/pmon.d/sysinv-agent.conf /etc/pmon.d/sysinv-agent.conf ln -s /usr/share/starlingx/pmon.d/syslog-ng.conf /etc/pmon.d/syslog-ng.conf + ln -s /usr/share/starlingx/pmon.d/software-agent.conf /etc/pmon.d/software-agent.conf fi }