← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1374902] Re: missing vcpupin elements in cputune for numa case

 

** Changed in: nova
       Status: Fix Committed => Fix Released

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

Title:
  missing vcpupin elements in cputune for numa case

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Boot instance with flavor as below:
  os@os2:~$ nova flavor-show 100
  +----------------------------+------------------------+
  | Property                   | Value                  |
  +----------------------------+------------------------+
  | OS-FLV-DISABLED:disabled   | False                  |
  | OS-FLV-EXT-DATA:ephemeral  | 0                      |
  | disk                       | 0                      |
  | extra_specs                | {"hw:numa_nodes": "2"} |
  | id                         | 100                    |
  | name                       | numa.nano              |
  | os-flavor-access:is_public | True                   |
  | ram                        | 512                    |
  | rxtx_factor                | 1.0                    |
  | swap                       |                        |
  | vcpus                      | 8                      |
  +----------------------------+------------------------+

  The result is

    <cputune>
      <vcpupin vcpu='3' cpuset='0-7,16-23'/>
      <vcpupin vcpu='7' cpuset='8-15,24-31'/>
    </cputune>

  
  The cputune should be:

    <cputune>
      <vcpupin vcpu='0' cpuset='0-7,16-23'/>
      <vcpupin vcpu='1' cpuset='0-7,16-23'/>
      <vcpupin vcpu='2' cpuset='0-7,16-23'/>
      <vcpupin vcpu='3' cpuset='0-7,16-23'/>
      <vcpupin vcpu='4' cpuset='8-15,24-31'/>
      <vcpupin vcpu='5' cpuset='8-15,24-31'/>
      <vcpupin vcpu='6' cpuset='8-15,24-31'/>
      <vcpupin vcpu='7' cpuset='8-15,24-31'/>
    </cputune>

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


References