firecracker-microvm / firecracker-containerd

firecracker-containerd enables containerd to manage containers as Firecracker microVMs
Apache License 2.0
2.15k stars 182 forks source link

std io lost between agent and runtime #427

Open shsjshentao opened 4 years ago

shsjshentao commented 4 years ago

take a container stdout example

  1. agent receive container stdout from fifo in vm
  2. agent listen unix and send stdout to runtime with vsock
  3. runtime receive stdout and send to fifo on host
  4. user can read logs from fifo

Now, if user stop read logs from fifo for a while, then read fifo file again, user cannot receive logs any longer.

I found agent show log "write vsock hypervisor(0):11001->host(2):1073741828: broken pipe", and runtime receive a EOF and exit io proxy

kzys commented 4 years ago

Thanks for reporting! Let me take a look next week.