config/controllerconfig/controllerconfig
Jagatguru Prasad Mishra 2274dfb942 Migration script to delete encrypted-fs attribute
Previous release contains attribute ’encrypted-fs’ in the
’platform config’ service parameter, which is used to enable
and disable the luks file system. Upgrade activity need to
delete this unused attribute from the database.

This change adds a new migration script to delete 'encrypted-fs'
attribute. The script will run only when from release is 22.12
and during upgrade-activate.

Test Plan:
PASS: build-pkgs -c controllerconfig
PASS: build-image
PASS: AIO-SX upgrade to 24.xx from previous release with luks
      file system disabled. After upgrade activate encrypted-fs
      attribute should be deleted from DB.
PASS: AIO-SX upgrade to 24.xx from previous release with luks
      file system enabled. After upgrade activate encrypted-fs
      attribute should be deleted from DB.
PASS: AIO-DX upgrade to 24.xx from previous release with luks
      file system disabled. After upgrading controller-1(upgraded/
      active controller), script execution should delete
      encrypted-fs attribute from the DB.

Story: 2010873
Task: 49663

Change-Id: I96ed9bf572f20e64419763eb285f4997c37ddf9b
Signed-off-by: Jagatguru Prasad Mishra <jagatguruprasad.mishra@windriver.com>
2024-04-01 05:58:25 +00:00
..
controllerconfig Upgrade changes to support MGMT FQDN 2024-03-05 12:42:21 -03:00
scripts Upgrade changes to support MGMT FQDN 2024-03-05 12:42:21 -03:00
upgrade-scripts Migration script to delete encrypted-fs attribute 2024-04-01 05:58:25 +00:00
.coveragerc StarlingX open source release updates 2018-05-31 07:35:52 -07:00
.gitignore Fix py27 tests in controllerconfig component 2018-09-06 12:27:08 -05:00
.stestr.conf Fix migration scripts execution sequence 2021-02-04 10:53:23 -05:00
.testr.conf StarlingX open source release updates 2018-05-31 07:35:52 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:35:52 -07:00
pylint.rc Update controllerconfig tox environment for debian 2023-05-31 15:25:25 +00:00
requirements.txt Add gate for python 3.9 2021-09-08 10:38:39 -04:00
setup.py Clean up dead code in controllerconfig 2020-01-21 15:32:41 -05:00
test-requirements.txt Update controllerconfig tox environment for debian 2023-05-31 15:25:25 +00:00
tox.ini Update controllerconfig tox environment for debian 2023-05-31 15:25:25 +00:00