Mobrovac has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/329479 )
Change subject: Scap: Depool and repool CXServer during restarts ...................................................................... Scap: Depool and repool CXServer during restarts Bug: T144602 Change-Id: I6e25fce272c1ce9f4d91995b41ef3e507ae0fb26 --- M scap/checks.yaml A scap/environments/beta/checks.yaml M scap/scap.cfg 3 files changed, 12 insertions(+), 0 deletions(-) Approvals: Mobrovac: Verified; Looks good to me, approved diff --git a/scap/checks.yaml b/scap/checks.yaml index 2e4cf0f..3c4aa96 100644 --- a/scap/checks.yaml +++ b/scap/checks.yaml @@ -3,3 +3,11 @@ type: nrpe stage: restart_service command: check_endpoints_cxserver + depool: + type: command + stage: promote + command: depool-cxserver + repool: + type: command + stage: restart_service + command: pool-cxserver diff --git a/scap/environments/beta/checks.yaml b/scap/environments/beta/checks.yaml new file mode 100644 index 0000000..f6fc106 --- /dev/null +++ b/scap/environments/beta/checks.yaml @@ -0,0 +1,3 @@ +checks: + depool: {} + repool: {} diff --git a/scap/scap.cfg b/scap/scap.cfg index 61f19a5..65acec0 100644 --- a/scap/scap.cfg +++ b/scap/scap.cfg @@ -6,6 +6,7 @@ server_groups: canary, default canary_dsh_targets: target-canary dsh_targets: targets +group_size: 2 git_submodules: True service_name: cxserver service_port: 8080 -- To view, visit https://gerrit.wikimedia.org/r/329479 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I6e25fce272c1ce9f4d91995b41ef3e507ae0fb26 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/services/cxserver/deploy Gerrit-Branch: master Gerrit-Owner: Mobrovac <mobro...@wikimedia.org> Gerrit-Reviewer: Mobrovac <mobro...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits