Skip to content

fix(ocp_console_embed): fix router rollout wait failing on transient API errors#69

Merged
andrew-jones merged 1 commit into
mainfrom
fix-router-rollout-no-resource-yet
May 1, 2026
Merged

fix(ocp_console_embed): fix router rollout wait failing on transient API errors#69
andrew-jones merged 1 commit into
mainfrom
fix-router-rollout-no-resource-yet

Conversation

@andrew-jones

Copy link
Copy Markdown
Collaborator

When the IngressController patch triggers a router rolling update, k8s_info can temporarily fail (connection refused/timeout) because the router pods themselves serve cluster ingress. The failed result dict lacks a .resources attribute, causing the until condition evaluation to error out and kill the retry loop instead of retrying.

Changes

  • Add r_router_rollout is not failed as the first until condition in wait-router-rollout.yml, so Ansible short-circuits and retries instead of crashing on a missing .resources attribute when k8s_info returns a failure dict.

@andrew-jones andrew-jones merged commit bec915d into main May 1, 2026
1 check passed
@andrew-jones andrew-jones deleted the fix-router-rollout-no-resource-yet branch May 1, 2026 04:20
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