resize instance but insufficient vcpu
Hello, I have a VM, running on a compute-1 with 20vCPU - 1 socket CPU.
compute-1 # lscpu | grep NUMA
NUMA node0 CPU(s): 0-19
from controller, I can see only 14vCPU available.
controller-1 # openstack hypervisor show 1 | grep -i "vcpus"
| vcpus | 14 |
| vcpus_used | 8 |
recently I have only one VM running in this compute, with flavor 8vCPU, 20GB memory, and 10GB Disk, with flavor properties: hw:cpu_policy='dedicated', hw:mem_page_size='1048576' .
I would like to resize the memory size of this VM, from 20GB to 30GB.
so I create a new flavor with exactly same flavor properties but Memory 30GB. then I shutdown the VM, and perform nova resize.
compute-1 # nova resize VM flavor_30G --poll
Server resizing... 0% complete
Error resizing server
ERROR (ResourceInErrorState):
but it does not works, it says:
“Insufficient compute resources: Requested instance NUMA topology cannot fit the given host NUMA topology”
I would like to know, why it is happening? and how to make this scenario works?
thank you