config/controllerconfig/controllerconfig/controllerconfig/upgrades
Heitor Matsui 2c9995ede4 Fix postgres directory search on tarfile
During AIO-SX upgrade playbook, sysinv can fail with a
"ValueError: substring not found" when trying to extract
postgres data from the backup tarfile. This issue is hit
when the code tries find a "/" character in a path inside
the tarfile but it is not present.

This commit adds a "/" character to the end of every
directory path to solve the issue.

Test Plan
PASS: run AIO-SX n+2 upgrade playbook successfully
PASS: (Regression) run AIO-SX n+1 upgrade playbook sucessfully

Story: 2009303
Task: 47127

Signed-off-by: Heitor Matsui <heitorvieira.matsui@windriver.com>
Change-Id: If9f8153696d0b957edd29bfcf3f350e77e692579
2023-01-09 19:48:05 -03:00
..
__init__.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
controller.py Fix postgres directory search on tarfile 2023-01-09 19:48:05 -03:00
management.py Clean up unnecessary error messages in abort 2022-10-14 14:45:50 -04:00
utils.py Migrate nova-local partition to cgts-vg 2022-12-09 17:17:30 -05:00