Due to changes in https://review.opendev.org/#/c/692439 and https://review.opendev.org/#/c/691714, sysinv/19.09 subfolder
of /opt/platform is no longer created, nor its content.
This breaks the initial assumptions that:
1. This folder exists => is ok to just create files there
2. The content of this folder is recreated on each unlock
To return #1 assumption we now create the folder in advance
and for #2 we back-up and restore its content.
Reviewed: https:/ /review. opendev. org/694774 /git.openstack. org/cgit/ starlingx/ ansible- playbooks/ commit/ ?id=dcdeea02541 49233f1c0e5a653 6a561cf7453cec
Committed: https:/
Submitter: Zuul
Branch: master
commit dcdeea025414923 3f1c0e5a6536a56 1cf7453cec
Author: Ovidiu Poncea <email address hidden>
Date: Mon Nov 18 15:48:23 2019 +0200
Fix missing content in /opt/platform/ sysinv/ 19.09
Due to changes in https:/ /review. opendev. org/#/c/ 692439 and /review. opendev. org/#/c/ 691714, sysinv/19.09 subfolder
https:/
of /opt/platform is no longer created, nor its content.
This breaks the initial assumptions that:
1. This folder exists => is ok to just create files there
2. The content of this folder is recreated on each unlock
To return #1 assumption we now create the folder in advance
and for #2 we back-up and restore its content.
Change-Id: I8dd686a66fcc62 bbb05b72fda56e8 6c353d25fee
Closes-Bug: 1851424
Closes-Bug: 1852065
Closes-Bug: 1852127
Signed-off-by: Ovidiu Poncea <email address hidden>