aerogear-attic / keycloak-operator

operates keycloaks
4 stars 2 forks source link

Logged error during deprovision #34

Open witmicko opened 6 years ago

witmicko commented 6 years ago

reproduce: oc delete keycloak ${keycloak instance name} e.g. oc delete keycloak integreatly works as expected - removes all related resources, but operator itself has an error in its logs:

time="2018-09-17T09:53:51Z" level=info msg="Keycloak: integreatly, Phase: provisioned"
time="2018-09-17T09:53:51Z" level=error msg="error syncing key (mogrodni/integreatly): Operation cannot be fulfilled on keycloaks.aerogear.org \"integreatly\": StorageError: invalid object, Code: 4, Key: /kubernetes.io/aerogear.org/keycloaks/mogrodni/integreatly, ResourceVersion: 0, AdditionalErrorMsg: Precondition failed: UID in precondition: 35538bc9-ba5f-11e8-89ec-0aa1040ba90a, UID in object meta: "
time="2018-09-17T09:53:51Z" level=info msg="Keycloak: integreatly, Phase: provisioned"
time="2018-09-17T09:53:52Z" level=error msg="error syncing key (mogrodni/integreatly): Operation cannot be fulfilled on keycloaks.aerogear.org \"integreatly\": StorageError: invalid object, Code: 4, Key: /kubernetes.io/aerogear.org/keycloaks/mogrodni/integreatly, ResourceVersion: 0, AdditionalErrorMsg: Precondition failed: UID in precondition: 35538bc9-ba5f-11e8-89ec-0aa1040ba90a, UID in object meta: "