← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1325670] [NEW] Flavor's disk is too small for requested image.

 

Public bug reported:

I uploaded an image to glance and booted it. Once it landed on a compute
node it tried to download the image to the compute node over and over
and fails with this exception and never goes to error state.

2014-06-02 10:53:19.651 ERROR nova.compute.manager [req-83d5f514-5650-4fd2-8c01-1680428b7419 demo demo] [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a] Instance failed to spawn
2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a] Traceback (most recent call last):
2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]   File "/opt/stack/nova/nova/compute/manager.py", line 2059, in _build_resources
2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]     yield resources
2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]   File "/opt/stack/nova/nova/compute/manager.py", line 1962, in _build_and_run_instan
ce
2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]     block_device_info=block_device_info)
2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2281, in spawn
2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]     admin_pass=admin_password)
2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2655, in _create_image
2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]     project_id=instance['project_id'])
2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]   File "/opt/stack/nova/nova/virt/libvirt/imagebackend.py", line 192, in cache
2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]     *args, **kwargs)
2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]   File "/opt/stack/nova/nova/virt/libvirt/imagebackend.py", line 384, in create_image
2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]     prepare_template(target=base, max_size=size, *args, **kwargs)
2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]   File "/opt/stack/nova/nova/openstack/common/lockutils.py", line 249, in inner
2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]     return f(*args, **kwargs)
2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]   File "/opt/stack/nova/nova/virt/libvirt/imagebackend.py", line 182, in fetch_func_s
ync
2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]     fetch_func(target=target, *args, **kwargs)
2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]   File "/opt/stack/nova/nova/virt/libvirt/utils.py", line 660, in fetch_image
2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]     max_size=max_size)
2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]   File "/opt/stack/nova/nova/virt/images.py", line 110, in fetch_to_raw
2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]     raise exception.FlavorDiskTooSmall()
2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a] FlavorDiskTooSmall: Flavor's disk is too small for requested image.
2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  Flavor's disk is too small for requested image.

Status in OpenStack Compute (Nova):
  New

Bug description:
  I uploaded an image to glance and booted it. Once it landed on a
  compute node it tried to download the image to the compute node over
  and over and fails with this exception and never goes to error state.

  2014-06-02 10:53:19.651 ERROR nova.compute.manager [req-83d5f514-5650-4fd2-8c01-1680428b7419 demo demo] [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a] Instance failed to spawn
  2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a] Traceback (most recent call last):
  2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]   File "/opt/stack/nova/nova/compute/manager.py", line 2059, in _build_resources
  2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]     yield resources
  2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]   File "/opt/stack/nova/nova/compute/manager.py", line 1962, in _build_and_run_instan
  ce
  2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]     block_device_info=block_device_info)
  2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2281, in spawn
  2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]     admin_pass=admin_password)
  2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2655, in _create_image
  2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]     project_id=instance['project_id'])
  2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]   File "/opt/stack/nova/nova/virt/libvirt/imagebackend.py", line 192, in cache
  2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]     *args, **kwargs)
  2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]   File "/opt/stack/nova/nova/virt/libvirt/imagebackend.py", line 384, in create_image
  2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]     prepare_template(target=base, max_size=size, *args, **kwargs)
  2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]   File "/opt/stack/nova/nova/openstack/common/lockutils.py", line 249, in inner
  2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]     return f(*args, **kwargs)
  2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]   File "/opt/stack/nova/nova/virt/libvirt/imagebackend.py", line 182, in fetch_func_s
  ync
  2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]     fetch_func(target=target, *args, **kwargs)
  2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]   File "/opt/stack/nova/nova/virt/libvirt/utils.py", line 660, in fetch_image
  2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]     max_size=max_size)
  2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]   File "/opt/stack/nova/nova/virt/images.py", line 110, in fetch_to_raw
  2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]     raise exception.FlavorDiskTooSmall()
  2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a] FlavorDiskTooSmall: Flavor's disk is too small for requested image.
  2014-06-02 10:53:19.651 TRACE nova.compute.manager [instance: 4cb1ec29-94d0-4ad2-8f64-eaea80dcd12a]

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


Follow ups

References