Closed
Description
I'm trying to run a firecracker+container through this example w/ ip address:
https://github.com/firecracker-microvm/firecracker-containerd/blob/master/examples/taskworkflow.go
but i'm seeing this:
go run taskworkflow.go -ip 172.16.0.2 -gw 172.16.0.1 -mask 255.255.255.0
2019/03/05 00:30:39.642224 Creating containerd client
2019/03/05 00:30:39.642836 Created containerd client
2019/03/05 00:30:40.043966 Successfully pulled docker.io/library/nginx:latest image
2019/03/05 00:30:48.914751 creating task: type with url : not found: unknown
exit status 1
I created tap0 interface and assigned ip address .1 also it's up
tap0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 172.16.0.1 netmask 255.255.255.0 broadcast 0.0.0.0
ether be:9b:37:dc:6e:f6 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
containerd logs:
time="2019-03-05T01:29:50.456796435Z" level=info msg="starting VM" runtime=aws.firecracker
time="2019-03-05T01:29:50.478100799Z" level=info msg="starting instance" runtime=aws.firecracker
time="2019-03-05T01:29:50.491380857Z" level=info msg="Attaching drive /dev/loop6, slot 0, root false."
time="2019-03-05T01:29:50.491843014Z" level=info msg="Attaching drive /var/lib/firecracker-containerd/runtime/hello-rootfs.ext4, slot root-drive, root true."
time="2019-03-05T01:29:50.513348515Z" level=info msg="calling agent" runtime=aws.firecracker
time="2019-03-05T01:29:50.513450168Z" level=warning msg="vsock dial failed (attempt 1 of 5), will retry in 100ms" error="no such device" runtime=aws.firecracker
time="2019-03-05T01:29:50.613639387Z" level=warning msg="vsock dial failed (attempt 2 of 5), will retry in 200ms" error="no such device" runtime=aws.firecracker
time="2019-03-05T01:29:50.814002433Z" level=warning msg="vsock dial failed (attempt 3 of 5), will retry in 400ms" error="connection reset by peer" runtime=aws.firecracker
time="2019-03-05T01:29:51.214380049Z" level=info msg="creating clients" runtime=aws.firecracker
time="2019-03-05T01:29:51.214434197Z" level=info msg="creating task 'demo21'" runtime=aws.firecracker
time="2019-03-05T01:29:51.492373233Z" level=error msg="create failed" error="rpc error: code = Unknown desc = type with url : not found" runtime=aws.firecracker
without ip address it works and the task creates successfully but w/ ip address it shows type with url : not found!!
firecracker version: 0.12.0
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
AWS i3.metal
please let me know if you need more information.