containers / virtcontainers

A Go package for building hardware virtualized container runtimes
Apache License 2.0
139 stars 43 forks source link

pod: Wait for VM to be started #565

Closed sboeuf closed 6 years ago

sboeuf commented 6 years ago

Now that we have moved to the model one proxy per VM, we have to make sure the VM is properly started before the proxy tries to connect to its sockets. For this reason, we should ensure the VM is started before we try to start the proxy.

egernst commented 6 years ago

Have you seen failures from this, or is this just static analysis?

sboeuf commented 6 years ago

This is something we need for Kata proxy. When the kata-proxy is going to be started, it won't wait for register() to be called, that's why the VM has to be ready in this case.

sameo commented 6 years ago

This is fixed with PR #575