Verified as follows - id of host cpu is used in instance xml. ******** VERSION ******** # yum list installed | grep openstack-nova openstack-nova-api.noarch 1:13.1.2-9.el7ost @rhelosp-9.0-puddle openstack-nova-cert.noarch 1:13.1.2-9.el7ost @rhelosp-9.0-puddle openstack-nova-common.noarch 1:13.1.2-9.el7ost @rhelosp-9.0-puddle openstack-nova-compute.noarch 1:13.1.2-9.el7ost @rhelosp-9.0-puddle openstack-nova-conductor.noarch 1:13.1.2-9.el7ost @rhelosp-9.0-puddle openstack-nova-console.noarch 1:13.1.2-9.el7ost @rhelosp-9.0-puddle openstack-nova-novncproxy.noarch 1:13.1.2-9.el7ost @rhelosp-9.0-puddle openstack-nova-scheduler.noarch 1:13.1.2-9.el7ost @rhelosp-9.0-puddle ********* LOGS ********* # nova flavor-show 100 +----------------------------+----------------------------------------------------------------------------------------+ | Property | Value | +----------------------------+----------------------------------------------------------------------------------------+ | OS-FLV-DISABLED:disabled | False | | OS-FLV-EXT-DATA:ephemeral | 0 | | disk | 5 | | extra_specs | {"hw:cpu_realtime_mask": "^1", "hw:cpu_policy": "dedicated", "hw:cpu_realtime": "yes"} | | id | 100 | | name | m1.rt | | os-flavor-access:is_public | True | | ram | 512 | | rxtx_factor | 1.0 | | swap | | | vcpus | 2 | +----------------------------+----------------------------------------------------------------------------------------+ # nova show vm1 +--------------------------------------+----------------------------------------------------------+ | Property | Value | +--------------------------------------+----------------------------------------------------------+ | OS-DCF:diskConfig | MANUAL | | OS-EXT-AZ:availability_zone | nova | | OS-EXT-SRV-ATTR:host | serverA | | OS-EXT-SRV-ATTR:hypervisor_hostname | serverA | | OS-EXT-SRV-ATTR:instance_name | instance-00000001 | | OS-EXT-STS:power_state | 1 | | OS-EXT-STS:task_state | - | | OS-EXT-STS:vm_state | active | | OS-SRV-USG:launched_at | 2016-12-15T18:58:13.000000 | | OS-SRV-USG:terminated_at | - | | accessIPv4 | | | accessIPv6 | | | config_drive | | | created | 2016-12-15T18:57:58Z | | flavor | m1.rt (100) | | hostId | ec6c755bfc7436b29d35c316488387054e8c1dbe6ea8ad4283523d12 | | id | 354fd78d-6330-463e-8eaf-31543a0fbcef | | image | cirros (4a0e5fdb-93ce-423c-b37f-7d61b1e0cfb6) | | key_name | - | | metadata | {} | | name | vm1 | | os-extended-volumes:volumes_attached | [] | | progress | 0 | | public network | 172.24.4.227 | | security_groups | default | | status | ACTIVE | | tenant_id | 4e7049ec4c84485998c4b7e6c4a10130 | | updated | 2016-12-15T18:58:13Z | | user_id | 97e24ea8ca164b229b0faaf5bf222aa0 | +--------------------------------------+----------------------------------------------------------+ # virsh dumpxml 2 .. .... <vcpu placement='static'>2</vcpu> <cputune> <shares>2048</shares> <vcpupin vcpu='0' cpuset='10'/> <vcpupin vcpu='1' cpuset='4'/> <emulatorpin cpuset='4'/> <vcpusched vcpus='0' scheduler='fifo' priority='1'/> </cputune> ... ..
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-2992.html