1

Trying to launch an instance from the Ubuntu 14.04 server cloud image (https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img) by following different tips I find online and in here but have no success.

Uploaded image as qcow2 and when trying to launch instance receive error "Build of instance ... aborted: Block Device Mapping is Invalid." and when creating volume from image receive no error message other than the state being "Error".

Is there a problem with the image?

Christian
  • 21
  • 4
  • The information you have provided is not enough Christian, can you please share your nova-compute logs? – McMutton Feb 27 '17 at 09:58
  • 1
    Apologies, managed to solve the problem, OpenStack was defaulting the volume space for the image too small, manually increasing the size fixed it. – Christian Feb 27 '17 at 23:45
  • No need to apologize, I am glad you were able to fix it. By the way, you should answer your own question to help the community, Stackoverflow encourages it! http://stackoverflow.com/help/self-answer – McMutton Feb 28 '17 at 11:49

1 Answers1

1

Managed to fix this. Because the size of the QCOW2 image being compressed <1GB when launching the instance OpenStack defaults to give the image a 1GB volume. Manually increasing the volume size to 3GB solved this because the extracted image was ~2.5GB.

Christian
  • 21
  • 4