Datastore selection in cinder vmdk driver is too slow
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
In Progress
|
Wishlist
|
Man Li Qi | ||
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Detail description and steps:
1. Configure vmdk as the volume_driver in cinder.conf, restart cinder corresponding service. Just like below:
volume_
2. Create a volume with command with "cinder create..."
Current problem:
If there are many hosts in the environment, for example 200 hosts, and the top hosts of the hosts list don't meet the requirement, it will lead openstack to interactive many times with vcenter(api calls), and it will cause the performance of volume creation very bad. The time cost mainly focuses on datastore selection phase.
Expected result:
Even though there are many hosts in the environment, the duration for volume creation(datastore selection) with vmdk driver is within acceptable range.
Looks like it is issue for VMware driver in cinder. Not for nova.