config/controllerconfig/controllerconfig/upgrade-scripts
Rei Oliveira 3883f1d050 Support secure LDAP upgrade for AIO-DX (n+2)
This commit adds two upgrade scripts for different stages:

start: backs up data to /opt/platform/config/21.12/ldap/ldap.db
activate: imports data from /opt/platform/config/21.12/ldap/ldap.db

From centos to debian there are many changes to the directory
structure and configuration for slapd. The above steps are necessary
to ensure data is properly restored in the new version.

Story: 2009303
Task: 47241

Test Plan:

PASS: Run AIO-DX upgrade from a Centos system to a Debian system and
      verify ldap commands such as ldapfinger and ldapsearch
      are returning proper data
PASS: Create new openldap user in Centos system, do the upgrade to
      Debian system and verify that such user is kept and usable after
      the upgrade.
PASS: After upgrade do ldapfinger and 'getent passwd <user>' for the
      default ldap users of operator and admin and verify proper data
      is returned
Change-Id: Ibb12d6f639115d4a31d6f4c49399525d5148481a
Signed-off-by: Rei Oliveira <Reinildes.JoseMateusOliveira@windriver.com>
2023-02-07 15:48:15 -03:00
..
10-update-centos-partition-to-debian.py Allow activate script to run for 21.12 upgrade 2023-01-23 16:27:04 +00:00
11-ldap-users-backup.sh Support secure LDAP upgrade for AIO-DX (n+2) 2023-02-07 15:48:15 -03:00
17-resize-systemcontroller-filesystems.sh Retry platform resize during upgrade-activate 2022-05-19 11:46:01 -03:00
19-recreate-vim-systemcontroller-endpoint.sh Fix vim endpoint port for SystemController 2022-12-20 16:04:00 -04:00
20-barbican-data-migration.sh Add barbican database migration script 2022-08-25 12:23:05 -03:00
21-keystone-data-migration.sh Add keystone database migration script 2022-08-25 17:11:04 -03:00
40-assert-docker-health.sh Add docker restart to upgrade process 2022-12-10 12:50:51 -03:00
50-validate-oidc-auth-apps.py Update OIDC upgrade script for 22.12 2022-11-10 14:23:31 -05:00
61-move-ptp-parameters.py [PTP dual NIC config] Cleanup service_parameter 2022-03-11 16:17:15 -03:00
62-enable-fluxcd-controllers.py Allow FluxCD to be upgraded from N to N+1 2022-12-08 19:11:14 +02:00
63-helm-v2-to-v3-rel_migration.sh Restrict migration scripts that are not runable for 22.12 upgrade 2022-09-09 20:12:54 +00:00
64-upgrade-cert-manager.sh Restrict migration scripts that are not runable for 22.12 upgrade 2022-09-09 20:12:54 +00:00
65-k8s-app-upgrade.sh Merge "Remove stale alarms in k8s apps upgrade script" 2023-01-26 20:29:58 +00:00
67-update-openldap-users.sh Support secure LDAP upgrade for AIO-DX (n+2) 2023-02-07 15:48:15 -03:00
68-pod-security-admission-controller-labels.py Fix check_output return on Debian 2023-01-12 18:03:01 -03:00
69-update-nfs-ip-address-alias.py Allow activate script to run for 21.12 upgrade 2023-01-23 16:27:04 +00:00
70-upgrade-oidc-auth-apps.sh Update OIDC upgrade script for 22.12 2022-11-10 14:23:31 -05:00
72-remove-etcd-rbac.sh Remove Etcd RBAC enabling code against the V2 API backend 2022-02-11 09:07:17 -05:00
90-reset-k8s-key-file-permissions.sh Fix K8s *.key file permissions during upgrade end 2022-11-28 18:07:00 -03:00
97-reset-config-target.py Remove host hardware sysinv profile 2021-10-18 18:01:40 -03:00
98-sysinv-k8s-apiserver-param-upgrade.py Allow activate script to run for 21.12 upgrade 2023-01-23 16:27:04 +00:00
99-update-sysinv-motd.py Script to update sysinv/motd in upgrade 2023-01-20 15:44:43 -03:00