Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions startupscript/butane/probe-proxy-readiness.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ done

if [[ ${retry_count} -ge ${MAX_RETRIES} ]]; then
echo "Timeout waiting for proxy-agent or application-server to be ready"
status="$(get_guest_attribute "startup_script/status" "")"
if [[ "${status}" != "ERROR" ]]; then
set_metadata "startup_script/status" "ERROR"
set_metadata "startup_script/message" "Timeout waiting for containers to be ready. Please try restarting the VM."
fi
exit 1
fi

Expand Down
Loading