config/sysinv/sysinv/sysinv/scripts
Leonardo Mendes 2446746b41 Fix IPsec certificates renewal script
This commit fix IPsec certificates renewal script, which is set up
as a cron job to run daily at mid night. Due to a recent change, the
name of system-loca-ca certificate was changed to system-local-ca-1
and the function that returns the time left to the certificate
expiration was not working properly.

Test Plan:
PASS: Change system date to simulate IPsec cert is about to expire,
      adjust the system to work properly all pods and services needed
      to run ipsec-client and run the script, verify IPsec cert,
      private key and trusted CA cert are renewed, and IKE SAs and
      CHILD SAs are re-established.
PASS: Change the certificate /etc/swanctl/x509ca/system-local-ca-1.crt
      to simulate the IPsec trusted CA cert is different from
      the system-local-ca in k8s secret, run the script, verify the
      trusted CA and IPsec cert/key are renewed, and IKE SAs and CHILD
      SAs are re-established.

Story: 2010940
Task: 49850

Change-Id: Iea88211221d55df763f3f86853d402fffcb58c68
Signed-off-by: Leonardo Mendes <Leonardo.MendesSantana@windriver.com>
2024-04-11 10:43:51 -03:00
..
ceph_k8s_update_monitors.sh Adding AIO-SX to AIO-DX migration steps patching existing PVs 2021-05-09 10:58:59 -04:00
ipsec-cert-renew.sh Fix IPsec certificates renewal script 2024-04-11 10:43:51 -03:00
kube-cert-rotation.sh First check Root CAs on kube-cert-rotation.sh 2024-03-28 14:28:34 -03:00
manage-partitions Skip ceph partitions on manage-partitions script 2023-04-05 16:24:53 -03:00
partition_info.sh Refactor inventory items for multipath support 2023-02-13 17:14:32 +00:00
query_pci_id Enhance query_pci_id with DPDK related arguments 2023-02-10 20:16:16 -03:00
sysinv-api Improve log messages on sysinv-api ocf script 2022-11-07 10:26:21 -03:00
sysinv-api.service StarlingX open source release updates 2018-05-31 07:35:52 -07:00
sysinv-conductor Trigger stevedore cache refresh on sysinv start 2023-07-21 18:28:11 +00:00
sysinv-conductor.service StarlingX open source release updates 2018-05-31 07:35:52 -07:00
validate-platform-backup.sh Fix dev search on validate-platform-backup script 2023-08-02 11:32:18 -03:00