B&R: Disable application upload and apply during restore

During restore pods get scheduled on a nonexistent node.
They hang.
Keep-alives are done on network assigned to loopback, thus other nodes
are seen as running.

No need to upload since sysinv and helm_charts are restored at a later
moment.
Don't apply the apps before unlock.
Apps must be applied manually after unlock.
A future commit will introduce auto applying of apps after unlock.

Story: 2006770
Task: 39841
Change-Id: I7ba130ed32c7624faa037c648a8bbcaf6330464f
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
This commit is contained in:
Dan Voiculeasa
2020-05-25 17:30:48 +03:00
parent 3624b86002
commit 555677f863

View File

@@ -38,6 +38,7 @@
- name: Upload and apply applications
include: upload_and_apply_application.yml application={{ item }}
with_items: "{{ applications }}"
when: mode != 'restore'
- name: Revert /etc/resolv.conf from coredns
command: "sed -i -e 's|nameserver {{ (cluster_service_subnet |