添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account Operating system: centos7.6

Actual behavior:

E0628 13:36:53.297162  927067 remote_runtime.go:209] "RunPodSandbox from runtime service failed" err="rpc error: code = Unknown desc = failed to generate sandbox container spec: invalid empty entrypoint and cmd in image config &{User: ExposedPorts:map[] Env:[] Entrypoint:[] Cmd:[] Volumes:map[] WorkingDir: Labels:map[] StopSignal:}"
E0628 13:36:53.297228  927067 kuberuntime_sandbox.go:70] "Failed to create sandbox for pod" err="rpc error: code = Unknown desc = failed to generate sandbox container spec: invalid empty entrypoint and cmd in image config &{User: ExposedPorts:map[] Env:[] Entrypoint:[] Cmd:[] Volumes:map[] WorkingDir: Labels:map[] StopSignal:}" pod="lyhdata-backstage/dahua-data-service-86bb66975f-c5h5b"
E0628 13:36:53.297262  927067 kuberuntime_manager.go:833] "CreatePodSandbox for pod failed" err="rpc error: code = Unknown desc = failed to generate sandbox container spec: invalid empty entrypoint and cmd in image config &{User: ExposedPorts:map[] Env:[] Entrypoint:[] Cmd:[] Volumes:map[] WorkingDir: Labels:map[] StopSignal:}" pod="lyhdata-backstage/dahua-data-service-86bb66975f-c5h5b"
E0628 13:36:53.297360  927067 pod_workers.go:951] "Error syncing pod, skipping" err="failed to \"CreatePodSandbox\" for \"dahua-data-service-86bb66975f-c5h5b_lyhdata-backstage(e95da383-96ec-40b1-9f9b-376f8aa87bb3)\" with CreatePodSandboxError: \"Failed to create sandbox for pod \\"dahua-data-service-86bb66975f-c5h5b_lyhdata-backstage(e95da383-96ec-40b1-9f9b-376f8aa87bb3)\\": rpc error: code = Unknown desc = failed to generate sandbox container spec: invalid empty entrypoint and cmd in image config &{User: ExposedPorts:map[] Env:[] Entrypoint:[] Cmd:[] Volumes:map[] WorkingDir: Labels:map[] StopSignal:}\"" pod="lyhdata-backstage/dahua-data-service-86bb66975f-c5h5b" podUID=e95da383-96ec-40b1-9f9b-376f8aa87bb3

Restore after restart rke2-agnet

failed to generate sandbox container spec: invalid empty entrypoint and cmd in image config
&{User: ExposedPorts:map[] Env:[] Entrypoint:[] Cmd:[] Volumes:map[] WorkingDir: Labels:map[] StopSignal:}"" pod="lyhdata-backstage/dahua-data-service-86bb66975f-c5h5b"

As the error message says, the image you're trying to run for that container has an empty entrypoint and command, and therefore cannot be run. Please check that your image is valid.

If you have confirmed that the image is valid, there may be some corruption in the containerd image store - check the containerd logs, and re-pull the image from the registry.