← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1966452] Re: Using resources:PCPU property does not result in CPU pinning

 

There's a typo in flavor specification I was copy-pasting several times
;(


| properties | resouces:PCPU='4', trait:CUSTOM_HIGHCPU='required' |


s/resouces/resources/

** Changed in: nova
       Status: Triaged => Invalid

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

Title:
  Using resources:PCPU property does not result in CPU pinning

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  When instance is being created from flavor with `--property
  resources:PCPU=4`, generated XML doesn't include vcpupin directives
  that basically does pinning.

  Instead only <vcpu placement='static'>4</vcpu> is present in libvirt
  for flavor with PCPU resource.

  Nova version: Xena

  Sample flavor that's being used:
  +----------------------------+----------------------------------------------------+
  | Field                      | Value                                              |
  +----------------------------+----------------------------------------------------+
  | OS-FLV-DISABLED:disabled   | False                                              |
  | OS-FLV-EXT-DATA:ephemeral  | 0                                                  |
  | description                | None                                               |
  | disk                       | 50                                                 |
  | id                         | 7d4455db-8d5e-4067-8c7d-2e0eb0d642f1               |
  | name                       | cpu-high-flavor_test                               |
  | os-flavor-access:is_public | True                                               |
  | properties                 | resouces:PCPU='4', trait:CUSTOM_HIGHCPU='required' |
  | ram                        | 2048                                               |
  | rxtx_factor                | 1.0                                                |
  | swap                       |                                                    |
  | vcpus                      | 4                                                  |
  +----------------------------+----------------------------------------------------+

  Generated XML will be attached.

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



References