← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1420944] [NEW] Display image virtual size

 

Public bug reported:

In Icehouse, Glance added a new field, 'virtual_size', to hold the
virtual size (as opposed to on-disk size) of sparsed or compressed
images: https://blueprints.launchpad.net/glance/+spec/split-image-size

In most cases, this is far more valuable to know than the on-disk size
of an image; for instance, the official Fedora 21 QCOW2 image is only
150 Mb on disk, but is a 3 Gb image. But Horizon displays the on-disk
size in both the image detail view, and in the launch instance modal.
The latter is particularly bad, since it can lead to confusion about
whether an image can be launched on a flavor of a given size.
(Displaying the on-disk size leads one to believe that the Fedora 21
image could be launched on an m1.tiny, for instance -- 150 Mb < 1 Gb,
after all -- but it can't, because the image virtual size is greater
than 1 Gb.)

When an image has a virtual size, it should be displayed in the image
detail and in the launch instance modal.

** Affects: horizon
     Importance: Undecided
     Assignee: Chris St. Pierre (stpierre)
         Status: In Progress

-- 
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/1420944

Title:
  Display image virtual size

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  In Icehouse, Glance added a new field, 'virtual_size', to hold the
  virtual size (as opposed to on-disk size) of sparsed or compressed
  images: https://blueprints.launchpad.net/glance/+spec/split-image-size

  In most cases, this is far more valuable to know than the on-disk size
  of an image; for instance, the official Fedora 21 QCOW2 image is only
  150 Mb on disk, but is a 3 Gb image. But Horizon displays the on-disk
  size in both the image detail view, and in the launch instance modal.
  The latter is particularly bad, since it can lead to confusion about
  whether an image can be launched on a flavor of a given size.
  (Displaying the on-disk size leads one to believe that the Fedora 21
  image could be launched on an m1.tiny, for instance -- 150 Mb < 1 Gb,
  after all -- but it can't, because the image virtual size is greater
  than 1 Gb.)

  When an image has a virtual size, it should be displayed in the image
  detail and in the launch instance modal.

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


Follow ups

References