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
This commit is contained in:
1 parent
c8422fa10f
commit
700493d95f
2 files changed
+11
-2
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user