Activity log for bug #1835379

Date Who What changed Old value New value Message
2019-07-04 08:34:17 WANG Qian bug added bug
2019-07-04 09:18:18 WANG Qian description Hi, I have a question about resource claim during instance rebuild. Say we have a stack with two VMs (each flavor is 2 vCPU) located on compute node A, and now compute node A has only 1 vCPU left free. Then, try to rebuild VM1, it will claim resource on the current compute node A with same flavor (i.e. 2 vCPU), right? Since there is only 1 vCPU left, VM1 rebuild will fail, and VM1's status will be "Error". The fault message looks like: "Build of instance xxxx aborted: Insufficient compute resources: Free vcpu 1.00 VCPU < requested 2 VCPU." Is this the expected behavior? If so, it means instance rebuild requires additional resources, correct? And a further question is, if we rebuild these two VMs together, will the resource claim occurred one by one for each instance, or claim all at the same time (that is double of all VMs to be rebuilt on this host)? Please help to clarify. Thank you. Qian Hi, I have a question about resource claim during instance rebuild. Description =========== We have a stack with two VMs (each flavor is 2 vCPU) located on compute node A, and after that, compute node A now has only 1 vCPU left free. Then, try to rebuild VM1. Expected result =============== VM1 rebuild successfully. Actual result ============= VM1 rebuild failed. The fault message looks like: "Build of instance xxxx aborted: Insufficient compute resources: Free vcpu 1.00 VCPU < requested 2 VCPU." It seems rebuild will claim resource on the current compute node A with same flavor (i.e. 2 vCPU), right? Since there is only 1 vCPU left, VM1 rebuild failed, and VM1's status became "Error". Is this the expected behavior? If so, it means instance rebuild requires additional resources, correct? And a further question is, if we rebuild these two VMs together, will the resource claim occurred one by one for each instance, or claim all at the same time (that is double of all VMs to be rebuilt on this host)? Environment =========== Openstack Newton Please help to clarify. Thank you. Qian
2019-07-05 11:24:32 Chris Dent tags resource-tracker scheduler
2019-07-05 13:42:53 Matt Riedemann nova: status New Incomplete
2019-07-05 13:47:26 Matt Riedemann marked as duplicate 1750618