d9e12f6c45
The migration code was deleting /opt/platform/<FROM_RELEASE>/sysinv, before it was migrated to /opt/platform/<TO_RELEASE>/sysinv. This caused the files inside like `sysinv.conf.default` to be lost during simplex upgrade. Originally, in legacy restore, `sysinv.conf.default` was individually restored after migration so the deletion had no impact. `sysinv.conf.default` is required on non-SX systems. This is used so that other hosts sysinv-agent can mount and have an initial sysinv.conf suitable for RPC to the controller. The loss of the file is not problematic on a SX system, but would prevent a later SX-to-DX migration. TEST PLAN PASS: Optimized upgrade AIO-SX, stx6 to stx8 PASS: Optimized upgrade AIO-SX, stx7 to stx8 Closes-bug: 2042971 Signed-off-by: Joshua Kraitberg <joshua.kraitberg@windriver.com> Change-Id: I7a22e050f74785b99ea6b7758cf23d3419add1de |
||
---|---|---|
.. | ||
__init__.py | ||
controller.py | ||
management.py | ||
utils.py |