This repository was archived by the owner on May 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 367
This repository was archived by the owner on May 12, 2021. It is now read-only.
vsock: Kata fails to start with use_vsock = true on ppc64le #1943
Copy link
Copy link
Closed
Labels
bugIncorrect behaviourIncorrect behaviourneeds-reviewNeeds to be assessed by the team.Needs to be assessed by the team.
Description
Description of problem
Set use_vsock = true in configuration.toml and enabled +CONFIG_BINFMT_MISC=y ; +CONFIG_VSOCKETS=y in the kata kernel.
root@soe13:/home/nitesh# docker run -ti --runtime kata-runtime busybox sh
<hangs>
Expected result
Kata container starts without any issue
Actual result
Fails to start. Hangs/no response after starting the container.
journalctl -f
Aug 07 21:50:48 soe13 kata-runtime[77350]: time="2019-08-07T21:50:48.262428432+05:30" level=debug msg="Restricting maxmem to 32GB as Qemu Version < 2.10, Assumption: Kernel Version >= 4.11" arch=ppc64le command=create container=eb639d5a3585dbc77d2f7ec8e18f49ba123b145f845bfcd77cd29a8f3daac2f5 name=kata-runtime pid=77350 source=virtcontainers subsystem=qemu
Aug 07 21:50:48 soe13 kata-runtime[77350]: time="2019-08-07T21:50:48.262512883+05:30" level=debug msg="agent: Using vsock VM socket endpoint" arch=ppc64le command=create container=eb639d5a3585dbc77d2f7ec8e18f49ba123b145f845bfcd77cd29a8f3daac2f5 name=kata-runtime pid=77350 source=virtcontainers subsystem=kata_agent
Aug 07 21:50:48 soe13 kata-runtime[77350]: time="2019-08-07T21:50:48.262555357+05:30" level=debug msg="Could not retrieve anything from storage" arch=ppc64le command=create container=eb639d5a3585dbc77d2f7ec8e18f49ba123b145f845bfcd77cd29a8f3daac2f5 name=kata-runtime pid=77350 source=virtcontainers subsystem=kata_agent
Aug 07 21:50:48 soe13 kata-runtime[77350]: time="2019-08-07T21:50:48.262609682+05:30" level=warning msg="load sandbox devices failed" arch=ppc64le command=create container=eb639d5a3585dbc77d2f7ec8e18f49ba123b145f845bfcd77cd29a8f3daac2f5 error="open /run/vc/sbs/eb639d5a3585dbc77d2f7ec8e18f49ba123b145f845bfcd77cd29a8f3daac2f5/devices.json: no such file or directory" name=kata-runtime pid=77350 sandbox=eb639d5a3585dbc77d2f7ec8e18f49ba123b145f845bfcd77cd29a8f3daac2f5 sandboxid=eb639d5a3585dbc77d2f7ec8e18f49ba123b145f845bfcd77cd29a8f3daac2f5 source=virtcontainers subsystem=sandbox
System:
root@soe13:~# cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.2 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.2 LTS
Output from: kata-collect-data.sh
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIncorrect behaviourIncorrect behaviourneeds-reviewNeeds to be assessed by the team.Needs to be assessed by the team.