Skip to content

fix: propagate preliminary aux ConfigMap errors during reconcile (fixes #2094) - #2110

Open
Tyagiquamar wants to merge 2 commits into
Altinity:masterfrom
Tyagiquamar:fix/preliminary-configmap-error-propagation-2094
Open

Tyagiquamar wants to merge 2 commits into
Altinity:masterfrom
Tyagiquamar:fix/preliminary-configmap-error-propagation-2094

Conversation

@Tyagiquamar

Copy link
Copy Markdown

Summary

reconcileCRAuxObjectsPreliminary in both chi and chk workers previously swallowed errors from reconcileConfigMapCommon and reconcileConfigMapCommonUsers, logging the failure but returning nil. This allowed WalkTillError to proceed directly to reconciling clusters and creating StatefulSets/Pods while common ConfigMaps were absent, causing pods to hang in Init waiting on non-existent mounts and stalling for the 300s StatefulSet wait timeout.

Return the error from reconcileCRAuxObjectsPreliminary immediately so WalkTillError halts promptly when preliminary ConfigMaps fail, and add regression tests.

Fixes Altinity#2094

This branch has not been deployed

No deployments
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