This repository was archived by the owner on Feb 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 128
This repository was archived by the owner on Feb 8, 2021. It is now read-only.
pod creation error using cri-containerd #672
Copy link
Copy link
Open
Description
runv works well with containerd (master branch), but using cri-containerd, pod/sandbox
creation fails.
runv is configured with containerd as per runv-with-containerd-docker.md
Following error comes
$ sudo crictl -r /run/containerd/containerd.sock runp sandbox_config.json
FATA[0000] run pod sandbox failed: rpc error: code = Unknown desc = failed to start sandbox container: failed to create containerd task: OCI runtime create failed: unable to retrieve OCI runtime error (open /run/containerd/io.containerd.runtime.v1.linux/k8s.io/b54bd84bbfde1b1aee3098498b235c5e3210e0bc4d7f7b7f3f3a6712cc7acfef/log.json: no such file or directory): runv did not terminate sucessfully: unknown
Config file for sandbox
$ cat sandbox_config.json
{
"metadata": {
"name": "podsandbox1",
"uid": "powertest-test-crio",
"namespace": "powertest.test.crio",
"attempt": 1
},
"hostname": "crioctl_host",
"log_directory": "",
"dns_config": {
"searches": [
"8.8.8.8"
]
},
"port_mappings": [],
"resources": {
"cpu": {
"limits": 3,
"requests": 2
},
"memory": {
"limits": 50000000,
"requests": 2000000
}
},
"labels": {
"group": "test"
},
"linux": {
"cgroup_parent": "/Burstable/pod_123-456",
"security_context": {
"namespace_options": {
"host_network": false,
"host_pid": false,
"host_ipc": false
},
"selinux_options": {
"user": "system_u",
"role": "system_r",
"type": "svirt_lxc_net_t",
"level": "s0:c4,c5"
}
}
}
}
Metadata
Metadata
Assignees
Labels
No labels