Attila Mészáros

Results 277 comments of Attila Mészáros

The problem seems to be with either k8s API or informer: ``` 2024-03-04 14:32:33,843 DEBUG [io.jav.ope.pro.eve.sou.con.ControllerResourceEventSource] (-1660409789-pool-11-thread-3) Event received for resource: ResourceID{name='test', namespace='default'} version: 3156 uuid: cd21c403-f3e4-4830-8efe-a597f77155c1 action: DELETED 2024-03-04...

Full log of a failing test case: ``` 2024-03-04 14:32:33,831 DEBUG [io.jav.ope.pro.eve.sou.con.ControllerResourceEventSource] (-1660409789-pool-11-thread-3) Event received for resource: ResourceID{name='test', namespace='default'} version: 3154 uuid: cd21c403-f3e4-4830-8efe-a597f77155c1 action: ADDED 2024-03-04 14:32:33,831 DEBUG [io.jav.ope.pro.eve.sou.con.ControllerResourceEventSource] (-1660409789-pool-11-thread-3)...

Why the test case fails: 1. we receive an update event after the finalizer added to the resource 2. the reconciliation process starts 3. meanwhile a Delete event received (for...

No there are no labels involved. This seems to be a race condition with the API server. If I add in a test waiting while the finalizer is actually added...

Btw AFAIK `Thread.sleep(5)` maybe yields but does not wait 5ms - in general sleep under 15ms does not wait.

asked also for clarification on k8s slack: https://kubernetes.slack.com/archives/C0EG7JC6T/p1709561696968339

thx @Javatar81 we will take a look, this might be an issue in fabric8 client, cc @shawkins @manusa

do we want to get a release with this?

One solution would be just simply tag the code during the release process, and replace the tag associated with the release with a proper one. It is really nice now,...

Hi, the issue is here, when mapping from owner references: https://github.com/operator-framework/java-operator-sdk/blob/a08d725a671136efe7270aab1e368f7155c10338/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/dependent/kubernetes/KubernetesDependentResource.java#L102-L102 To solve this cross namespace, we need to add `apiVersion`+`kind` into the referencing with annotation (additional annotation probably). (AFAIK...