|
my reap poll reported REAPED while the controller was down -- absence-test defect
The background wait-loop polled 'juju models | grep -q name: admin/vr1-dc0' and broke when the grep MISSED, reporting 'REAPED after ~2730s'. The model was still there. With the API refused, juju models prints NOTHING, the grep matches nothing, and the absence-test read empty output as 'gone'. Verified after: port 17070 still REFUSED, model still present. This is verbatim the rule this repo already states -- 'could not look' is never 'nothing there' -- failing in a checker I wrote in the same session I wrote that sentence into this very runbook. Same command also used 'cmd | head -3; rc=0', which captures head's status, not the command's. Path M gains a second instrument warning: poll on a POSITIVE signal -- require juju models to actually return model lines, then ask whether the target is among them; treat empty output or a non-zero juju exit as REFUSE, never as gone. No mutating action taken. Controller remains down; awaiting the operator's decision on the rebuild. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HvCyrwvYTTcDYnRErfMsNf |
|---|
|
|
| runbooks/dc-dc-teardown-rollback.md |
|---|