Skip to content

ctr failure when cannot connect to containerd #22

@dmcgowan

Description

@dmcgowan

Currently ctr will throw an error when it times out its connection to containerd. It currently holds a connection for forwarding events, however, containerd going down should not cause the shim to exit.

ERRO[0017] failed to cleanup task                        error="connection error: desc = \"transport: Error while dialing: dial unix:///var/run/containerd/containerd.sock: timeout\""
ERRO[0017] failed to cleanup container                   error="connection error: desc = \"transport: Error while dialing: dial unix:///var/run/containerd/containerd.sock: timeout\""

It seems the shim stays online with ctr disconnected and not able to handle the --rm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions