Public bug reported: 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 ** Affects: nova Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1835379 Title: rebuild instance will require additional resource on current compute node Status in OpenStack Compute (nova): New Bug 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 To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1835379/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp