简体   繁体   中英

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:

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. 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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