From 8da5f0fe19f8a999ce46c74d5448c678ed08afbd Mon Sep 17 00:00:00 2001 From: Andy Ning Date: Mon, 12 Jun 2023 09:16:09 -0400 Subject: [PATCH] Create pmon config file for sssd to run on storage Currently sssd is not configured and running on storage nodes so ldap users can't login to storage nodes. This update creates sssd pmon config file so that sssd is running on storage nodes. Test Plan: PASS: System with storage nodes deployment PASS: In storage nodes, verify that the following config file exist: /etc/pmon.d/sssd.conf PASS: In storage nodes, verify that sssd is running by systemctl status sssd PASS: In storage nodes, verify ldap users are accessible by getent passwd Closes-Bug: 2023399 Depends-On: https://review.opendev.org/c/starlingx/stx-puppet/+/885878 Change-Id: I2e85873c3ddd18bab68365a58b5a8617eb1b2766 Signed-off-by: Andy Ning --- kickstart/files/kickstart.cfg | 1 + kickstart/files/miniboot.cfg | 1 + 2 files changed, 2 insertions(+) diff --git a/kickstart/files/kickstart.cfg b/kickstart/files/kickstart.cfg index 54554b0b..40d8b7f6 100644 --- a/kickstart/files/kickstart.cfg +++ b/kickstart/files/kickstart.cfg @@ -3210,6 +3210,7 @@ if [ "${storage}" = true ] ; then ln -s /usr/share/starlingx/pmon.d/mtclogd.conf ${IMAGE_ROOTFS}/etc/pmon.d/mtclogd.conf ln -s /usr/share/starlingx/pmon.d/sm-eru.conf ${IMAGE_ROOTFS}/etc/pmon.d/sm-eru.conf ln -s /usr/share/starlingx/pmon.d/sshd.conf ${IMAGE_ROOTFS}/etc/pmon.d/sshd.conf + ln -s /usr/share/starlingx/pmon.d/sssd.conf ${IMAGE_ROOTFS}/etc/pmon.d/sssd.conf ln -s /usr/share/starlingx/pmon.d/sw-patch-agent.conf ${IMAGE_ROOTFS}/etc/pmon.d/sw-patch-agent.conf ln -s /usr/share/starlingx/pmon.d/sysinv-agent.conf ${IMAGE_ROOTFS}/etc/pmon.d/sysinv-agent.conf ln -s /usr/share/starlingx/pmon.d/syslog-ng.conf ${IMAGE_ROOTFS}/etc/pmon.d/syslog-ng.conf diff --git a/kickstart/files/miniboot.cfg b/kickstart/files/miniboot.cfg index 70721b8c..67e98ae5 100644 --- a/kickstart/files/miniboot.cfg +++ b/kickstart/files/miniboot.cfg @@ -3069,6 +3069,7 @@ if [ "${storage}" = true ] ; then ln -s /usr/share/starlingx/pmon.d/mtclogd.conf ${IMAGE_ROOTFS}/etc/pmon.d/mtclogd.conf ln -s /usr/share/starlingx/pmon.d/sm-eru.conf ${IMAGE_ROOTFS}/etc/pmon.d/sm-eru.conf ln -s /usr/share/starlingx/pmon.d/sshd.conf ${IMAGE_ROOTFS}/etc/pmon.d/sshd.conf + ln -s /usr/share/starlingx/pmon.d/sssd.conf ${IMAGE_ROOTFS}/etc/pmon.d/sssd.conf ln -s /usr/share/starlingx/pmon.d/sw-patch-agent.conf ${IMAGE_ROOTFS}/etc/pmon.d/sw-patch-agent.conf ln -s /usr/share/starlingx/pmon.d/sysinv-agent.conf ${IMAGE_ROOTFS}/etc/pmon.d/sysinv-agent.conf ln -s /usr/share/starlingx/pmon.d/syslog-ng.conf ${IMAGE_ROOTFS}/etc/pmon.d/syslog-ng.conf