Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Insufficient compute resources: Requested instance NUMA topology cannot fit the given host NUMA topology

I think this may be a bug, as my host has all the numa/hugepages properties required for this flavor as far as I know:

flavor:

extra_specs:{"hw:cpu_policy": "dedicated", "hw:mem_page_size": "large", "aggregate_instance_extra_specs:pinned": "true", "hw:numa_node.0": "0", "hw:numa_nodes": "1", "hw:cpu_model": "Haswell"}

ram: 512

host:

virsh capabilities:

<topology>
  <cells num='2'>
    <cell id='0'>
      <memory unit='KiB'>65855052</memory>
      <pages unit='KiB' size='4'>16463763</pages>
      <pages unit='KiB' size='2048'>4096</pages>
      <distances>
        <sibling id='0' value='10'/>
        <sibling id='1' value='21'/>
      </distances>
      <cpus num='24'>

vm hugepages:

$:~/libvirt-1.2.12# cat /proc/sys/vm/nr_hugepages
8192

memory:

$:~/libvirt-1.2.12# grep -i huge /proc/meminfo
AnonHugePages:    528384 kB
HugePages_Total:    8192
HugePages_Free:     7680
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB

mount:

$:~/libvirt-1.2.12# mount|grep huge
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
nodev on /mnt/huge type hugetlbfs (rw,relatime,uid=107,gid=113)

Am I missing anything?

Insufficient compute resources: Requested instance NUMA topology cannot fit the given host NUMA topology

I think this may be a bug, as my host has all the numa/hugepages properties required for this flavor as far as I know:

flavor:

extra_specs:{"hw:cpu_policy": "dedicated", "hw:mem_page_size": "large", "aggregate_instance_extra_specs:pinned": "true", "hw:numa_node.0": "0", "hw:numa_nodes": "1", "hw:cpu_model": "Haswell"}

ram: 512

host:

virsh capabilities:

<topology>
  <cells num='2'>
    <cell id='0'>
      <memory unit='KiB'>65855052</memory>
      <pages unit='KiB' size='4'>16463763</pages>
      <pages unit='KiB' size='2048'>4096</pages>
      <distances>
        <sibling id='0' value='10'/>
        <sibling id='1' value='21'/>
      </distances>
      <cpus num='24'>

vm hugepages:

$:~/libvirt-1.2.12# cat /proc/sys/vm/nr_hugepages
8192

memory:

$:~/libvirt-1.2.12# grep -i huge /proc/meminfo
AnonHugePages:    528384 kB
HugePages_Total:    8192
HugePages_Free:     7680
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB

mount:

$:~/libvirt-1.2.12# mount|grep huge
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
nodev on /mnt/huge type hugetlbfs (rw,relatime,uid=107,gid=113)

nova:

$# nova --version 2.23.3

This is openstack kilo on Debian 8.

Am I missing anything?