← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1408070] [NEW] Instance crashes when guest topology is being requested

 

Public bug reported:

The current version of Libvirt in the gate doesn't return mempages in numa
cells. When requesting guest topology the instance is crashing with
the following:


[instance: 730a2e16-c81c-44b6-b9b5-5c073feff9ce] Instance failed to spawn
Traceback (most recent call last):
  File "/opt/stack/new/nova/nova/compute/manager.py", line 2287, in _build_resources
    yield resources
  File "/opt/stack/new/nova/nova/compute/manager.py", line 2157, in _build_and_run_instance
    flavor=flavor)
  File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 2389, in spawn
    flavor=flavor)
  File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 4063, in _get_guest_xml
    context, flavor=flavor)
  File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 3837, in _get_guest_config
    instance.numa_topology, guest_numa_config.numatune)
  File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 3782, in _get_guest_memory_backing_config
    smallest = avail_pagesize[0]
IndexError: list index out of range

** Affects: nova
     Importance: Undecided
     Assignee: Vladik Romanovsky (vladik-romanovsky)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Vladik Romanovsky (vladik-romanovsky)

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

Title:
  Instance crashes when guest topology is being requested

Status in OpenStack Compute (Nova):
  New

Bug description:
  The current version of Libvirt in the gate doesn't return mempages in numa
  cells. When requesting guest topology the instance is crashing with
  the following:

  
  [instance: 730a2e16-c81c-44b6-b9b5-5c073feff9ce] Instance failed to spawn
  Traceback (most recent call last):
    File "/opt/stack/new/nova/nova/compute/manager.py", line 2287, in _build_resources
      yield resources
    File "/opt/stack/new/nova/nova/compute/manager.py", line 2157, in _build_and_run_instance
      flavor=flavor)
    File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 2389, in spawn
      flavor=flavor)
    File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 4063, in _get_guest_xml
      context, flavor=flavor)
    File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 3837, in _get_guest_config
      instance.numa_topology, guest_numa_config.numatune)
    File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 3782, in _get_guest_memory_backing_config
      smallest = avail_pagesize[0]
  IndexError: list index out of range

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


Follow ups

References