myroch commented on issue #6761:
URL: https://github.com/apache/camel-quarkus/issues/6761#issuecomment-2492934992
Hello James, problem exists in LTS 3.15 as well. I've enabled DEBUG logs and
I can see following exceptions:
```
Error while closing watcher: io.fabric8.kubernetes.client.WatcherException:
The resourceVersion for the provided watch is too old.
at
io.fabric8.kubernetes.client.dsl.internal.AbstractWatchManager.onStatus(AbstractWatchManager.java:401)
at
io.fabric8.kubernetes.client.dsl.internal.AbstractWatchManager.onMessage(AbstractWatchManager.java:369)
```
or
```
Error received during lease resource lock replace:
io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: PUT
at:
https://100.68.0.1:443/apis/coordination.k8s.io/v1/namespaces/lab-mdc-leaderelection-dev/leases/lab-mdc-leaderelection-dev-mylease.
Message: Operation cannot be fulfilled on leases.coordination.k8s.io
"lab-mdc-leaderelection-dev-mylease": 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=coordination.k8s.io, kind=leases,
name=lab-mdc-leaderelection-dev-mylease, retryAfterSeconds=null, uid=null,
additionalProperties={}), kind=Status, message=Operation cannot be fulfilled on
leases.coordination.k8s.io "lab-mdc-leaderelection-dev-mylease": 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={}).
at
io.fabric8.kubernetes.client.KubernetesClientException.copyAsCause(KubernetesClientException.java:238)
at
io.fabric8.kubernetes.client.dsl.internal.OperationSupport.waitForResult(OperationSupport.java:507)
at
io.fabric8.kubernetes.client.dsl.internal.OperationSupport.handleResponse(OperationSupport.java:524)
```
or
```
Exception thrown during lease resource lookup:
io.fabric8.kubernetes.client.KubernetesClientException: The timeout period of
10000ms has been exceeded while executing GET
/apis/coordination.k8s.io/v1/namespaces/lab-mdc-leaderelection-dev/leases/lab-mdc-leaderelection-dev-mylease
for server null
at
io.fabric8.kubernetes.client.dsl.internal.OperationSupport.waitForResult(OperationSupport.java:509)
at
io.fabric8.kubernetes.client.dsl.internal.OperationSupport.handleResponse(OperationSupport.java:524)
at
io.fabric8.kubernetes.client.dsl.internal.OperationSupport.handleGet(OperationSupport.java:467)
```
Do you have any idea what shall I change?
Thx allot for helping!
m.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]