Skip to content

chore(stackable-operator): Demote kube_runtime::controller::Error::QueueError to warning#1168

Merged
NickLarsenNZ merged 5 commits intomainfrom
fix/reconciler-queue-warnings
Mar 10, 2026
Merged

chore(stackable-operator): Demote kube_runtime::controller::Error::QueueError to warning#1168
NickLarsenNZ merged 5 commits intomainfrom
fix/reconciler-queue-warnings

Conversation

@NickLarsenNZ
Copy link
Member

Fixes https://github.com/stackabletech/internal-issues/issues/159

Unfortunately there is no way to discriminate the various errors we could receive from the k8s API (without resorting to string matching, which is fragile when there is no logging contract).

We can at least make QueueError become a warning instead of an error. This will also make any other queue errors appear the same, however.

…eueError to warning

Note: This is because _everything_ was appearing as an error even when it was non-actionable. For example, when the crd maintainer updates the CA bundle on the CRD, the `metadata.resourceVersion changes` as expected. That leads to a controller error. Unfortunately there is currently no good way to discriminate error types. Something might need to be done upstream.
@NickLarsenNZ NickLarsenNZ moved this from Development: In Progress to Development: Waiting for Review in Stackable Engineering Mar 10, 2026
@Techassi Techassi self-requested a review March 10, 2026 11:52
@NickLarsenNZ NickLarsenNZ enabled auto-merge March 10, 2026 12:01
Techassi
Techassi previously approved these changes Mar 10, 2026
@Techassi Techassi moved this from Development: Waiting for Review to Development: In Review in Stackable Engineering Mar 10, 2026
@NickLarsenNZ NickLarsenNZ added this pull request to the merge queue Mar 10, 2026
Merged via the queue into main with commit b9ed7b1 Mar 10, 2026
5 checks passed
@NickLarsenNZ NickLarsenNZ deleted the fix/reconciler-queue-warnings branch March 10, 2026 13:08
@Techassi Techassi moved this from Development: In Review to Development: Done in Stackable Engineering Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Development: Done

Development

Successfully merging this pull request may close these issues.

2 participants