[kubernetes/kubernetes] Failed to set statusUpdateNeeded to needed true because nodeName="node-v1-test" does not exist (#42158)

659 views
Skip to first unread message

Maciej Szulik

unread,
Feb 27, 2017, 8:18:24 AM2/27/17
to kubernetes/kubernetes, k8s-mirror-storage-bugs, Team mention

Noticed that in here, this part:

W0227 04:39:11.830] E0227 04:39:11.830126   21448 actual_state_of_world.go:461] Failed to set statusUpdateNeeded to needed true because nodeName="node-v1-test"  does not exist
W0227 04:39:11.830] E0227 04:39:11.830158   21448 actual_state_of_world.go:475] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true because nodeName="node-v1-test"  does not exist
I0227 04:39:11.931] node "node-v1-test" created
W0227 04:39:12.232] Error from server (Conflict): error when replacing "STDIN": Operation cannot be fulfilled on nodes "node-v1-test": the object has been modified; please apply your changes to the latest version and try again
W0227 04:39:12.239] !!! [0227 04:39:12] Call tree:
W0227 04:39:12.241] !!! [0227 04:39:12]  1: /go/src/k8s.io/kubernetes/hack/make-rules/test-cmd-util.sh:2917 run_pod_tests(...)

@kubernetes/sig-node-bugs || @kubernetes/sig-storage-bugs can you have a look at it?


You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Andy Goldstein

unread,
Feb 27, 2017, 4:25:10 PM2/27/17
to kubernetes/kubernetes, k8s-mirror-storage-bugs, Team mention

Dupe of #41892

Andy Goldstein

unread,
Feb 27, 2017, 4:25:10 PM2/27/17
to kubernetes/kubernetes, k8s-mirror-storage-bugs, Team mention

Closed #42158.

YiChen Wang

unread,
Mar 14, 2017, 7:08:17 AM3/14/17
to kubernetes/kubernetes, k8s-mirror-storage-bugs, Team mention

I am also the same problem

dmnord

unread,
Mar 31, 2017, 12:54:58 AM3/31/17
to kubernetes/kubernetes, k8s-mirror-storage-bugs, Team mention

And me too! How to resolve this issue? Where can I get right documentation/description? :-(

Frank Solli

unread,
Oct 13, 2017, 7:31:44 AM10/13/17
to kubernetes/kubernetes, k8s-mirror-storage-bugs, Team mention

Same here.

Harry Zhang

unread,
Oct 13, 2017, 9:59:30 AM10/13/17
to kubernetes/kubernetes, k8s-mirror-storage-bugs, Team mention

@2knarf This should be fixed in #43152 which is included in 1.7

Are you using the latest Kubernetes release?

YichenWong

unread,
Jan 30, 2018, 5:45:40 AM1/30/18
to kubernetes/kubernetes, k8s-mirror-storage-bugs, Team mention

@resouer Appears again in the 1.9.1 version.

[root@ip-10-101-2-181 ~]# tail -500f /data/logs/kubernetes/kube-controller-manager.ERROR
Log file created at: 2018/01/30 18:38:59
Running on machine: ip-10-101-2-181
Binary: Built with gc go1.9.2 for linux/amd64
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
E0130 18:38:59.082300   10461 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true because nodeName="ip-10-101-2-91.cn-north-1.compute.internal"  does not exist
E0130 18:38:59.082841   10461 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true because nodeName="ip-10-101-2-168.cn-north-1.compute.internal"  does not exist
E0130 18:38:59.082887   10461 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true because nodeName="ip-10-101-2-204.cn-north-1.compute.internal"  does not exist

Deven Fan

unread,
Feb 4, 2018, 9:48:58 AM2/4/18
to kubernetes/kubernetes, k8s-mirror-storage-bugs, Team mention

Kuberntes 1.9.1

root@ubuntu-105:/var/log/kubernetes# tail -f kube-controller-manager.ERROR
Log file created at: 2018/02/04 22:44:19
Running on machine: ubuntu-105


Binary: Built with gc go1.9.2 for linux/amd64
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg

E0204 22:44:19.133862 2013 core.go:73] Failed to start service controller: WARNING: no cloud provider provided, services of type LoadBalancer will fail
E0204 22:44:29.316850 2013 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true because nodeName="ubuntu-64" does not exist

mritd

unread,
Apr 16, 2018, 5:49:27 AM4/16/18
to kubernetes/kubernetes, k8s-mirror-storage-bugs, Team mention

Same here.(1.10.0 when reboot controller manager)

Andy Goldstein

unread,
Apr 16, 2018, 10:20:06 AM4/16/18
to kubernetes/kubernetes, k8s-mirror-storage-bugs, Team mention

Sorry, just noticed the updates on this issue.

The history on this issue is a little confusing. It was opened because a test failed in CI. While it looks like the failure was this:

W0227 04:39:11.830] E0227 04:39:11.830158   21448 actual_state_of_world.go:475] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true because nodeName="node-v1-test"  does not exist

it was actually this:

W0227 04:39:12.232] Error from server (Conflict): error when replacing "STDIN": Operation cannot be fulfilled on nodes "node-v1-test": the object has been modified; please apply your changes to the latest version and try again

The test that failed was a kubectl replace call to replace a node. It failed because there was a conflict, and the apiserver was using stale data from its watch cache (filed as #41892). The fix was to fetch the latest version of the conflicted object, and then retry the operation (#43152).

As far as the Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true because nodeName="node-v1-test" does not exist error, I assume that is unrelated to the stale watch cache data issue that has since been fixed.

We can either reopen this and repurpose it as a storage issue, or we can create a new one. Either is fine with me.

mritd

unread,
Apr 16, 2018, 8:45:48 PM4/16/18
to kubernetes/kubernetes, k8s-mirror-storage-bugs, Team mention

On my 1.10.0 cluster (the three master nodes), when I try to restart the controller-manager component of a node, the controller-manager of other nodes will try to re-election. The controller-manager component logs after successful election will There is this warning message.

Apr 16 17:47:46 test37.node hyperkube[7518]: W0416 17:47:46.152050    7518 reflector.go:341] k8s.io/kubernetes/vendor/k8s.io/client-go/informers/factory.go:87: watch of *v1beta1.Event ended with: The resourceVersion for the provided watch is too old.

mritd

unread,
Apr 16, 2018, 8:59:53 PM4/16/18
to kubernetes/kubernetes, k8s-mirror-storage-bugs, Team mention

I'm not sure about the cause of this problem, but it looks similar to the #49549 issue, this issue is mentioned through the #49567 PR fix; currently #49567 PR nobody is concerned about being closed.

Gabriel Sousa

unread,
May 16, 2018, 11:14:46 AM5/16/18
to kubernetes/kubernetes, k8s-mirror-storage-bugs, Team mention

v.1.10.2 has the problem too

 W0516 12:21:51.186408       1 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="app197" does not exist
W0516 12:21:51.186438       1 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="app198" does not exist
W0516 12:21:51.187172       1 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="app199" does not exist 

Jing Xu

unread,
May 16, 2018, 4:41:24 PM5/16/18
to kubernetes/kubernetes, k8s-mirror-storage-bugs, Team mention

@gabrielfsousa could you please provide more information about the error? In what situation you saw this error? How long did it last? Any other problems except the log message?
Also, as @ncdc mentioned, the initial issue for this thread might be very different from what you have now. If it is the case, we can open another issue.

primeroz

unread,
Aug 29, 2018, 6:38:07 AM8/29/18
to kubernetes/kubernetes, k8s-mirror-storage-bugs, Team mention

@ncdc @jingxu97 I still see the same issue on v1.11.2 , exact same output

W0829 09:30:43.715195       1 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="worker-medium01" does not exist
W0829 09:30:43.715403       1 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="master01" does not exist
W0829 09:30:43.715781       1 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="master02" does not exist
W0829 09:30:43.715864       1 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="master03" does not exist
W0829 09:30:43.716009       1 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="worker-medium02" does not exist
W0829 09:30:43.716221       1 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="worker-medium03" does not exist

Everytime my controller-manager restart / failover

Bryan Carmichael

unread,
Feb 27, 2019, 8:00:18 AM2/27/19
to kubernetes/kubernetes, k8s-mirror-storage-bugs, Team mention

I also still see this in 1.13.3.

W0227 12:56:10.652298 1 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="minion-4" does not exist W0227 12:56:10.652355 1 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="minion-7" does not exist W0227 12:56:10.652391 1 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="minion-13" does not exist W0227 12:56:10.652441 1 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="minion-6" does not exist W0227 12:56:10.652477 1 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="master-2" does not exist W0227 12:56:10.652501 1 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="minion-9" does not exist W0227 12:56:10.652532 1 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="master-0" does not exist W0227 12:56:10.652554 1 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="minion-0" does not exist W0227 12:56:10.652608 1 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="minion-5" does not exist W0227 12:56:10.652674 1 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="master-1" does not exist W0227 12:56:10.652712 1 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="minion-12" does not exist W0227 12:56:10.653014 1 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="minion-3" does not exist W0227 12:56:10.653038 1 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="minion-14" does not exist W0227 12:56:10.653054 1 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="minion-2" does not exist W0227 12:56:10.653075 1 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="minion-11" does not exist W0227 12:56:10.653086 1 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="minion-1" does not exist W0227 12:56:10.653097 1 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="minion-8" does not exist W0227 12:56:10.653110 1 actual_state_of_world.go:491] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="minion-10" does not exist

Aisuko

unread,
Dec 3, 2021, 2:36:39 AM12/3/21
to kubernetes/kubernetes, k8s-mirror-storage-bugs, Team mention

Hi guys, I hit the same issue on v1.9. Is there more information can help us? We deployed operator which the reconcile conflict with kubernetes controller-manager? or the watch-list cache mechnism has some issue in some point can trigger?


You are receiving this because you are on a team that was mentioned.

Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

George

unread,
Jan 14, 2023, 6:11:14 PM1/14/23
to kubernetes/kubernetes, k8s-mirror-storage-bugs, Team mention

I had the same issue,I used v1.21.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are on a team that was mentioned.Message ID: <kubernetes/kubernetes/issues/42158/1382957516@github.com>

Reply all
Reply to author
Forward
0 new messages