When moved time of node backwards and restart node. All Microk8s pods are in Unknown state.
vishalcapri opened this issue · 0 comments
vishalcapri commented
Summary
Move time of microk8s node backward and restart node. All pods of kube-system, container-registry and metallb-system namespace went into Unkown state. This Node doesn't have NTP.
Microk8s version 1.19
What Should Happen Instead?
Pods should come to Running state.
Reproduction Steps
- Move time of microk8s node backward
- restart node
- All pods of kube-system, container-registry and metallb-system namespace went into Unkown state
kubelet log -
Sep 16 10:21:40 microk8s.daemon-kubelet[1354]: E0916 10:21:40.127132 1354 remote_runtime.go:113] RunPodSandbox from runtime service failed: rpc error: code = Unknown desc = failed to reserve sandbox name "speaker-gmvnh_metallb-system_235a2891-3158-46df-aab6-e70626d329ff_2": name "speaker-gmvnh_metallb-system_235a2891-3158-46df-aab6-e70626d329ff_2" is reserved for "b1e2da6f01c749553a7210bfe5a6c0569b75dca5f03547bc92dc9b9649c1bfbc"
Sep 16 10:21:40 microk8s.daemon-kubelet[1354]: E0916 10:21:40.127213 1354 kuberuntime_sandbox.go:69] CreatePodSandbox for pod "speaker-gmvnh_metallb-system(235a2891-3158-46df-aab6-e70626d329ff)" failed: rpc error: code = Unknown desc = failed to reserve sandbox name "speaker-gmvnh_metallb-system_235a2891-3158-46df-aab6-e70626d329ff_2": name "speaker-gmvnh_metallb-system_235a2891-3158-46df-aab6-e70626d329ff_2" is reserved for "b1e2da6f01c749553a7210bfe5a6c0569b75dca5f03547bc92dc9b9649c1bfbc"
Sep 16 10:21:40 microk8s.daemon-kubelet[1354]: E0916 10:21:40.127243 1354 kuberuntime_manager.go:741] createPodSandbox for pod "speaker-gmvnh_metallb-system(235a2891-3158-46df-aab6-e70626d329ff)" failed: rpc error: code = Unknown desc = failed to reserve sandbox name "speaker-gmvnh_metallb-system_235a2891-3158-46df-aab6-e70626d329ff_2": name "speaker-gmvnh_metallb-system_235a2891-3158-46df-aab6-e70626d329ff_2" is reserved for "b1e2da6f01c749553a7210bfe5a6c0569b75dca5f03547bc92dc9b9649c1bfbc"
Sep 16 10:21:40 microk8s.daemon-kubelet[1354]: E0916 10:21:40.127334 1354 pod_workers.go:191] Error syncing pod 235a2891-3158-46df-aab6-e70626d329ff ("speaker-gmvnh_metallb-system(235a2891-3158-46df-aab6-e70626d329ff)"), skipping: failed to "CreatePodSandbox" for "speaker-gmvnh_metallb-system(235a2891-3158-46df-aab6-e70626d329ff)" with CreatePodSandboxError: "CreatePodSandbox for pod \"speaker-gmvnh_metallb-system(235a2891-3158-46df-aab6-e70626d329ff)\" failed: rpc error: code = Unknown desc = failed to reserve sandbox name \"speaker-gmvnh_metallb-system_235a2891-3158-46df-aab6-e70626d329ff_2\": name \"speaker-gmvnh_metallb-system_235a2891-3158-46df-aab6-e70626d329ff_2\" is reserved for \"b1e2da6f01c749553a7210bfe5a6c0569b75dca5f03547bc92dc9b9649c1bfbc\""