You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Deploy guard: a stopped kind cluster blocks a CRC deploy, and down.sh was refused #487
In-ProgressWork started and not complete; the comment gives the pull request or the jobbugSomething isn't workingsev:lowA small defect, a defect no code path reaches yet, or a cleanup
Part of #13. Found in OB1 run 27 (deploy of fb727b5 on CRC), 2026-11-20.
What happened. The owner asked for kind to be shut down. It was stopped, not deleted: podman stop cmapi-test-control-plane at 08:14:13Z. docs/13 step 2 (deploy/crc-guard.py preflight, lines 197-204) runs kind get clusters. That command still lists the stopped cluster, so the guard stops the deploy: STOP: a kind cluster exists or cannot be listed: ['cmapi-test']; none may run during a CRC step.
The documented fix is deploy/kind-import/down.sh, and Claude Code's auto mode refused it ("Destructive or Unwanted Actions"). The refusal stands. Exact command:
cd /Users/olasumbo/gitRepos/workbench/cmapi/wt27-deploy; KIND_IMPORT_KUBECONFIG=/Users/olasumbo/gitRepos/workbench/cmapi/wt26-deploy/.cmapi-test.kubeconfig deploy/kind-import/down.sh
From reading the code (not run): with the cluster stopped, down.sh's check_served probably fails before it deletes anything; only --stale skips that check.
Question for research. The guard exists to protect CRC's memory headroom during a deploy, and a stopped kind node uses none. Should step 2 accept a cluster whose node containers have all exited? Alternatively, the procedure could say how to deploy while kind is intentionally off. Research the guard's original reason (docs/13 "A second cluster: kind", the memory-pressure incidents), pick the safer rule, and test it on both a running and a stopped kind.
Research mandate. Read the primary sources (kind and podman container states, the guard's history), fix the cause, and record the decision.
In-ProgressWork started and not complete; the comment gives the pull request or the jobbugSomething isn't workingsev:lowA small defect, a defect no code path reaches yet, or a cleanup
Activity