Removed no longer needed pod recreation in optimized restore

During initial development, Kubernetes bringup encountered several
issues that prevented pods from being restored in a good state.  Now
that the playbook is stable this section can be removed.

Some of the possible causes were:
* sysinv not becoming available.  This was addressed by restarting
  sysinv-conductor.
* Pod corruption.  This was fixed by restoring lv sizes during puppet.
* "system restore-complete" not being sent. This may
  have prevented application life-cycle changes from being applied.

With these solved, deleting and recreating pods is no longer required.
However, restoring /var/lib/kubelet is now required, since pods are not
recreated anymore.

TEST PLAN
PASS: Optimized restore AIO-SX
* With and without registry images
PASS: Optimized restore on AIO-SX subcloud using dcmanager
* With and without registry images

Closes-Bug: 2018613
Signed-off-by: Joshua Kraitberg <joshua.kraitberg@windriver.com>
Change-Id: I91d99f3e37ce7e0b328818393a9087060fa21203
This commit is contained in:
Joshua Kraitberg
2023-05-02 13:57:28 -04:00
parent f45f3bbeca
commit 9384b19ffb
2 changed files with 1 additions and 15 deletions

View File

@@ -40,6 +40,7 @@ restore_items:
- etc/ssl
- etc/sysctl.d
- etc/sysinv
- var/lib/kubelet
- opt/patching
- opt/platform
- opt/extension