che icon indicating copy to clipboard operation
che copied to clipboard

Too many errors on dogfooding instance: Failed to reconcile the SCC privileges in namespace '<user>-che': unknown user for <user>-che namespace

Open tolusha opened this issue 7 months ago • 1 comments

Is your task related to a problem? Please describe

Too many errors messages on operator log on dogfooding instance. The come from the fact, that namespace doesn't contain annotation che.eclipse.org/username

time="2025-06-04T04:40:30Z" level=error msg="Failed to reconcile the SCC privileges in namespace '<...>-che': unknown user for <...>-che namespace"
2025-06-04T04:40:30Z ERROR Reconciler error {"controller": "project", "controllerGroup": "project.openshift.io", "controllerKind": "Project", "Project": {"name":"<...>-che"}, "namespace": "", "name": "<...>-che", "reconcileID": "9a732b7b-c7fa-48ab-8f1f-9757a6c85bdd", "error": "unknown user for <...>-che namespace"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:329
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:274
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:235

Describe the solution you'd like

Add annotations with the corresponding name to users namespaces

Describe alternatives you've considered

No response

Additional context

No response

tolusha avatar Jun 04 '25 08:06 tolusha

Issues go stale after 180 days of inactivity. lifecycle/stale issues rot after an additional 7 days of inactivity and eventually close.

Mark the issue as fresh with /remove-lifecycle stale in a new comment.

If this issue is safe to close now please do so.

Moderators: Add lifecycle/frozen label to avoid stale mode.

che-bot avatar Dec 06 '25 01:12 che-bot