VMware VCDriver: the _init_host and period power sync take too long time when there are thousands VMs

Bug #1513735 reported by Feng Xi Yan on 2015-11-06
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Medium
Unassigned

Bug Description

When the nova compute service is starting, it will do a host_init, and this will result in initing instance one by one, by fetching VMs info one by one from vCenter. If there are thousands of VMs on OpenStack, there will be thousands of requests to vCenter, which is a big network burden.

This circumstance also happens when compute manager doing periodical power state syncing. If the power state syncing takes too long time, and too network bandwidth, it will block the ongoing normal VM deployment.

tags: added: vmware
Tracy Jones (tjones-i) on 2015-12-01
Changed in nova:
importance: Undecided → High
assignee: nobody → Eric Brown (ericwb)

Fix proposed to branch: master
Review: https://review.openstack.org/255586

Changed in nova:
status: New → In Progress
Changed in nova:
assignee: Eric Brown (ericwb) → Feng Xi Yan (yanfengxi)
Changed in nova:
assignee: Feng Xi Yan (yanfengxi) → Qin Zhao (zhaoqin)
Changed in nova:
assignee: Qin Zhao (zhaoqin) → Feng Xi Yan (yanfengxi)
Changed in nova:
assignee: Feng Xi Yan (yanfengxi) → nobody
status: In Progress → Confirmed
Changed in nova:
assignee: nobody → Feng Xi Yan (yanfengxi)
status: Confirmed → In Progress

Change abandoned by Michael Still (<email address hidden>) on branch: master
Review: https://review.openstack.org/255586
Reason: This code hasn't been updated in a long time, and is in merge conflict. I am going to abandon this review, but feel free to restore it if you're still working on this.

Change abandoned by Michael Still (<email address hidden>) on branch: master
Review: https://review.openstack.org/242006
Reason: This patch has been sitting unchanged for more than 12 weeks. I am therefore going to abandon it to keep the nova review queue sane. Please feel free to restore the change if you're still working on it.

Sean Dague (sdague) on 2016-12-09
Changed in nova:
status: In Progress → Confirmed
importance: High → Medium
assignee: Feng Xi Yan (yanfengxi) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers