Boot from Ubuntu volume on baremetal node incomplete
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Invalid
|
High
|
Michael Turek | ||
diskimage-builder |
Fix Released
|
Undecided
|
Nguyen Van Trung |
Bug Description
Spawning an instance on baremetal node to boot from a cinder volume doesn't find the root device and drops to shell with <initramfs> prompt:
-------
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Gave up waiting for root device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Check root= (did the system wait for the right device?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/disk/
BusyBox v1.21.1 (Ubuntu 1:1.21.0-1ubuntu1) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs)
-------
Same outcome for pre-built or Disk Image Builder created image of Ubuntu.
$ sudo wget http://
$ glance image-create --name trusty-
$ openstack volume create --size 10 --image d1bd7d56-
$ openstack server create --flavor baremetal --nic $net_id --volume trustyimg --key-name default trustyserver
Console output:
http://
http://
Changed in diskimage-builder: | |
status: | New → In Progress |
Changed in ironic: | |
status: | In Progress → Incomplete |
Changed in diskimage-builder: | |
assignee: | nobody → Nguyen Van Trung (trungnv) |
Changed in ironic: | |
status: | Incomplete → Invalid |
A workaround is creating an image manually[1] with the following setup before shutting down the instance.
apt-get install open-iscsi -y iscsi.initramfs
echo "ISCSI_AUTO=true" > /etc/iscsi/
update-initramfs -u
[1] https:/ /docs.openstack .org/image- guide/ubuntu- image.html