then , I can see the extra_specs whic I set work to vm:
/usr/bin/kvm-spice -S -M pc-1.1 -enable-kvm -m 512 -smp 3,sockets=3,cores=1,threads=1 -name instance-00000004 -uuid b7198295-3667-4abe-b9d4-07fb5e977550 -smbios type=1,manufacturer=OpenStack Foundation,product=OpenStack ......
In additon, I see below log from nova-compute.log:
AUDIT nova.compute.resource_tracker [-] Free VCPUS: 5
Hi Jon:
I have tested your issue, but I can't reproduce it. I use below flavor to create a vm with 3vcpus in a host with 8 vcpus
+------ ------- ------- ------- -+----- ------- ------- ------- ------- ------- ------+ ------- ------- ------- -+----- ------- ------- ------- ------- ------- ------+ DISABLED: disabled | False | EXT-DATA: ephemeral | 0 | 1a07-4aea- bb44-687fc9c6ae 46 | access: is_public | True | ------- ------- ------- -+----- ------- ------- ------- ------- ------- ------+
| Property | Value |
+------
| OS-FLV-
| OS-FLV-
| disk | 1 |
| extra_specs | {"hw:cpu_cores": "1", "hw:cpu_sockets": "3"} |
| id | 4c8ffddf-
| name | m1.tiny |
| os-flavor-
| ram | 512 |
| rxtx_factor | 1.0 |
| swap | |
| vcpus | 3 |
+------
then , I can see the extra_specs whic I set work to vm: 3,cores= 1,threads= 1 -name instance-00000004 -uuid b7198295- 3667-4abe- b9d4-07fb5e9775 50 -smbios type=1, manufacturer= OpenStack Foundation, product= OpenStack ......
/usr/bin/kvm-spice -S -M pc-1.1 -enable-kvm -m 512 -smp 3,sockets=
In additon, I see below log from nova-compute.log: resource_ tracker [-] Free VCPUS: 5
AUDIT nova.compute.