config/controllerconfig/controllerconfig/controllerconfig
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
..
common Add missing timeouts to some API calls 2022-08-18 09:59:03 -04:00
tests Fix migration scripts execution sequence 2021-02-04 10:53:23 -05:00
upgrades Fix postgres directory search on tarfile 2023-01-09 19:48:05 -03:00
__init__.py Removing rpm as a dependency for sysinv 2021-11-04 11:37:15 -04:00
config_management.py Fix lldp format in debian environment 2022-04-20 14:30:04 +00:00
tidy_storage.py Fix controllerconfig subprocess py3 compatibility 2021-08-10 12:58:36 -04:00
utils.py Cleanup tox for python3.9 jobs 2022-03-25 20:32:09 +00:00