Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

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

"failed to create containerd task: failed to create shim task: hcs::CreateComputeSystem xxxxxxx--cid--xxxxxxxx : Access is denied.: unknown" #2017

Open
vinayaksakharkar opened this issue Feb 1, 2024 · 0 comments

Comments

@vinayaksakharkar
Copy link

Less than 1% of time, container failed on started. Kind is Batch & runs in parallelism. In parallelism, one of container failed while all other successfully start. In case of failed container, its pod reaches running state & then container throw up starterror with Access is denied.: unknown"

"status": {
    "phase": "Failed",
    "conditions": [
      {
        "type": "Initialized",
        "status": "True",
        "lastProbeTime": null,
        "lastTransitionTime": "2024-01-30T09:03:59Z"
      },
      {
        "type": "Ready",
        "status": "False",
        "lastProbeTime": null,
        "lastTransitionTime": "2024-01-30T09:03:59Z",
        "reason": "PodFailed"
      },
      {
        "type": "ContainersReady",
        "status": "False",
        "lastProbeTime": null,
        "lastTransitionTime": "2024-01-30T09:03:59Z",
        "reason": "PodFailed"
      },
      {
        "type": "PodScheduled",
        "status": "True",
        "lastProbeTime": null,
        "lastTransitionTime": "2024-01-30T09:03:59Z"
      }
    ],
    "hostIP": "ntentional removed IP",
    "podIP": "ntentional removed IP",
    "podIPs": [
      {
        "ip": "ntentional removed IP"
      }
    ],
    "startTime": "2024-01-30T09:03:59Z",
    "containerStatuses": [
      {
        "name": "tsk",
        "state": {
          "terminated": {
            "exitCode": 128,
            "reason": "StartError",
            "message": "failed to create containerd task: failed to create shim task: hcs::CreateComputeSystem xxxxxxx--cid--xxxxxxxx: Access is denied.: unknown",
            "startedAt": "1970-01-01T00:00:00Z",
            "finishedAt": "2024-01-30T09:04:35Z",
            "containerID": "containerd://xxxxxxx--cid--xxxxxxxx"
          }
        },
        "lastState": {},
        "ready": false,
        "restartCount": 0,
        "image": "intentional removed image name",
        "imageID": intentional removed image id,
        "containerID": "containerd://xxxxxxx--cid--xxxxxxxx",
        "started": false
      }
    ],
    "qosClass": "BestEffort"
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant