Skip to content

Let the provisioning dump say why it is empty - #257

Open
vitramir wants to merge 1 commit into
mainfrom
fix/provision-diagnostic-keeps-stderr
Open

Let the provisioning dump say why it is empty#257
vitramir wants to merge 1 commit into
mainfrom
fix/provision-diagnostic-keeps-stderr

Conversation

@vitramir

Copy link
Copy Markdown
Contributor

E2E has failed on every repo since 2026-08-09 with:

✗ Waiting for the platform  the platform did not become ready within 5m0s (the platform is provisioning its organization)

and the diagnostic that exists to explain it prints:

pods that are not ready: none
workloads:               (nothing)
recent events:           (nothing)

Every command in that step ended in 2>/dev/null, so an empty namespace and an unreachable cluster produce identical output. Both match what we see, and there is no way to tell which from the log.

This keeps stderr, and asks whether the cluster answers (cluster-info, get nodes, get ns) before asking what is inside agyn-platform.

It also prints the system Organization. That object is baked into the image, not provisioned at boot — a VM created today and one created two days ago report the same creationTimestamp and the same organizationId, because both come from the image. So the CLI's "provisioning its organization" is misleading: the field is blank because the baked state is not there, not because something is still working.

No behaviour change outside the if: failure() block.

Every command in the dump ended in 2>/dev/null, so a namespace with nothing
in it and a cluster kubectl cannot reach print the same nothing. Both are
what the last week of failures look like, and the step that exists to tell
them apart discarded the answer.

It now asks whether the cluster answers before asking what is in it, and
prints the organization the readiness wait blocks on. That object is baked
into the image rather than provisioned at boot, so 'the platform is
provisioning its organization' means the baked state is not there, not that
something is still running.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant