From 77c91e83ac7a878d2df1b6cf6e6c27c8d612a5a5 Mon Sep 17 00:00:00 2001 From: "Sphicas, Phil (ps3910)" Date: Thu, 22 Aug 2019 08:34:09 -0700 Subject: [PATCH] (fix) Add apparmor profiles on genesis node in multinode gate Prior change[0] breaks if apparmor profiles are not present in the manifest. This commit allows the script to proceed if they are not found. [0]: https://review.opendev.org/#/c/676532/ Change-Id: Idc3f458c0002c707afceb6609de6822fb638f608 --- tools/multi_nodes_gate/airship_gate/lib/bootaction-runner.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/multi_nodes_gate/airship_gate/lib/bootaction-runner.sh b/tools/multi_nodes_gate/airship_gate/lib/bootaction-runner.sh index ef841d1a..6608e114 100755 --- a/tools/multi_nodes_gate/airship_gate/lib/bootaction-runner.sh +++ b/tools/multi_nodes_gate/airship_gate/lib/bootaction-runner.sh @@ -141,7 +141,7 @@ fi if [[ ! $DISABLE_APPARMOR_PROFILES ]]; then manifests_lookup "$rendered_file" "drydock/BootAction/v1" \ - "apparmor-profiles" "['data']['assets']" "get_size" + "apparmor-profiles" "['data']['assets']" "get_size" "true" if [[ -n "$RESULT" ]] && [[ $RESULT -gt 0 ]]; then