← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1517006] Re: Can't create instances with flavors that have "numa" related extra specs in a cell setup

 

I'm going to update the status of this bug as wontfix per comments
regarding Cellsv1 freeze above. If you find further information that
suggests this is unrelated to Cellsv1 then feel free to reopen this bug
with that new information.

** Changed in: nova
       Status: Confirmed => Won't Fix

** Summary changed:

- Can't create instances with flavors that have "numa" related extra specs in a cell setup
+ Can't create instances with flavors that have "numa" related extra specs in a cell setup (cells v1)

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

Title:
  Can't create instances with flavors that have "numa" related extra
  specs in a cell setup (cells v1)

Status in OpenStack Compute (nova):
  Won't Fix

Bug description:
  In a cell setup can't create instances with flavors that have extra specs like:
  hw:numa_nodes
  hw:mem_page_size

  
  nova-cell in the "child cell" fails with:

  2015-11-17 10:51:50.574 ERROR nova.cells.scheduler [req-f7dc64e6-a545-4c2c-bc57-4e4a2e86cf58 demo demo] Couldn't communicate with cell 'cell'
  2015-11-17 10:51:50.574 TRACE nova.cells.scheduler Traceback (most recent call last):
  2015-11-17 10:51:50.574 TRACE nova.cells.scheduler   File "/opt/stack/nova/nova/cells/scheduler.py", line 186, in _build_instances
  2015-11-17 10:51:50.574 TRACE nova.cells.scheduler     image, security_groups, block_device_mapping)
  2015-11-17 10:51:50.574 TRACE nova.cells.scheduler   File "/opt/stack/nova/nova/cells/scheduler.py", line 109, in _create_instances_here
  2015-11-17 10:51:50.574 TRACE nova.cells.scheduler     instance.update(instance_values)
  2015-11-17 10:51:50.574 TRACE nova.cells.scheduler   File "/usr/local/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 727, in update
  2015-11-17 10:51:50.574 TRACE nova.cells.scheduler     setattr(self, key, value)
  2015-11-17 10:51:50.574 TRACE nova.cells.scheduler   File "/usr/local/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 71, in setter
  2015-11-17 10:51:50.574 TRACE nova.cells.scheduler     field_value = field.coerce(self, name, value)
  2015-11-17 10:51:50.574 TRACE nova.cells.scheduler   File "/usr/local/lib/python2.7/dist-packages/oslo_versionedobjects/fields.py", line 189, in coerce
  2015-11-17 10:51:50.574 TRACE nova.cells.scheduler     return self._type.coerce(obj, attr, value)
  2015-11-17 10:51:50.574 TRACE nova.cells.scheduler   File "/usr/local/lib/python2.7/dist-packages/oslo_versionedobjects/fields.py", line 506, in coerce
  2015-11-17 10:51:50.574 TRACE nova.cells.scheduler     'valtype': obj_name})
  2015-11-17 10:51:50.574 TRACE nova.cells.scheduler ValueError: An object of type InstanceNUMATopology is required in field numa_topology, not a 
  2015-11-17 10:51:50.574 TRACE nova.cells.scheduler 
  2015-11-17 10:51:50.574 ERROR nova.cells.scheduler [req-f7dc64e6-a545-4c2c-bc57-4e4a2e86cf58 demo demo] Couldn't communicate with any cells

  
  Reproduce steps:
  1) Setup nova in order to use cells.

  2) Create a flavor with the extra spec "hw:numa_nodes"
  nova flavor-create m1.nano.numa2 30 64 1 1
  nova flavor-key 30 set hw:numa_nodes=1

  3) Create an instance with the new flavor

  
  Actual Result:
  Instance status: ERROR
  Instance task state: scheduling

  Trace in "child cell".

  
  Tested in devstack (master).
  Tested in Kilo.

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


References