config/controllerconfig/controllerconfig/upgrade-scripts
Angie Wang 23505ba77d Fix issue in partition data migration script
The created partition dictonary partition_map is not
an ordered dict so we need to sort it by its key -
device node when iterating it to adjust the device
nodes/paths for user created extra partitions to ensure
the number of device node/path for each extra partition
is calculated correctly, otherwise the adjustments
could be messy that causes the partition DB update to
fail.

Tested AIO-SX upgrade with three additional partitions.

Change-Id: I1cb3bbfaf144a59d29633c1784b0fde80529cd71
Closes-Bug: 1892554
Signed-off-by: Angie Wang <angie.wang@windriver.com>
2021-05-25 21:55:30 -04:00
..
10-sysinv-adjust-partitions.py Fix issue in partition data migration script 2021-05-25 21:55:30 -04:00
20-exempt-admin-from-lockout.sh Fix 20-exempt-admin-from-lockout.sh for IPv6 2020-07-21 14:47:48 -04:00
25-coredns-configmap.sh Use sequential forward policy in coredns 2020-06-18 20:26:50 +00:00
30-create-device-images-directory.sh Upgrade script to create device_images directory 2021-03-01 17:15:20 +00:00
45-sysinv-remove-identity-shared-service.py Remove identity entry on upgrade 2021-01-21 13:24:28 -05:00
50-dcmanager-subcloud-status-migration.py Data migration code to set the deleted field to 0 2020-06-25 13:29:02 -04:00
53-dcorch-subcloud-sync-migration.py Fix dcorch subcloud audit issue after the upgrade 2021-03-25 09:00:23 -04:00
55-armada-helm-upgrade.py Support upgrade to Helm v3 with containerized armada 2020-12-09 17:19:50 -05:00
60-helm-releases-data-migration.py Configure SQL as helm storage backend 2021-01-08 01:05:07 -05:00
65-k8s-app-upgrade.sh Update k8s application upgrade script for corner case 2021-05-19 12:56:12 -04:00
70-active-secured-etcd-after-upgrade.sh Add logging to secured-etcd upgrade script 2021-05-06 20:37:54 +00:00
75-deployment-ns-upgrade.py Use deployment namespace for platform certificates 2021-01-15 09:24:24 -05:00
80-dc-cert-upgrade.py Data migration failure on IPv6 system controller 2020-06-26 16:54:15 -04:00
85-update-sc-admin-endpoint-cert.py Remove subcloud admin endpoint data migration 2021-05-03 19:13:00 -04:00
95-apply-mandatory-psp-policies.py Update psp migration script used in upgrade 2021-03-25 23:37:17 -04:00
96-delete-snmp-records.py Fix migration scripts execution sequence 2021-02-04 10:53:23 -05:00
97-reset-config-target.py Clear host config_target on upgrade migration 2021-05-03 15:24:11 -05:00