← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1251152] Re: create instance with ephemeral disk fails

 

** Changed in: nova/havana
       Status: Fix Committed => Fix Released

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

Title:
  create instance with ephemeral disk fails

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Compute (nova) grizzly series:
  In Progress
Status in OpenStack Compute (nova) havana series:
  Fix Released

Bug description:
  2013-11-14 16:31:23.032 TRACE nova.compute.manager [instance: f94c5521-0ce5-4be0-b35c-def82afc640c]   File "/opt/stack/nova/nova/comput
  e/manager.py", line 1037, in _build_instance
  2013-11-14 16:31:23.032 TRACE nova.compute.manager [instance: f94c5521-0ce5-4be0-b35c-def82afc640c]     set_access_ip=set_access_ip)
  2013-11-14 16:31:23.032 TRACE nova.compute.manager [instance: f94c5521-0ce5-4be0-b35c-def82afc640c]   File "/opt/stack/nova/nova/comput
  e/manager.py", line 1410, in _spawn
  2013-11-14 16:31:23.032 TRACE nova.compute.manager [instance: f94c5521-0ce5-4be0-b35c-def82afc640c]     LOG.exception(_('Instance faile
  d to spawn'), instance=instance)
  2013-11-14 16:31:23.032 TRACE nova.compute.manager [instance: f94c5521-0ce5-4be0-b35c-def82afc640c]   File "/opt/stack/nova/nova/comput
  e/manager.py", line 1407, in _spawn
  2013-11-14 16:31:23.032 TRACE nova.compute.manager [instance: f94c5521-0ce5-4be0-b35c-def82afc640c]     block_device_info)
  2013-11-14 16:31:23.032 TRACE nova.compute.manager [instance: f94c5521-0ce5-4be0-b35c-def82afc640c]   File "/opt/stack/nova/nova/virt/l
  ibvirt/driver.py", line 2063, in spawn
  2013-11-14 16:31:23.032 TRACE nova.compute.manager [instance: f94c5521-0ce5-4be0-b35c-def82afc640c]     admin_pass=admin_password)
  2013-11-14 16:31:23.032 TRACE nova.compute.manager [instance: f94c5521-0ce5-4be0-b35c-def82afc640c]   File "/opt/stack/nova/nova/virt/l
  ibvirt/driver.py", line 2370, in _create_image
  2013-11-14 16:31:23.032 TRACE nova.compute.manager [instance: f94c5521-0ce5-4be0-b35c-def82afc640c]     ephemeral_size=ephemeral_gb)
  2013-11-14 16:31:23.032 TRACE nova.compute.manager [instance: f94c5521-0ce5-4be0-b35c-def82afc640c]   File "/opt/stack/nova/nova/virt/l
  ibvirt/imagebackend.py", line 174, in cache
  2013-11-14 16:31:23.032 TRACE nova.compute.manager [instance: f94c5521-0ce5-4be0-b35c-def82afc640c]     *args, **kwargs)
  2013-11-14 16:31:23.032 TRACE nova.compute.manager [instance: f94c5521-0ce5-4be0-b35c-def82afc640c]   File "/opt/stack/nova/nova/virt/l
  ibvirt/imagebackend.py", line 307, in create_image
  2013-11-14 16:31:23.032 TRACE nova.compute.manager [instance: f94c5521-0ce5-4be0-b35c-def82afc640c]     prepare_template(target=base, m
  ax_size=size, *args, **kwargs)
  2013-11-14 16:31:23.032 TRACE nova.compute.manager [instance: f94c5521-0ce5-4be0-b35c-def82afc640c]   File "/opt/stack/nova/nova/openst
  ack/common/lockutils.py", line 246, in inner
  2013-11-14 16:31:23.032 TRACE nova.compute.manager [instance: f94c5521-0ce5-4be0-b35c-def82afc640c]     return f(*args, **kwargs)
  2013-11-14 16:31:23.032 TRACE nova.compute.manager [instance: f94c5521-0ce5-4be0-b35c-def82afc640c]   File "/opt/stack/nova/nova/virt/libvirt/imagebackend.py", line 162, in call_if_not_exists
  2013-11-14 16:31:23.032 TRACE nova.compute.manager [instance: f94c5521-0ce5-4be0-b35c-def82afc640c]     fetch_func(target=target, *args, **kwargs)
  2013-11-14 16:31:23.032 TRACE nova.compute.manager [instance: f94c5521-0ce5-4be0-b35c-def82afc640c] TypeError: _create_ephemeral() got an unexpected keyword argument 'max_size'
  2013-11-14 16:31:23.032 TRACE nova.compute.manager [instance: f94c5521-0ce5-4be0-b35c-def82afc640c] 

  max_size argument was add in 3cdfe894ab58f7b91bf7fb690fc5bc724e44066f,
  when creating ephemeral disks , _create_ephemeral method will get an
  unexpected keyword argument  max_size

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