luks.conf contains the configurations used by pmon to monitor
luks-fs-mgr service.This change links /usr/share/starlingx/pmon.d
to /etc/pmon.d. Once this is done, pmon starts monitoring the
process, creates and clears an alarm, tries to restart the service,
degrades the host in case of multiple failures.
Test Plan:
PASS: build-pkgs -c -p platform-kickstarts
PASS: build-image
PASS: AIO-SX verify if luks.conf is present at /etc/pmon.d
PASS: AIO-DX verify if luks.conf is present at /etc/pmon.d
PASS: AIO-DX alarm should be created if pmon is unable to start the
service
PASS: AIO-DX pmon.log should contain error messages if service is down.
PASS: Standard: Pmon monitoring should not be enable on compute and
storage nodes. Ensure conf file is not present at '/etc/pmon.d'
on compute and storage hosts. On controller hosts this file
should be present at /etc/pmon.d'.
PASS: AIO-DX alarm should be cleared and host availability should be
'available' once service starts running.
PASS: AIO-DX is service is unrecoverable, host is reported to host
watchdog.
Story: 2010872
Task: 49250
Depends-On: https://review.opendev.org/c/starlingx/integ/+/903612
Change-Id: I4eeb4b2f79b1bb017a0fe2af34f35854c89dee82
Signed-off-by: Jagatguru Prasad Mishra <jagatguruprasad.mishra@windriver.com>