Reviewed: https://review.opendev.org/c/starlingx/ansible-playbooks/+/858406 Committed: https://opendev.org/starlingx/ansible-playbooks/commit/514858c870caeaa7ad518839bbac3aac262293c0 Submitter: "Zuul (22348)" Branch: master
commit 514858c870caeaa7ad518839bbac3aac262293c0 Author: Al Bailey <email address hidden> Date: Mon Sep 19 15:49:06 2022 +0000
Fix platform restore to handle missing resolv.conf
The resolv.conf file is no longer written to: /opt/platform/config/<ver>/resolv.conf
It was removed from that location by: https://review.opendev.org/c/starlingx/config/+/856562
Any backup taken after that commit merged will not contain the resolv.conf in that location, and any restore would fail.
The resolv.conf is no longer needed at that location, so updating the restore code to no longer try to restore it from there.
Test Plan: PASS - Perform a Backup / Restore of AIO-SX Debian
Closes-Bug: #1990171
Signed-off-by: Al Bailey <email address hidden> Change-Id: Id9a091d9b8d2e5e3422f8483e7dff15833efdcaa
Reviewed: https:/ /review. opendev. org/c/starlingx /ansible- playbooks/ +/858406 /opendev. org/starlingx/ ansible- playbooks/ commit/ 514858c870caeaa 7ad518839bbac3a ac262293c0
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 514858c870caeaa 7ad518839bbac3a ac262293c0
Author: Al Bailey <email address hidden>
Date: Mon Sep 19 15:49:06 2022 +0000
Fix platform restore to handle missing resolv.conf
The resolv.conf file is no longer written to: platform/ config/ <ver>/resolv. conf
/opt/
It was removed from that location by: /review. opendev. org/c/starlingx /config/ +/856562
https:/
Any backup taken after that commit merged will not
contain the resolv.conf in that location, and any restore
would fail.
The resolv.conf is no longer needed at that location,
so updating the restore code to no longer try to restore it
from there.
Test Plan:
PASS - Perform a Backup / Restore of AIO-SX Debian
Closes-Bug: #1990171
Signed-off-by: Al Bailey <email address hidden> e3422f8483e7dff 15833efdcaa
Change-Id: Id9a091d9b8d2e5