-
Notifications
You must be signed in to change notification settings - Fork 191
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
Failing to run go vm with firecracker as provider. #184
Comments
Hello,
I've set export GO111MODULE=on and off, I've run go clean cache, but nothing works. Any help would be appreciated. |
@ashish235 I had the same error message, can you try with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Guys,
I 'm trying to use unik to create vms for firecracker and run them. I can build the image following the steps on github but when i 'm running the image I 'm getting errors.
Build:
ubuntu@ip-172-35-102-151:~/unik$ unik build --name writeOS_miVM --path ./demo/ --base firecracker --language go --provider firecracker --force
INFO[0000] running unik build args= base=firecracker force=true host="localhost:3000" language=go mountPoints="[]" name=writeOS_miVM path=./demo/ provider=firecracker
INFO[0000] App packaged as tarball: /tmp/sources.tar.gz.708149797
NAME ID INFRASTRUCTURE CREATED SIZE(MB) MOUNTPOINTS
writeOS_miVM writeOS_miVM FIRECRACKER 2019-03-05 07:08:02.081358097 50
Run:
ubuntu@ip-172-35-102-151:~/unik$ unik run --instanceName writeOS_vm1 --imageName writeOS_miVM
INFO[0000] running unik run env="map[]" host="localhost:3000" imageName=writeOS_miVM instanceName=writeOS_vm1 mounts="map[]"
ERRO[0003] failed running instance: [cmd/run.go:98] running image failed: %v: {[client/instances.go:103] failed with status 500: Firecracker did not create API socket /home/ubuntu/.unik/firecracker/instances/writeOS_vm1/firecracker.sock: context deadline exceeded}
Debug logs from Unik.
I 'm using target as local and this is my config file.
providers:
firecracker:
- name: firecracker
binary: /home/ubuntu/firecracker
kernel: /home/ubuntu/hello-vmlinux.bin
console: xterm
Also I can see the vm has been created.
ubuntu@ip-172-35-102-151:~/.unik$ ll firecracker/images/writeOS_miVM/boot.img
Please help.
The text was updated successfully, but these errors were encountered: