-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ch.sock: connect: no such file or directory #55
Comments
@wavemomo There're some missing steps between the Dockerfile and the data volume? How did you create the image for CDI to import? |
@fengye87 Thanks for your reply firstly. Here are my steps to create/import image.
|
@wavemomo I followed your steps but could not reproduce the same problem. Both my VM and the VM pod stayed in the Running state, but I did see the VM didn't start up normally since there's no login prompt. I think there's something missing in the Dockerfile. I'll look into it further. Could you confirm that you create and start the VM after the data volume has been completed imported? And what version of Virtink are you using? |
@fengye87 Yes, the VM and the VM pod would stay in the Running state but it would block(but actully, I start the VM first time, the VM pod would quit after login prompt) . And the version of Virtink in my cluster is v0.10.1. By the way, can you share your steps of building image and rootfs if it's different from mine? |
@wavemomo I used your Dockerfile and your steps to build the image, the only difference is that I was using the http download method of CDI instead of uploading. |
@fengye87 But my Dockerfile is not different from the official example given? |
@wavemomo There's a difference. See the highlighted line below. That could be the cause. |
@fengye87 I try to use the Dockerfile of official example, the error is : |
@wavemomo You should use the /rootfs dir as the image's root when use the official rootfs image. |
@fengye87 How to use the /rootfs dir as the image's root? Can you give a sample?Thanks very much |
@wavemomo You can spin up the container, run your steps inside the container (skip the docker part, just copy /rootfs to the image's mount point), and copy the qcow2 image to host. You may need to run |
I used CDI to do it. But there are some problems.
when I apply the vm.yaml,the pod is runinng, but it would quit or block later.
I try to solve the problem.
kubectl logs -f vm-test-vm-xxx
:it looks like successfuly, but the pod will quit later.
kubectl describe vm test-vm
:The text was updated successfully, but these errors were encountered: