From 5a3a5ce8ea77f840c416361caf47fbed98485ac4 Mon Sep 17 00:00:00 2001 From: Eric MacDonald Date: Tue, 30 Jan 2024 14:41:41 +0000 Subject: [PATCH] Stop creating guestServer.conf /etc/pmon.d link The maintenance guestServer daemon has been deprecated for quite some time. However, that deprecation process left the kickstarts creating a dangling link to a missing guestServer.conf in the /etc/pmon.d directory. Pmon just ignores the missing process so there is no service impact. This update cleans this up by removing the code in the kickstarts that create the dangling link. Test Plan: PASS: Verify the guestServer.conf dangling link no longer exists in worker nodes. PASS: Verify pmond.log makes no mention of the deprecated guestServer process. Closes-Bug: 2051389 Change-Id: I89a62d939194c65c86e3cf71b238698eb2ee97ed Signed-off-by: Eric MacDonald --- kickstart/files/kickstart.cfg | 1 - kickstart/files/miniboot.cfg | 1 - 2 files changed, 2 deletions(-) diff --git a/kickstart/files/kickstart.cfg b/kickstart/files/kickstart.cfg index d3f2deac..fcc51cc7 100644 --- a/kickstart/files/kickstart.cfg +++ b/kickstart/files/kickstart.cfg @@ -3170,7 +3170,6 @@ if [ "${worker}" = true ] ; then ln -s /usr/share/starlingx/pmon.d/containerd.conf ${IMAGE_ROOTFS}/etc/pmon.d/containerd.conf ln -s /usr/share/starlingx/pmon.d/docker.conf ${IMAGE_ROOTFS}/etc/pmon.d/docker.conf ln -s /usr/share/starlingx/pmon.d/fsmon.conf ${IMAGE_ROOTFS}/etc/pmon.d/fsmon.conf - ln -s /usr/share/starlingx/pmon.d/guestServer.conf ${IMAGE_ROOTFS}/etc/pmon.d/guestServer.conf ln -s /usr/share/starlingx/pmon.d/hbsClient.conf ${IMAGE_ROOTFS}/etc/pmon.d/hbsClient.conf ln -s /usr/share/starlingx/pmon.d/isolcpu_plugin.conf ${IMAGE_ROOTFS}/etc/pmon.d/isolcpu_plugin.conf ln -s /usr/share/starlingx/pmon.d/lmon.conf ${IMAGE_ROOTFS}/etc/pmon.d/lmon.conf diff --git a/kickstart/files/miniboot.cfg b/kickstart/files/miniboot.cfg index 7fdd2f14..a19c45fc 100644 --- a/kickstart/files/miniboot.cfg +++ b/kickstart/files/miniboot.cfg @@ -3134,7 +3134,6 @@ if [ "${worker}" = true ] ; then ln -s /usr/share/starlingx/pmon.d/containerd.conf ${IMAGE_ROOTFS}/etc/pmon.d/containerd.conf ln -s /usr/share/starlingx/pmon.d/docker.conf ${IMAGE_ROOTFS}/etc/pmon.d/docker.conf ln -s /usr/share/starlingx/pmon.d/fsmon.conf ${IMAGE_ROOTFS}/etc/pmon.d/fsmon.conf - ln -s /usr/share/starlingx/pmon.d/guestServer.conf ${IMAGE_ROOTFS}/etc/pmon.d/guestServer.conf ln -s /usr/share/starlingx/pmon.d/hbsClient.conf ${IMAGE_ROOTFS}/etc/pmon.d/hbsClient.conf ln -s /usr/share/starlingx/pmon.d/isolcpu_plugin.conf ${IMAGE_ROOTFS}/etc/pmon.d/isolcpu_plugin.conf ln -s /usr/share/starlingx/pmon.d/lmon.conf ${IMAGE_ROOTFS}/etc/pmon.d/lmon.conf