Cannot fully boot Linux install CD image. [closed]
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.
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.
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).
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?
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.