Skip to content

Failed to stop container: lock failed #2281

@fankangbest

Description

@fankangbest

Ⅰ. Issue Description

When I run e2e test case for kubelet in kubernetes, and there is a case sometimes failed with error:
Sep 28 18:49:37.028: INFO: [WaitTimeoutForContainerUpdateStatus] updateStatusStr: {"statuses":{"pod-base":{"creationTimestamp":"2018-09-28T18:49:30.096971955+08:00","finishTimestamp":"2018-09-28T18:49:30.098021602+08:00","currentState":"running","lastState":"running","action":"stop","message":"killContainer "pod-base"(id={"pouch" "c69994fce9611e75ca826c644edb8f4dbc32a2592afb66dd34e1d4a2d9a76c0e"}) for pod "createpodtest0d0c65b1-c30c-11e8-b2a9-563fceceea99_e2e-tests-sigma-kubelet-5wz59(0d0d1072-c30c-11e8-9e55-563fceceea99)" failed: rpc error: code = Unknown desc = failed to stop container "c69994fce9611e75ca826c644edb8f4dbc32a2592afb66dd34e1d4a2d9a76c0e": failed to destroy container c69994fce9611e75ca826c644edb8f4dbc32a2592afb66dd34e1d4a2d9a76c0e: lock failed"}}}
Maybe pouch locks the container fails when kubelet try to stop a container.

Ⅱ. Describe what happened

Ⅲ. Describe what you expected to happen

Ⅳ. How to reproduce it (as minimally and precisely as possible)

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

Pouch GitCommit: bdab411

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugThis is bug report for projectpriority/P1this is high priority that all maintainers should stop to handle this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions