简体   繁体   English

Pod停止工作,错误,提供的手表的resourceVersion太旧

[英]Pod stopped working with error the resourceVersion for the provided watch is too old

I deployed pod in OpenShift cluster, it stops processing PVC's after some time and it is giving following statements in log: 我将Pod部署在OpenShift集群中,一段时间后它停止处理PVC,并且在日志中给出以下语句:

watch of *v1.PersistentVolume ended with:The resourceVersion for the provided watch is too old.
watch of *v1.StorageClass ended with: The resourceVersion for the provided watch is too old.
watch of *v1.PersistentVolumeClaim ended with: The resourceVersion for the provided watch is too old.

I wanted to know in which case above error occures and how to handle it. 我想知道在哪种情况下会发生上述错误以及如何处理。

It's informational as suggested in your question's comments: 正如您的问题评论中所建议的那样,它具有参考意义:

The warning is issued as a result of watch being restarted, which happens when etcd drops the connection and we relist the resources. 警告是由于监视重新启动而发生的,该事件在etcd断开连接并且我们重新列出资源时发生。 This warning is not fatal and informs the user that the watchers are operating properly. 该警告不是致命的,它会通知用户观察者运行正常。 If customer won't see this warning in logs, that will be somewhat concerning and might suggest that their watches/cache is not healthy. 如果客户在日志中看不到此警告,则可能会令人担忧,并可能表明其手表/缓存不健康。

https://bugzilla.redhat.com/show_bug.cgi?id=1573460 https://bugzilla.redhat.com/show_bug.cgi?id=1573460

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM