Comment 19 for bug 1944759

Revision history for this message
Pavlo Shchelokovskyy (pshchelo) wrote : Re: confirm resize fails with CPUUnpinningInvalid

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]

https://paste.opendev.org/show/811839/