Cannot fully boot Linux install CD image. [closed]

asked 2017-10-20 08:27:16 -0600

woltjert gravatar image

I am trying to create a linux VM inside of openstack, I have added the installer ISO as an image, and intend to install to a volume. Ceph is used for storage of both images and volumes. When I create the instance booting from the ISO image it starts up fine, and I am able to see the ISO's boot selection from the console. However, booting the installer greets me with Initramfs unpacking failed: write error. I don't quite know what would cause this, as I am very new to the openstack platform. I followed the base install guide for openstack on ubuntu, and added ceph storage to that with cinder. If there is any other information that would be useful in solving the problem, I can try to provide it.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by woltjert
close date 2017-11-24 09:40:16.210662


Since the initramfs is unpacked into memory, I doubt that this has anything to do with the volume. More likely an incompatibility of ISO and VM. Check the nova-compute and libvirt logs, and libvirt XML file generated by OpenStack.

Bernd Bausch gravatar imageBernd Bausch ( 2017-10-22 18:15:49 -0600 )edit

To rule out problems with Ceph and Cinder, also try to launch the instance with ephemeral storage.

To rule out problems with Ceph and Glance, download the ISO from Glance and compare it with the original. Use the libvirt XML file to boot from either directly (i.e. use virsh instead of OpenStack).

Bernd Bausch gravatar imageBernd Bausch ( 2017-10-22 18:20:00 -0600 )edit

It seems that when I use a flavor that has ephemeral storage, the installer correctly boots. Is this expected behavior or does that indicate a problem with my configuration of Cinder with Ceph?

woltjert gravatar imagewoltjert ( 2017-10-23 09:33:36 -0600 )edit

Well, it obviously points to a problem with volumes. I am not sure how this works in detail, but I guess the image is copied to a volume, then the instance booted from that volume. initramfs unpacking may fail because the volume is in an unexpected format, or is corrupted. Check this volume.

Bernd Bausch gravatar imageBernd Bausch ( 2017-10-25 05:33:14 -0600 )edit