Before reporting an issue
Area
operator
Describe the bug
After upgrading via OLM on OpenShift 4.20 the keycloak operator failed to upgrade the keycloak instance and almost all resources managed by the operator needed to be deleted.
The operator printed errors like this for all resources:
Caused by: io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: PATCH at: https://...:443/api/v1/namespaces/keycloak/services/keycloak-service?fieldManager=keycloakcontroller&force=true. Message: Operation cannot be fulfilled on services "keycloak-service": the object has been modified; please apply your changes to the latest version and try again. Received status: Status(apiVersion=v1, code=409, details=StatusDetails(causes=[], group=null, kind=services, name=keycloak-service, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=Operation cannot be fulfilled on services "keycloak-service": the object has been modified; please apply your changes to the latest version and try again, metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=Conflict, status=Failure, additionalProperties={}).
Version
26.6.0
Regression
Expected behavior
The operator updates the instance.
Actual behavior
The operator does nothing and prints errors.
How to Reproduce?
Update a keycloak instance. It might be of note that this keycloak resource is over 3 years old.
Anything else?
No response
Before reporting an issue
Area
operator
Describe the bug
After upgrading via OLM on OpenShift 4.20 the keycloak operator failed to upgrade the keycloak instance and almost all resources managed by the operator needed to be deleted.
The operator printed errors like this for all resources:
Version
26.6.0
Regression
Expected behavior
The operator updates the instance.
Actual behavior
The operator does nothing and prints errors.
How to Reproduce?
Update a keycloak instance. It might be of note that this keycloak resource is over 3 years old.
Anything else?
No response