Public bug reported: 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. ** Affects: nova Importance: High Status: New ** Attachment added: "pcpu_domain.xml" https://bugs.launchpad.net/bugs/1966452/+attachment/5572936/+files/pcpu_domain.xml -- 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): New 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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp