question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

manager.go Failed to create existing container: task not found

See original GitHub issue

microk8s installed: v1.20.0 (1864) 219MB classic

# sudo journalctl -f

Dec 15 11:46:15 microk8s-vm microk8s.daemon-kubelet[7690]: E1215 11:46:15.981180    7690 manager.go:1123] Failed to create existing container: /kubepods/burstable/pod084b6349-ce22-4180-ad4d-c1f6034b32c9/370c837f580204f56a4a57ea237bf8447c2a1816f072da08dd806d6bb8c2553f: task 370c837f580204f56a4a57ea237bf8447c2a1816f072da08dd806d6bb8c2553f not found: not found
Dec 15 11:46:17 microk8s-vm microk8s.daemon-kubelet[7690]: E1215 11:46:17.484520    7690 manager.go:1123] Failed to create existing container: /kubepods/besteffort/pod56080cc0-a83f-4690-a302-49e4df8443f9/7eec04e48101eacd5ac640ed6475f5370261616d93c52fe2f6d8872ca32a4fb1: task 7eec04e48101eacd5ac640ed6475f5370261616d93c52fe2f6d8872ca32a4fb1 not found: not found
Dec 15 11:46:18 microk8s-vm microk8s.daemon-kubelet[7690]: E1215 11:46:18.987039    7690 manager.go:1123] Failed to create existing container: /kubepods/burstable/pod084b6349-ce22-4180-ad4d-c1f6034b32c9/adc563f732a6473c9d134511db4ddd4ce5b976781a9d338891f3a00a2b3eab46: task adc563f732a6473c9d134511db4ddd4ce5b976781a9d338891f3a00a2b3eab46 not found: not found
Dec 15 11:46:20 microk8s-vm microk8s.daemon-kubelet[7690]: E1215 11:46:20.489780    7690 manager.go:1123] Failed to create existing container: /kubepods/besteffort/pod3af3333d-f5a6-4909-8e82-39fd279fd13d/5b35e95d601bf756f2ccce25a17e1f4e89762a6a6df3277209ca1c8915f59866: task 5b35e95d601bf756f2ccce25a17e1f4e89762a6a6df3277209ca1c8915f59866 not found: not found
Dec 15 11:46:21 microk8s-vm microk8s.daemon-kubelet[7690]: E1215 11:46:21.992082    7690 manager.go:1123] Failed to create existing container: /kubepods/besteffort/pod63699943-f2ab-4a16-9cec-02f00ea2af21/e79d2a7a6d261505774898c93cf60f66be321b5db1d08b1d493b7e763acf1dad: task e79d2a7a6d261505774898c93cf60f66be321b5db1d08b1d493b7e763acf1dad not found: not found
Dec 15 11:46:23 microk8s-vm microk8s.daemon-kubelet[7690]: E1215 11:46:23.497119    7690 manager.go:1123] Failed to create existing container: /kubepods/besteffort/pod8e1604fe-6770-439d-a0d4-b180a81e7147/9dc5cb5a4241a07c32d7988f05faaae8cee06f3fc96d6a6745b8609c213c7d26: task 9dc5cb5a4241a07c32d7988f05faaae8cee06f3fc96d6a6745b8609c213c7d26 not found: not found
Dec 15 11:46:25 microk8s-vm microk8s.daemon-kubelet[7690]: E1215 11:46:25.005504    7690 manager.go:1123] Failed to create existing container: /kubepods/besteffort/pod56080cc0-a83f-4690-a302-49e4df8443f9/a80a32f17610cc48b90f5355cb7c8efc7d1faae0bd9a6af20da66a4927ced658: task a80a32f17610cc48b90f5355cb7c8efc7d1faae0bd9a6af20da66a4927ced658 not found: not found
Dec 15 11:46:26 microk8s-vm microk8s.daemon-kubelet[7690]: E1215 11:46:26.509985    7690 manager.go:1123] Failed to create existing container: /kubepods/burstable/pod6c69eef6-f6fb-42d9-9291-03afc8db320a/3d703cd273154fceb26d94f0891a72beb6a59cdbb72fe9bb3bdbf86cedadad00: task 3d703cd273154fceb26d94f0891a72beb6a59cdbb72fe9bb3bdbf86cedadad00 not found: not found
Dec 15 11:46:28 microk8s-vm microk8s.daemon-kubelet[7690]: E1215 11:46:28.012600    7690 manager.go:1123] Failed to create existing container: /kubepods/besteffort/pod3af3333d-f5a6-4909-8e82-39fd279fd13d/dd667b8bbfeb736933a892069846e822f438c340cb846b586837b46d310a80f8: task dd667b8bbfeb736933a892069846e822f438c340cb846b586837b46d310a80f8 not found: not found

These errors are repeating every few seconds. It will stop if deleting all pods to refresh containers, but again the next time you start microk8s.

kubectl get pod | awk '{print $1}'| xargs kubectl delete pod 
kubectl get pod -n kube-system | awk '{print $1}' | xargs kubectl delete pod -n kube-system

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9

github_iconTop GitHub Comments

7reactions
francoisdorleanspoccommented, Dec 17, 2020

I observed the same error case in syslog:

microk8s Server Version: version.Info{Major:“1”, Minor:“19+”, GitVersion:"v1.19.5-34+8af48932a5ef06

Dec 17 15:05:08 xxxxxxxxxxxxxxx microk8s.daemon-kubelet[12804]: E1217 15:05:08.478903 12804 manager.go:1123] Failed to create existing container: /kubepods/burstable/pod1b7cf211-e358-436d-8c40-c1327548603d/4c3e9cf7e72d3a4e30095f8b2818b00fd3c65766c342175a935816b1cd581a2f: task 4c3e9cf7e72d3a4e30095f8b2818b00fd3c65766c342175a935816b1cd581a2f not found: not found Dec 17 15:05:50 xxxxxxxxxxxxxxx microk8s.daemon-kubelet[12804]: E1217 15:05:50.631070 12804 manager.go:1123] Failed to create existing container: /kubepods/burstable/pod1b7cf211-e358-436d-8c40-c1327548603d/cbe56992c70ea724880235665e7aba73f34d41b009dd0f3fd53a9be83265c543: task cbe56992c70ea724880235665e7aba73f34d41b009dd0f3fd53a9be83265c543 not found: not found Dec 17 15:07:25 xxxxxxxxxxxxxxx microk8s.daemon-kubelet[12804]: E1217 15:07:25.500723 12804 manager.go:1123] Failed to create existing container: /kubepods/burstable/pod1b7cf211-e358-436d-8c40-c1327548603d/4c3e9cf7e72d3a4e30095f8b2818b00fd3c65766c342175a935816b1cd581a2f: task 4c3e9cf7e72d3a4e30095f8b2818b00fd3c65766c342175a935816b1cd581a2f not found: not found Dec 17 15:07:42 xxxxxxxxxxxxxxx microk8s.daemon-kubelet[12804]: E1217 15:07:42.052984 12804 manager.go:1123] Failed to create existing container: /kubepods/burstable/pod1b7cf211-e358-436d-8c40-c1327548603d/cbe56992c70ea724880235665e7aba73f34d41b009dd0f3fd53a9be83265c543: task cbe56992c70ea724880235665e7aba73f34d41b009dd0f3fd53a9be83265c543 not found: not found Dec 17 15:10:08 xxxxxxxxxxxxxxx microk8s.daemon-kubelet[12804]: E1217 15:10:08.138642 12804 manager.go:1123] Failed to create existing container: /kubepods/burstable/pod1b7cf211-e358-436d-8c40-c1327548603d/cbe56992c70ea724880235665e7aba73f34d41b009dd0f3fd53a9be83265c543: task cbe56992c70ea724880235665e7aba73f34d41b009dd0f3fd53a9be83265c543 not found: not found Dec 17 15:10:27 xxxxxxxxxxxxxxx microk8s.daemon-kubelet[12804]: E1217 15:10:27.728360 12804 manager.go:1123] Failed to create existing container: /kubepods/burstable/pod1b7cf211-e358-436d-8c40-c1327548603d/4c3e9cf7e72d3a4e30095f8b2818b00fd3c65766c342175a935816b1cd581a2f: task 4c3e9cf7e72d3a4e30095f8b2818b00fd3c65766c342175a935816b1cd581a2f not found: not found Dec 17 15:11:05 xxxxxxxxxxxxxxx microk8s.daemon-kubelet[12804]: E1217 15:11:05.408465 12804 manager.go:1123] Failed to create existing container: /kubepods/burstable/pod1b7cf211-e358-436d-8c40-c1327548603d/4c3e9cf7e72d3a4e30095f8b2818b00fd3c65766c342175a935816b1cd581a2f: task 4c3e9cf7e72d3a4e30095f8b2818b00fd3c65766c342175a935816b1cd581a2f not found: not found Dec 17 15:11:34 xxxxxxxxxxxxxxx microk8s.daemon-kubelet[12804]: E1217 15:11:34.010598 12804 manager.go:1123] Failed to create existing container: /kubepods/burstable/pod1b7cf211-e358-436d-8c40-c1327548603d/cbe56992c70ea724880235665e7aba73f34d41b009dd0f3fd53a9be83265c543: task cbe56992c70ea724880235665e7aba73f34d41b009dd0f3fd53a9be83265c543 not found: not found

These errors are repeating every minutes. PODS are running, no restart observed.

3reactions
neclimdulcommented, May 14, 2021

not really important but I am curious the culprit was.

Read more comments on GitHub >

github_iconTop Results From Across the Web

manager.go Failed to create existing container: task not found
Inspecting containerd, the guid's match calico-node and the kubernetes pause wrapper which is probably connected to calico. matches the original ...
Read more >
How to Fix CreateContainerError & CreateContainerConfigError
Review the pod manifest and check all the objects mounted by the pod or the container, and verify that they are available in...
Read more >
Resolve the requirements error for Amazon ECS container ...
I want to place a task in Amazon Elastic Container Service (Amazon ECS). However, I receive the following error: "[AWS service] was unable...
Read more >
Troubleshooting | Google Kubernetes Engine (GKE)
Error 404 : Resource "not found" when calling gcloud container commands ... Console gcloud More. Go to the APIs & Services page in...
Read more >
Troubleshooting the “Failed to Create Pod Sandbox” Error
The “failed to create pod sandbox” error is a common problem when you're trying to create a pod in Kubernetes. ... Scenario 1:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found