integ/filesystem/luks
Harshad sonde 151539e64b Code enhancements for luks-fs-mgr
Following enhancements and fixes are done in this commit:
- Added code for handling graceful exit of the service.
- Fixed code to remove segfault core-dump.
- Added return value for copyKubeProviderFile() function
  so that service is exited in case of failure.
- Used inotifytools package to detect file change and
  creation recursively.
- Fixed issue related to removal of luks mount path.

Test Plan:
PASSED: Successfully deployed ISO on AIO-DX
PASSED: Both the controllers are up and running
PASSED: No segfault or luks-fs-mgr service crash
        is observed after deployment
PASSED: symlinks are created at /etc/kubernetes/ and
        /opt/platform/config/23.09/kubernetes/ folders.
PASSED: All the files/directories created on the
        /var/luks/stx/luks_fs/controller/ directory
        on active controller are pushed onto the luks volume
        on standby controller.
PASSED: Tested Push functionality from active to standby controller.
        by modifying a file inside a subdirectory on LUKS/controller.
PASSED: Standby controller is able to pull luks/controller
        from the active controller. Verified on the Standard setup
        using HOST-SWACT command.
PASSED: Removed the copy of encryption-provider.yaml file from
        /opt/platform/config/<SW_VERSION>/kubernetes/
        (To support patch installation)
PASSED: LUKS service comes up after unmounting and removal of LUKS
        mount path.

Depends-On: https://review.opendev.org/c/starlingx/tools/+/904556
            https://review.opendev.org/c/starlingx/root/+/904558

Story: 2010873
Task: 49375

Change-Id: I26e7f5c72baf2095bea4df4ef34bec22d0f93aed
Signed-off-by: Harshad sonde <harshad.sonde@windriver.com>
2024-01-12 21:14:31 +05:30
..
debian Pmon monitoring of luks-fs-mgr service on controllers 2023-12-14 13:28:42 +00:00
src Code enhancements for luks-fs-mgr 2024-01-12 21:14:31 +05:30