config/controllerconfig/controllerconfig/scripts
Andy Ning bc0602885c Update controller_config to link IPsec config
The controller_config init script is updated to symlink swanctl.conf to
the standby controller version of IPsec config file during reboot.
(swanctl_standby.conf). This makes the symlink correct for only one
controller reboot case (eg, active controller forcely reboot, but when
it comes up it will be standby controller). For rare cases such as
active controller reboot while standby controller is locked, the
symlink on the active controller will be corrected by ipsec-config SM
service when both controllers boots up.

Test Plan:
PASS: In a DX system, force reboot active controller by "reboot -f",
      during the controller reboot, verify IPsec SAs are established
      and puppet manifests are successfully applied. After the
      controller boots up, verify it's unlocked|enabled|available, and
      stable with no reboot.
PASS: In a DX system, lock standby controller, then force reboot active
      controller by "reboot -f", verify that the swanctl.conf points to
      the swanct_standby.conf when it boots up, and then it is
      corrected to point to swanctl_active.conf by ipsec-config when SM
      services start up, also IPsec SAs are established between
      controllers. Eventually both controllers are in
      unlocked|enabled|available, system is stable with no reboot.

Story: 2010940
Task: 50195

Change-Id: I1e860b4b4f0f75ff2f8bde81d612d70cb80fb312
Signed-off-by: Andy Ning <andy.ning@windriver.com>
2024-05-28 20:33:32 -04:00
..
00-sample-migration.py controllerconfig: remove /usr/bin/env 2019-10-16 14:55:27 -07:00
00-sample-migration.sh Fixing linters errors E010, E011, E020, E041,E043, E003, E001,E042 2018-09-11 21:47:40 +08:00
config_goenabled_check.sh Fixing linters errors E010, E011, E020, E041,E043, E003, E001,E042 2018-09-11 21:47:40 +08:00
controller_config Update controller_config to link IPsec config 2024-05-28 20:33:32 -04:00
controllerconfig.service Avoid copying symlink content to fix sanity issue 2023-12-28 13:18:49 +00:00
image-backup.sh B&R: Fix openstack helper scripts for B&R 2020-11-04 14:53:03 +02:00
openstack_update_admin_password StarlingX open source release updates 2018-05-31 07:35:52 -07:00
sysinv-service-restart.sh Add ZeroMQ RPC backend 2022-11-24 13:28:01 -03:00
upgrade_swact_migration.py Limit etcd migration to swact actions 2021-05-06 10:09:22 -05:00