scaleway / kernel-tools

:penguin: Kernels on Scaleway
http://devhub.scaleway.com/#/bootscripts
MIT License
104 stars 36 forks source link

Rancher bootscript is faulty #363

Closed marcbachmann closed 6 years ago

marcbachmann commented 6 years ago

image

tbillon commented 6 years ago

It looks like this kernel is missing the Ethernet driver. We tried recently to merge all the old rancher/docker/apparmor kernels into a single one. So can you try one of the latest kernels ?

marcbachmann commented 6 years ago

Ok. If that bootscript doesn't work for this machine, you should probably warn about that.

Yes, the newer x86_64 4.10.8 std #1 bootscript doesn't have that issue. But I can't get the custom image to boot in there. I'm getting that error:

>>> Checking user input for debug/verbose mode...
>>> Checking user input for debug shell...
>>> Signaling the server is kernel-started to the control plane...
>>> Adjusting time (ntp)...
>>> Initializing 'local' root file system...
>>> Attaching nbd0...
>>> Mounting nbd0 root...
>>> Mounting /newroot...
>>> 'mount /dev/nbd0 /newroot' failed 
>>> Checking metadata in case we skip to wait for secondary volumes to be ready...
>>> Attaching nbd1...

>>> Retrieving NBD devices info...
>>> - nbd0: l_ssd 50G
>>> - nbd1: l_ssd 50G

Check the 'mount /dev/nbd0 /newroot' failed error. There are people who have a similar problem, but I guess it's an issue in the image.