revised patch. --- driver.py.org 2015-02-05 03:07:39.396827122 +0000 +++ driver.py 2015-02-06 14:41:25.331949566 +0000 @@ -4682,11 +4687,16 @@ if topology is None or not topology.cells: return + if len([cell for cell in topology.cells if cell.memory is None]): + LOG.warn("odd, some of your numa cells have None memory. %s", + [{id: cell.id, cpuset: set(cpu.id for cpu in cell.cpus), + memory: cell.memory} for cell in topology.cells]) + topology = objects.NUMATopology( cells=[objects.NUMACell( id=cell.id, cpuset=set(cpu.id for cpu in cell.cpus), - memory=cell.memory / units.Ki, + memory=(cell.memory if cell.memory else 0)/ units.Ki, cpu_usage=0, memory_usage=0, mempages=[ objects.NUMAPagesTopology(
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/1418187 Title: _get_host_numa_topology assumes numa cell has memory To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1418187/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs