We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi there, I was trying this tutorial but could not get it to work at all on my up to date Manjaro box.
Got a deamon debug response:
_build/unik daemon --debug --f /home/administrator/.unik/daemon-config.yaml time="2019-03-02T20:08:16+01:00" level=info msg="daemon started" config={{[] [] [] [] [] [] [] [] [] [{firecracker /usr/local/bin/firecracker /home/administrator/Firecracker/first/hello-vmlinux.bin xterm}]} } time="2019-03-02T20:08:16+01:00" level=info msg="using container versions" versions=map[compilers-rump-c-hw:1954dce79e407724 qemu-util:6f5922561bbb86e3 compilers-osv-dynamic:59ba07ca2f12ecaa compilers-rump-go-hw:d1bfbc13602e306d compilers-rump-base-xen:f841298dae4340f7 compilers-rump-python3-hw:22bc5378af6e099d compilers-rump-base-common:2eb72d1b386ce2a4 compilers-firecracker:3775f58af6a7741d compilers-rump-go-xen:fe3335e71ed20510 compilers-includeos-cpp-common:8de1311f7b1365d9 compilers-rump-nodejs-hw:b5029ddcc8731a25 compilers-rump-java-hw:e8c77dc577b288d9 compilers-rump-java-xen:43365940a0dd610c compilers-rump-nodejs-hw-no-stub:baebfe68f3283190 compilers-rump-c-xen:65c2c7316ad6fc77 image-creator:fa560ac11cecae33 compilers-includeos-cpp-hw:694e22e023dbbbc8 compilers-osv-java:14f2183e5cb49482 boot-creator:d0665c8793b16c51 compilers-rump-nodejs-xen:2fbc447253ba19b8 compilers-mirage-ocaml-xen:0cd46f5253c6ca8a compilers-rump-python3-xen:1496a60a071e79e1 compilers-mirage-ocaml-ukvm:2c35c23771682e9a vsphere-client:a9538c7c242acbef rump-debugger-qemu:0a841d0bf71287e6 compilers-rump-python3-hw-no-stub:81a494acc94d7827 compilers-rump-base-hw:8cd85d4a7ee1009b] time="2019-03-02T20:08:16+01:00" level=info msg="Bootstrapping provider firecracker with config {firecracker /usr/local/bin/firecracker /home/administrator/Firecracker/first/hello-vmlinux.bin xterm}" time="2019-03-02T20:08:16+01:00" level=warning msg="failed to read firecracker state file at /home/administrator/.unik/firecracker/state.json, creating blank state" error="[state/base_state.go:36] error reading save file /home/administrator/.unik/firecracker/state.json: {open /home/administrator/.unik/firecracker/state.json: no such file or directory}" [martini] listening on :3000 (development) time="2019-03-02T20:08:23+01:00" level=debug msg="Started POST /images/writeOS_miVM/create for 127.0.0.1:42532" time="2019-03-02T20:08:23+01:00" level=debug msg="parsing multipart form" req=&{POST /images/writeOS_miVM/create?base=firecracker&lang=go&provider=firecracker&args=&mounts=&force=true&no_cleanup=false HTTP/1.1 1 1 map[Accept-Encoding:[gzip] User-Agent:[Go-http-client/1.1] Content-Length:[10504] Content-Type:[multipart/form-data; boundary=44a441126cf61f589d9545b8980f9d1afa4422f43797f4108a6689b78277]] 0xc000266100 <nil> 10504 [] false localhost:3000 map[no_cleanup:[false] base:[firecracker] lang:[go] provider:[firecracker] args:[] mounts:[] force:[true]] map[] 0xc000440280 map[] 127.0.0.1:42532 /images/writeOS_miVM/create?base=firecracker&lang=go&provider=firecracker&args=&mounts=&force=true&no_cleanup=false <nil> <nil> <nil> 0xc000266140} time="2019-03-02T20:08:23+01:00" level=debug msg="parsing form file marked 'tarfile'" form=map[mounts:[] force:[true] no_cleanup:[false] base:[firecracker] lang:[go] provider:[firecracker] args:[]] time="2019-03-02T20:08:23+01:00" level=debug msg="extracting uploaded files to /home/administrator/.unik/tmp/unpacked.sources.dir.366266296" time="2019-03-02T20:08:23+01:00" level=debug msg="Extracting file" file="./" time="2019-03-02T20:08:23+01:00" level=debug msg="Extracting file" file="./main.go" time="2019-03-02T20:08:23+01:00" level=debug msg="compiling raw image" args= compiler=firecracker-go-firecracker force=true mount-points=[] name="writeOS_miVM" noCleanup=false provider=firecracker time="2019-03-02T20:08:23+01:00" level=info msg="Build cmd for container projectunik/compilers-firecracker:3775f58af6a7741d" args=[run --rm --privileged -v /home/administrator/.unik/tmp/unpacked.sources.dir.366266296:/opt/code --name=17b398b7-093a-4e6f-8763-5368cb93920c projectunik/compilers-firecracker:3775f58af6a7741d] time="2019-03-02T20:08:23+01:00" level=debug msg="running command" command=[docker run --rm --privileged -v /home/administrator/.unik/tmp/unpacked.sources.dir.366266296:/opt/code --name=17b398b7-093a-4e6f-8763-5368cb93920c projectunik/compilers-firecracker:3775f58af6a7741d] time="2019-03-02T20:08:27+01:00" level=debug msg="+ dd if=/dev/zero of=/tmp/rootfs bs=1M count=50" time="2019-03-02T20:08:29+01:00" level=debug msg="50+0 records in" time="2019-03-02T20:08:29+01:00" level=debug msg="50+0 records out" time="2019-03-02T20:08:29+01:00" level=debug msg="52428800 bytes (52 MB, 50 MiB) copied, 1.33986 s, 39.1 MB/s" time="2019-03-02T20:08:29+01:00" level=debug msg="+ mkfs.ext4 /tmp/rootfs" time="2019-03-02T20:08:29+01:00" level=debug msg="mke2fs 1.43.4 (31-Jan-2017)" time="2019-03-02T20:08:29+01:00" level=debug msg="Creating filesystem with 51200 1k blocks and 12824 inodes" time="2019-03-02T20:08:29+01:00" level=debug msg="Filesystem UUID: 0ff119d5-3353-4fdd-bc54-2ee94c070d18" time="2019-03-02T20:08:29+01:00" level=debug msg="Superblock backups stored on blocks: " time="2019-03-02T20:08:29+01:00" level=debug msg="\t8193, 24577, 40961" time="2019-03-02T20:08:29+01:00" level=debug time="2019-03-02T20:08:29+01:00" level=debug msg="Allocating group tables: 0/7\b\b\b \b\b\bdone " time="2019-03-02T20:08:29+01:00" level=debug msg="Writing inode tables: 0/7\b\b\b \b\b\bdone " time="2019-03-02T20:08:29+01:00" level=debug msg="Creating journal (4096 blocks): done" time="2019-03-02T20:08:29+01:00" level=debug msg="Writing superblocks and filesystem accounting information: 0/7\b\b\b \b\b\bdone" time="2019-03-02T20:08:29+01:00" level=debug time="2019-03-02T20:08:29+01:00" level=debug msg="+ mkdir /tmp/tmp" time="2019-03-02T20:08:29+01:00" level=debug msg="+ mount /tmp/rootfs /tmp/tmp -o loop" time="2019-03-02T20:08:30+01:00" level=debug msg="mount: /tmp/rootfs: failed to setup loop device: No such file or directory" time="2019-03-02T20:08:30+01:00" level=error msg="error handling request" error="[daemon/daemon.go:581] failed to compile raw image: {exit status 32}" time="2019-03-02T20:08:30+01:00" level=debug msg="Completed 500 Internal Server Error in 7.275365344s\n"
when launching:
./unik build --name writeOS_miVM --path ./demo/ --base firecracker --language go --provider firecracker --force
I expected an instance ready to start..
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi there,
I was trying this tutorial but could not get it to work at all on my up to date Manjaro box.
Got a deamon debug response:
when launching:
I expected an instance ready to start..
The text was updated successfully, but these errors were encountered: