fix(kernel-deploy): make mkagent fail loudly instead of returning no pod name #2033
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/mkagent-empty-pod-name"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is the open defect blocking the 6.18.44 CVE roll.
mkagentpiped straight intokubectl create -f - -o name. A rejected create wrote its reason to stderr and printed nothing on stdout, so the caller heldpod=""and every laterget pod ""failed into2>/dev/null.phasethen stayed EMPTY for the whole budget — which reads as the agent never starts, when the truth is the pod was never created.The
final-verifycopy had the same bug and never received the--request-timeoutfix from #2031. It now carries both, plus the explicit TIMED OUT message.Proof (stubbed kubectl, against the extracted scripts)
agent (kpre)empty name,phase=unknownbash -nclean on both scripts; YAML parses.