manually setup redfish tools to allow parallel run 12/1912/1
authordavidplunkett <dp7642@att.com>
Mon, 4 Nov 2019 22:21:09 +0000 (22:21 +0000)
committerdavidplunkett <dp7642@att.com>
Mon, 4 Nov 2019 22:21:09 +0000 (22:21 +0000)
Pre-run /opt/akraino/redfish/setup_tools.sh to prevent race
condition from occuring when BIOS updates and genesis OS install
occur in parallel.

Signed-off-by: davidplunkett <dp7642@att.com>
Change-Id: I5c1e608477c9fd6564f08d916a6acfdf0c29e805

tools/2genesis.sh

index dca7c91..3c2888b 100755 (executable)
@@ -45,6 +45,9 @@ source $(dirname $0)/env_$SITE.sh
 
 cd $YAML_BUILDS
 
+echo "# Setup redfish tools to avoid race condition"
+/opt/akraino/redfish/setup_tools.sh
+
 FILENAME=$(mktemp)
 echo "# Updating BIOS settings on master and worker nodes in background [$FILENAME]"
 python $YAML_BUILDS/scripts/update_bios_settings.py $SITE.yaml >$FILENAME &