← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
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):
  New

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


Follow ups

References