VMware VMDK driver should use host mount count as the main criterion for datastore selection

Bug #1250816 reported by Vipin Balachandran
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
High
Vipin Balachandran

Bug Description

Currently the VMDK driver picks a datastore for volume creation based on space utilization. The shell VM corresponding to the volume is migrated to a different host and datastore if the volume is attached to an instance created in a host which cannot access the volume's current datastore. These migrations could be minimized if a datastore connected to multiple hosts is picked at the time of volume creation.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

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

Changed in cinder:
status: New → In Progress
tags: added: havana-backport-potential
Changed in cinder:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/56350
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=b85cc49588c9f40e091801af33da8c7575058ec0
Submitter: Jenkins
Branch: master

commit b85cc49588c9f40e091801af33da8c7575058ec0
Author: Vipin Balachandran <email address hidden>
Date: Wed Nov 13 20:33:39 2013 +0530

    VMDK:Using host mount info for datastore selection

    Currently the VMDK driver picks a datastore for volume creation based
    on space utilization. The shadow VM corresponding to the volume is
    migrated to a different host and datastore if the volume is attached
    to an instance created in a host which cannot access the volume's
    current datastore. To reduce these migrations, this fix selects a
    datastore which is connected to maximum number of hosts, provided
    there is enough space to accommodate the volume. Ties are broken
    based on space utilization; datastore with low space utilization
    is preferred.

    Closes-Bug: #1250816
    Change-Id: I5ecf22d782857fca0889799229465c49afe188a0

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → icehouse-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: icehouse-2 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.