hyperhq / runv

Hypervisor-based Runtime for OCI
Apache License 2.0
826 stars 129 forks source link

runv start fail when use kvmtool and xenpv driver #625

Open gao-feng opened 7 years ago

gao-feng commented 7 years ago

[root@think-donkey ubuntu]# runv --driver kvmtool --kernel /home/gaofeng/git/hyperstart/build/arch/x86_64/kernel --initrd /home/gaofeng/git/hyperstart/build/hyper-initrd.img --debug run -b pwd ubuntu E1025 12:06:43.682859 20342 vm_states.go:309] SB[vm-DnlKEAPgoA] Start POD failed: rpc error: code = Unavailable desc = grpc: the connection is unavailable E1025 12:06:43.705978 20342 sandbox.go:100] StartPod fail, response: &api.ResultBase{Id:"vm-DnlKEAPgoA", Success:false, ResultMessage:"got failed event when wait init message"} Failed to load the container after created, err: &os.PathError{Op:"open", Path:"/run/runv/ubuntu/state.json", Err:0x2}

logs: E1025 12:06:43.702576 20374 proxy.go:82] watchConsole() failed, err: &net.OpError{Op:"dial", Net:"unix", Source:net.Addr(nil), Addr:(net.UnixAddr)(0xc42025c480), Err:(os.SyscallError)(0xc42025c4a0)}

https://github.com/hyperhq/runv/pull/624

laijs commented 6 years ago

the issue is being addressing in #633