vmware: vmdk driver should ignore datastores in maintenance mode

Bug #1291291 reported by Vipin Balachandran
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
High
Vipin Balachandran
VMwareAPI-Team
New
Undecided
Unassigned

Bug Description

The vmdk driver ignores the maintenanceMode property of a datastore and considers it as a potential candidate for volume creation. Rather, it should ignore datastores in maintenance mode for volume creation.

Changed in cinder:
importance: Undecided → High
Mike Perez (thingee)
tags: added: drivers
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/80559

Changed in cinder:
status: New → In Progress
Changed in cinder:
milestone: icehouse-rc1 → next
tags: added: icehouse-backport-potential
removed: vmdk
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

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

commit 36b5782dea6d0e627c65c73dbfee39d55dbee318
Author: Vipin Balachandran <email address hidden>
Date: Fri Mar 14 17:50:27 2014 +0530

    vmware:Ignore inaccessible/inMaintenance datastore

    The vmdk driver uses the number of hosts connected to a datastore as one
    of the criteria for selecting a datastore for volume creation. It might
    incorrectly consider a host to which the datastore is inaccessible while
    computing the number of connected hosts. This is because, the driver
    sometimes uses the aggregated accessible status of a datastore while
    determining its accessibility to a host. Also, the driver is ignoring
    the maintenance status of the datastore and might create a volume in a
    datastore which is entering maintenance or already in maintenance. This
    change fixes these issues in datastore filtering.

    Change-Id: Ibd5c1865d42638a735fd588e9c10e8f714c9c030
    Closes-Bug: #1291346
    Closes-Bug: #1291291

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
milestone: next → none
status: Fix Committed → Fix Released
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.