Merge ~cjwatson/launchpad-bastion-scripts:ignore-haproxy-queue-depth-checks into launchpad-bastion-scripts:main

Proposed by Colin Watson
Status: Merged
Merged at revision: 15bbe3c5db7fe1d0d9fe02e6aeda6a592e001220
Proposed branch: ~cjwatson/launchpad-bastion-scripts:ignore-haproxy-queue-depth-checks
Merge into: launchpad-bastion-scripts:main
Diff against target: 16 lines (+6/-1)
1 file modified
upgrade-production (+6/-1)
Reviewer Review Type Date Requested Status
Ines Almeida Approve
Review via email: mp+447523@code.launchpad.net

Commit message

Ignore haproxy queue depth checks for production deployments

Description of the change

This doesn't mean that we should ignore them in general, just that they shouldn't block deployments.

To post a comment you must log in.
Revision history for this message
Ines Almeida (ines-almeida) wrote :

How will we make sure we won't ignore them? Should we add in the documentation a note to check these specifically and raise them in the ~is chat or similar?

review: Approve
Revision history for this message
Colin Watson (cjwatson) wrote :

I think we'll need to update the nagiprom definitions in lp:canonical-is-prometheus. I filed https://warthogs.atlassian.net/browse/LP-1296 for this.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/upgrade-production b/upgrade-production
index 9c6a5a1..da01057 100755
--- a/upgrade-production
+++ b/upgrade-production
@@ -1,5 +1,10 @@
1#! /bin/sh1#! /bin/sh
2set -e2set -e
33
4# Ignore haproxy queue depth checks for deployment purposes: they may need
5# to be handled by IS, but are unlikely to relate very closely to code
6# deployments.
7skip_checks=check_haproxy_queue_depth
8
4mkdir -p "$HOME/logs"9mkdir -p "$HOME/logs"
5ssh prod-launchpad@is-bastion-ps5.internal autodeploy-trigger prod-launchpad 2>&1 | tee -a "$HOME/logs/$(date +%F).log"10ssh prod-launchpad@is-bastion-ps5.internal autodeploy-trigger prod-launchpad EXTRA_SKIP_CHECKS="$skip_checks" 2>&1 | tee -a "$HOME/logs/$(date +%F).log"

Subscribers

People subscribed via source and target branches