ignite
ignite copied to clipboard
[image] add debian 10.0 aka buster
It builds like a charm. But...
ignite run debian:ja \
--cpus 2 \
--memory 1GB \
--ssh \
--name debian1
INFO[0001] Created VM with ID "dcc90643eb81832c" and name "debian1"
INFO[0002] Started Firecracker VM "dcc90643eb81832c" in a container with ID "c297c187b91b7999e922901b158106e995dd3f75a294163cf63a5b81d3ad44cc" ```
ignite ssh debian1
ssh: connect to host 172.17.0.2 port 22: Connection refused
WARN[0000] SSH command terminated
ignite attach debian1
dcc90643eb81832c
# ls
bin dev home lib64 media opt root sbin sys usr
boot etc lib lost+found mnt proc run srv tmp var
# ps aux
Error, do this: mount -t proc proc /proc
then
ps aux|grep ssh
root 568 0.0 0.0 11112 932 ? S 10:55 0:00 grep ssh
#
ss -natp
State Recv-Q Send-Q Local Address:Port Peer Address:Port
#
root@dcc90643eb81832c:/# systemctl start ssh
Failed to connect to bus: No such file or directory
root@dcc90643eb81832c:/# exit
#
[ 370.567946] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
[ 370.567946]
[ 370.572934] CPU: 1 PID: 1 Comm: sh Not tainted 4.19.47 #1
[ 370.573968] Call Trace:
[ 370.574468] dump_stack+0x63/0x85
[ 370.575139] panic+0xdf/0x239
[ 370.575736] do_exit+0xb5f/0xb60
[ 370.576330] ? vfs_write+0x161/0x1a0
[ 370.576971] ? vfs_write+0x161/0x1a0
[ 370.577599] do_group_exit+0x3e/0xb0
[ 370.578268] __x64_sys_exit_group+0x13/0x20
[ 370.579041] do_syscall_64+0x4e/0xf0
[ 370.579702] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 370.580620] RIP: 0033:0x7fc638357618
[ 370.581289] Code: Bad RIP value.
[ 370.581882] RSP: 002b:00007ffd29b60e48 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
[ 370.583222] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc638357618
[ 370.584584] RDX: 0000000000000001 RSI: 000000000000003c RDI: 0000000000000001
[ 370.585911] RBP: 000055ef2cc626e0 R08: 00000000000000e7 R09: ffffffffffffff98
[ 370.587499] R10: 0000000000020be0 R11: 0000000000000246 R12: 000055ef2cc517a0
[ 370.588807] R13: 00007ffd29b61130 R14: 0000000000000000 R15: 0000000000000000
[ 370.590271] Kernel Offset: disabled
[ 370.590931] Rebooting in 1 seconds..
INFO[0371] firecracker exited: status=0 ```
In fact no open-ssh server is running ad I cannot start it!
I'm running fedora 30 x86_64
@neith00 which debian version did you use as base image, buster?
@curx debian:10!
friendly ping @curx :)
Any plans to finish/merge this? PR has been open for over a year
Ping @stealthybox @luxas @curx
@gaby i'll have a look next week