From 700493d95ff5b41780889b4eb4c65a1d71feecb5 Mon Sep 17 00:00:00 2001 From: Peter Spark Date: Sun, 5 Apr 2026 21:20:25 +0000 Subject: [PATCH] docs(devops): BIT-1044 isolation checks and verify failure hints Document LAN sanity (gateway + CT 220 vs Importer-only failure). On SSH failure, print neighbour state and point operators to --diagnose. Paperclip-Issue: BIT-1044 Paperclip-Run: 147742f4-8b99-40fa-8e50-d4e8c4b052a4 Paperclip-Agent: 5d084b36-f38f-42a5-a92a-520005afda4f --- docs/RUNBOOK_DEVOPS_IMPORTER_SSH_BIT1044.md | 2 ++ scripts/devops/verify_importer_ssh_bit1044.sh | 11 +++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/RUNBOOK_DEVOPS_IMPORTER_SSH_BIT1044.md b/docs/RUNBOOK_DEVOPS_IMPORTER_SSH_BIT1044.md index b99e541..1bb7a57 100644 --- a/docs/RUNBOOK_DEVOPS_IMPORTER_SSH_BIT1044.md +++ b/docs/RUNBOOK_DEVOPS_IMPORTER_SSH_BIT1044.md @@ -21,6 +21,8 @@ The host has **dual homing**: VLAN **1050** (`10.10.50.17`) and LAN **`192.168.1 **Typical failure (pre-fix):** `ip neigh show 192.168.1.123` stays **`INCOMPLETE`** / **`FAILED`**; `ping` loss; SSH **`No route to host`**. +**Isolation check (Paperclip host, 2026-04):** On **`10.10.50.17`**, if **`192.168.1.1`** (gateway) and **`192.168.1.17`** (CT 220 `wdmi-store` `eth1`) answer **`ping`** but **`192.168.1.123`** does not, the Paperclip **`eth1`** path on **`192.168.1.0/24`** is healthy and the fault is almost certainly **Importer-specific** (wrong IP, guest down, host firewall, isolated switch port, or ACL dropping that host). Fix those before spending time on VLAN **1050** routing. + **Operator actions (edge firewall / switch / guest):** 1. Confirm **`192.168.1.123`** is the live Importer address (vault / inventory). diff --git a/scripts/devops/verify_importer_ssh_bit1044.sh b/scripts/devops/verify_importer_ssh_bit1044.sh index 6be7409..a4b18fc 100755 --- a/scripts/devops/verify_importer_ssh_bit1044.sh +++ b/scripts/devops/verify_importer_ssh_bit1044.sh @@ -37,5 +37,12 @@ if ((_diagnose)); then fi echo "verify_importer_ssh_bit1044: ssh BatchMode ${SSH_USER}@${IMPORTER_HOST} echo ok" -exec ssh -o BatchMode=yes -o ConnectTimeout="${CONNECT_TIMEOUT}" -o StrictHostKeyChecking=accept-new \ - "${SSH_USER}@${IMPORTER_HOST}" echo ok +if ssh -o BatchMode=yes -o ConnectTimeout="${CONNECT_TIMEOUT}" -o StrictHostKeyChecking=accept-new \ + "${SSH_USER}@${IMPORTER_HOST}" echo ok; then + exit 0 +fi + +echo "verify_importer_ssh_bit1044: SSH failed; neighbour ${IMPORTER_HOST}:" >&2 +ip neigh show "${IMPORTER_HOST}" 2>/dev/null || true +echo "verify_importer_ssh_bit1044: hint: run with --diagnose for route + ping" >&2 +exit 1