2018-04-05 19:41:30 |
Andres Rodriguez |
description |
Deploying a machine with Bionic results in networking not configured in the initramfs, which fails the deployment process.
Deploying Xenial works just fine.
Full log is available in: https://pastebin.ubuntu.com/p/y7nJttSt5x/
[ 65.435628] async_tx: api initialized (async)
done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... ipconfig: BOOTIF: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: BOOTIF: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: BOOTIF: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: BOOTIF: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: BOOTIF: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: BOOTIF: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: BOOTIF: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: BOOTIF: SIOCGIFINDEX: No such device
ipconfig: no devices to con[ 65.574320] Btrfs loaded, crc32c=crc32c-intel
figure
ipconfig: BOOTIF: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: BOOTIF: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
:: root=squash:http://192.168.9.10:5248/images/ubuntu/amd64/ga-18.04/bionic/daily/squashfs
:: mount_squash downloading http://192.168.9.10:5248/images/ubuntu/amd64/ga-18.04/bionic/daily/squashfs to /root.tmp.img
Connecting to 192.168.9.10:5248 (192.168.9.10:5248)
wget: can't connect to remote host (192.168.9.10): Network is unreachable
:: mount -t squashfs -o loop '/root.tmp.img' '/root.tmp'
mount: mounting /root.tmp.img on /root.tmp failed: No such file or directory
done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Warning: fsck not present, so skipping root file system
mount: mounting squash:http://192.168.9.10:5248/images/ubuntu/amd64/ga-18.04/bionic/daily/squashfs on /root failed: No such device
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... Warning: overlayroot: configuring overlayroot with driver=overlay mode=tmpfs opts='' per kernel cmdline
mount: mounting /root on /media/root-ro failed: Invalid argument
Failure: overlayroot: failed to move root away from /root to /media/root-ro
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /dev on /root/dev failed: No such file or directory
done.
mount: mounting /run on /root/run failed: No such file or directory
run-init: current directory on the same filesystem as the root: error 0
Target filesystem doesn't have requested /sbin/init.
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
No init found. Try passing init= bootarg.
BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu3) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs) cat /proc/cmdline |
Deploying a machine with Bionic results in networking not configured in the initramfs, which fails the deployment process.
Deploying Xenial works just fine.
Full log is available in: https://pastebin.ubuntu.com/p/y7nJttSt5x/
Note that this doesn't happen in all hardware, this just happened in one specific lab with specific hardware.
[ 65.435628] async_tx: api initialized (async)
done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... ipconfig: BOOTIF: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: BOOTIF: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: BOOTIF: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: BOOTIF: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: BOOTIF: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: BOOTIF: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: BOOTIF: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: BOOTIF: SIOCGIFINDEX: No such device
ipconfig: no devices to con[ 65.574320] Btrfs loaded, crc32c=crc32c-intel
figure
ipconfig: BOOTIF: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: BOOTIF: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
:: root=squash:http://192.168.9.10:5248/images/ubuntu/amd64/ga-18.04/bionic/daily/squashfs
:: mount_squash downloading http://192.168.9.10:5248/images/ubuntu/amd64/ga-18.04/bionic/daily/squashfs to /root.tmp.img
Connecting to 192.168.9.10:5248 (192.168.9.10:5248)
wget: can't connect to remote host (192.168.9.10): Network is unreachable
:: mount -t squashfs -o loop '/root.tmp.img' '/root.tmp'
mount: mounting /root.tmp.img on /root.tmp failed: No such file or directory
done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Warning: fsck not present, so skipping root file system
mount: mounting squash:http://192.168.9.10:5248/images/ubuntu/amd64/ga-18.04/bionic/daily/squashfs on /root failed: No such device
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... Warning: overlayroot: configuring overlayroot with driver=overlay mode=tmpfs opts='' per kernel cmdline
mount: mounting /root on /media/root-ro failed: Invalid argument
Failure: overlayroot: failed to move root away from /root to /media/root-ro
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /dev on /root/dev failed: No such file or directory
done.
mount: mounting /run on /root/run failed: No such file or directory
run-init: current directory on the same filesystem as the root: error 0
Target filesystem doesn't have requested /sbin/init.
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
No init found. Try passing init= bootarg.
BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu3) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs) cat /proc/cmdline |
|