← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1415333] [NEW] Memnode element is not supported on all versions of libvirt

 

Public bug reported:

The current version of Libvirt in the gate doesn't support a memnode element in the numa tune configuration.
 When requesting guest topology the instance is crashing with
the following:

Instance failed to spawn
 Traceback (most recent call last):
   File "/opt/stack/new/nova/nova/compute/manager.py", line 2303, in _build_resources
     yield resources
   File "/opt/stack/new/nova/nova/compute/manager.py", line 2173, in _build_and_run_instance
     flavor=flavor)
   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 2320, in spawn
     block_device_info=block_device_info)
   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 4231, in _create_domain_and_network
     power_on=power_on)
   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 4164, in _create_domain
     LOG.error(err)
   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 82, in __exit__
     six.reraise(self.type_, self.value, self.tb)
   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 4148, in _create_domain
     domain = self._conn.defineXML(xml)
   File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 183, in doit
     result = proxy_call(self._autowrap, f, *args, **kwargs)
   File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 141, in proxy_call
     rv = execute(f, *args, **kwargs)
   File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 122, in execute
     six.reraise(c, e, tb)
   File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 80, in tworker
     rv = meth(*args, **kwargs)
   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3240, in defineXML
     if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self)
 libvirtError: XML error: unsupported XML element memnode

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


** Tags: libvirt

** 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/1415333

Title:
  Memnode element is not supported on all versions of libvirt

Status in OpenStack Compute (Nova):
  New

Bug description:
  The current version of Libvirt in the gate doesn't support a memnode element in the numa tune configuration.
   When requesting guest topology the instance is crashing with
  the following:

  Instance failed to spawn
   Traceback (most recent call last):
     File "/opt/stack/new/nova/nova/compute/manager.py", line 2303, in _build_resources
       yield resources
     File "/opt/stack/new/nova/nova/compute/manager.py", line 2173, in _build_and_run_instance
       flavor=flavor)
     File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 2320, in spawn
       block_device_info=block_device_info)
     File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 4231, in _create_domain_and_network
       power_on=power_on)
     File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 4164, in _create_domain
       LOG.error(err)
     File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 82, in __exit__
       six.reraise(self.type_, self.value, self.tb)
     File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 4148, in _create_domain
       domain = self._conn.defineXML(xml)
     File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 183, in doit
       result = proxy_call(self._autowrap, f, *args, **kwargs)
     File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 141, in proxy_call
       rv = execute(f, *args, **kwargs)
     File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 122, in execute
       six.reraise(c, e, tb)
     File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 80, in tworker
       rv = meth(*args, **kwargs)
     File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3240, in defineXML
       if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self)
   libvirtError: XML error: unsupported XML element memnode

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


Follow ups

References