_get_host_numa_topology assumes numa cell has memory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Sahid Orentino | ||
Juno |
Fix Released
|
Medium
|
Matt Riedemann | ||
nova (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
numa cells are not guaranteed to have memory.
libvirt capabilities represent that correctly.
nova's _get_host_
kilobytes via:
memory=
but cell.memory ends up being None. for some LibvirtConfigCa
stack trace is like this:
[-] unsupported operand type(s) for /: 'NoneType' and 'int'
Traceback (most recent call last):
File "/usr/lib/
x.wait()
File "/usr/lib/
return self.thread.wait()
File "/usr/lib/
return self._exit_
File "/usr/lib/
return hubs.get_
File "/usr/lib/
return self.greenlet.
File "/usr/lib/
result = function(*args, **kwargs)
File "/usr/lib/
service.start()
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
rt.
File "/usr/lib/
resources = self.driver.
File "/usr/lib/
numa_topology = self._get_
File "/usr/lib/
for cell in topology.cells])
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'
tags: | added: openstack uosci |
tags: | added: patch |
Changed in nova: | |
assignee: | nobody → sahid (sahid-ferdjaoui) |
tags: | removed: in-stable-juno juno-backport-potential |
Changed in nova: | |
status: | Confirmed → Incomplete |
Changed in nova (Ubuntu): | |
status: | Confirmed → Incomplete |
Changed in nova (Ubuntu): | |
status: | Incomplete → Fix Released |
attachign virsh capabilities output.