← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1462503] Re: Need a specific error message for disk too small boot failures

 

This bug was last updated over 2 years ago, and the last commenter
was unable to reproduce it on a more recent build.  If the issue 
still exists, please feel free to reopen it.


** Changed in: horizon
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1462503

Title:
  Need a specific error message for disk too small boot failures

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  When using a compressed image format it's possible to have late boot
  failures because the expanded image can't fit on disk. Horizon should
  show a specific error message for this failure.

  To create:
  use Admin->System->Image->Create Image
  Download a largish compressed image such as:
  http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-i386-disk1.img
  Format QCOW2
  Copy Data: true
  Public: True

  This disk is a compressed image which takes 241M, but expands to 2.2G
  ubuntu@unbuntu-drf-3:/opt/stack/data/glance/cache$ qemu-img info a22f195e-e64a-4170-90ff-e76f49a3d6f8
  image: a22f195e-e64a-4170-90ff-e76f49a3d6f8
  file format: qcow2
  virtual size: 2.2G (2361393152 bytes)
  disk size: 241M
  cluster_size: 65536

  
  Launch an Instance based on this image
  Project->Compute->Instances->Launch Instance
  Choose m1.nano, m1.tiny, or some other flavor with not enough disk
  Boot From Image (creates new volume)

  It fails with an obscure error message.

  We should catch the exception related to this specific circumstance
  and show a relevant error message.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1462503/+subscriptions


References