this is still happening when resize to the same host is allowed and is actually happening...
single host devstack/master with both patches present, host with 4 CPUs, nova-cpu.conf
[DEFAULT]
allow_resize_to_same_host = True
cpu_allocation_ratio=1.0
# this one to get the error more often
update_resources_interval=15
[compute]
cpu_dedicated_set=1-3
flavors pin1 and pin2 with hw:cpu_policy='dedicated' and 1 and 2 vcpus respectively,
booted server with flavor pin1 and trying to resize with
openstack server resize <instance name> --flavor pin2 --wait && openstack server resize confirm <instance name>
still occasionally fails with
nova.exception.CPUUnpinningInvalid: CPU set to unpin [1] must be a subset of pinned CPU set [2, 3]
this is still happening when resize to the same host is allowed and is actually happening...
single host devstack/master with both patches present, host with 4 CPUs, nova-cpu.conf
[DEFAULT] to_same_ host = True ratio=1. 0 resources_ interval= 15 set=1-3
allow_resize_
cpu_allocation_
# this one to get the error more often
update_
[compute]
cpu_dedicated_
flavors pin1 and pin2 with hw:cpu_ policy= 'dedicated' and 1 and 2 vcpus respectively,
booted server with flavor pin1 and trying to resize with
openstack server resize <instance name> --flavor pin2 --wait && openstack server resize confirm <instance name>
still occasionally fails with
nova.exception. CPUUnpinningInv alid: CPU set to unpin [1] must be a subset of pinned CPU set [2, 3]
https:/ /paste. opendev. org/show/ 811839/