Skip to content

Restarting the snapshotter will cause nydusd to restart and exec pod error. #638

@ymygogogo

Description

@ymygogogo
  1. systemctl stop containerd-nydus-grpc
  2. systemctl start containerd-nydus-grpc
  3. kubectl exec -it service-failure-nydus-57bf56f86c-s6dds -- sh
error: Internal error occurred: error executing command in container: failed to exec in container: failed to start exec "70ff624826aaa1a36a7f3913ae06a3cc00b97248944b39198af019a95755d514": OCI runtime exec failed: exec failed: unable to start container process: exec: "sh": executable file not found in $PATH: unknown

Image

# /etc/systemd/system/containerd-nydus-grpc.service
[Unit]
Description=containerd-nydus-grpc
[Service]
Restart=on-failure
ExecStart=/usr/local/bin/containerd-nydus-grpc --nydusd-config /etc/containerd-nydus/nydusd-config.mirrors.json --log-to-stdout
[Install]
WantedBy=multi-user.target

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions