StatusNotWritten
Docs version v1 (main)Nauthera is pre-1.0, in a design-partner program
An outcome could not be written to the resource's status; a Warning event on the resource, with no condition of its own.
Meaning
The operator reached an outcome and the API server refused the status update. The event
carries the outcome's reason and message and the API server's error. Causes: the resource
changed between read and write (a conflict), the operator lacks permission on the kind's
status, the API server was unavailable, or the installed resource definition is older
than the operator and refuses a field. The reconcile is retried with backoff.
Impact
The resource shows a stale condition, so the application team reads an old state. What the operator did on the server (registered, refused, removed) still happened. One event followed by a fresh condition needs nothing; repeated events leave every reader of status misled.
Diagnosis
kubectl get events -A --field-selector reason=StatusNotWrittenfor the API server's error.increase(nauthera_byoperator_ reconciles_ total{reason="StatusNotWritten"}[1h]) kind.kubectl auth can-i update oidcclients/.status --as=system: serviceaccount: <release-ns>: <release>-operator -A kubectl get crd oidcclients.against the chart version installed.nauthera. io -o yaml
Mitigation
- A conflict resolves on retry. Persistent ones point to another controller writing status.
- Missing permission: set
operator.or restore the ClusterRole'srbac. create: true statusrules. - An old definition: keep
operator.socrds. install: true helm upgradeapplies it.
Escalation
Escalate to the platform team when events repeat for more than a few minutes. If permission
and definitions are current and the API server still refuses the field, open an issue with
the event, both versions and kubectl get crd <crd> -o yaml.
Operator failure reasons · Generated from operator/ in nauthera-server.