Allow system backup with portieris applied
B&R was not allowed with portieris applied due to its webhook blocking pods during restore when the local registry was not populated yet. Several commits (listed as dependencies below) were done in order to fix this behavior. This reverts commit 888fa40a to allow Portieris during Backup/Restore. Closes-Bug: 1890630 Depends-on: https://review.opendev.org/c/starlingx/config/+/806051 Depends-on: https://review.opendev.org/c/starlingx/portieris-armada-app/+/807305 Depends-on: https://review.opendev.org/c/starlingx/portieris-armada-app/+/787625 Change-Id: I3df65a3db412f19068faf92fbea856a83e2e2550 Signed-off-by: Rafael Camargos <RafaelLucas.Camargos@windriver.com>
This commit is contained in:
parent
165816eeff
commit
b46e0da50e
@ -48,15 +48,6 @@
|
||||
msg: "system_mode is not set in /etc/platform/platform.conf"
|
||||
when: check_system_mode.rc != 0
|
||||
|
||||
- name: Check if portieris application is applied
|
||||
shell: source /etc/platform/openrc; system application-list | grep -i "portieris" | grep -v "uploaded" || true
|
||||
register: portieris_applied
|
||||
|
||||
- name: Fail if portieris application is applied
|
||||
fail:
|
||||
msg: "Unable to take backup when portieris application applied"
|
||||
when: portieris_applied.stdout
|
||||
|
||||
- name: set system_mode
|
||||
set_fact:
|
||||
system_mode: "{{ check_system_mode.stdout.split('=')[1] }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user