Hello,

I have absolutely no idea why docker-compose does not bind correctly the /boot directory.

I just tried locally and this working just fine.

Have you tried to run 'docker inspect' of the lava-dispatcher docker container to see the volumes that are bound?


Rgds

Le mar. 5 nov. 2019 à 07:13, Klaas Schulze-Dieckhoff <K.Schulze-Dieckhoff@sonnen.de> a écrit :
Hi all,

I am trying to run a lava-lab with the official docker-compose.yml.
When running a health-check on a qemu-device it fails because libguestfs can't find a kernel inside /boot. (There is already a discussion running on the libguestfs-mailing list).

But I think the underlying problem is, that there is really no kernel inside /boot of my lava-dispatcher container:

#:~/linaro_lava/docker-compose$ docker-compose exec lava-dispatcher bash
root@8b5507bd355a:/# ls -al /boot
total 4124
drwxr-xr-x  6 root root     129 Oct  1 10:35 .
drwxr-xr-x 57 root root    4096 Nov  5 06:04 ..
drwxr-xr-x  2 root root       3 Oct  1 10:34 androidboot
drwxr-xr-x  2 root root       3 Apr 25  2018 efi
drwxr-xr-x  2 root root       3 Oct  1 10:34 grub
lrwxrwxrwx  1 root root      28 Oct  1 10:34 initrd.img-core -> initrd.img-core-0.7.43+ppa27
-rw-r--r--  1 root root 4218483 Oct  1 10:34 initrd.img-core-0.7.43+ppa27
drwxr-xr-x  2 root root       3 Oct  1 10:34 uboot

Since /boot is mounted into the docker-container inside docker-compose.yml I would expect it to have the same content the on my host, which is not the case:

#:~/linaro_lava/docker-compose$ ls -al /boot
total 68300
drwxr-xr-x  4 root root     4096 Oct 30 08:17 .
drwxr-xr-x 24 root root     4096 Oct 30 08:14 ..
-rw-------  1 root root  4064684 Oct  1 03:02 System.map-4.15.0-66-generic
-rw-r--r--  1 root root   217362 Oct  1 03:02 config-4.15.0-66-generic
drwxr-xr-x  3 root root     4096 Jan  1  1970 efi
drwxr-xr-x  5 root root     4096 Nov  4 15:26 grub
-rw-r--r--  1 root root 57266820 Oct 30 08:17 initrd.img-4.15.0-66-generic
-rw-------  1 root root  8363672 Oct  1 03:05 vmlinuz-4.15.0-66-generic

Why can these both directories be different?
I would really appreciate if somebody can help me out here!

Thanks
Klaas
Geschäftsführer: Christoph Ostermann (CEO), Oliver Koch, Steffen Schneider, Hermann Schweizer, Tim Ulbricht.
Amtsgericht Kempten/Allgäu, Registernummer: 10655, Steuernummer 127/137/50792, USt.-IdNr. DE272208908
_______________________________________________
Lava-users mailing list
Lava-users@lists.lavasoftware.org
https://lists.lavasoftware.org/mailman/listinfo/lava-users


--
Rémi Duraffort
LAVA Architect
Linaro