VMWare - Driver does not ignore Datastore in maintenance mode

Bug #1330065 reported by Sagar Ratnakara Nikam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Sagar Ratnakara Nikam
VMwareAPI-Team
New
High
Unassigned

Bug Description

A datastore can be in maintenance mode. The driver does not ignore it both in stats update and while spawing instances.

During stats update, a wrong stats update is returned if a datastore is in maintenance mode.

Also during spawing, if a datastore in maintenance mode gets choosen, since it had the largest disk space, the spawn would fail.

The driver should ignore datastore in maintenance mode

Tags: vmware
Changed in nova:
assignee: nobody → Sagar Ratnakara Nikam (sagar-r-nikam)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
status: New → In Progress
dan wendlandt (danwent)
Changed in openstack-vmwareapi-team:
importance: Undecided → High
Tracy Jones (tjones-i)
Changed in nova:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/100097
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=c5de5e7ab166e29304a01d7e310ae6ed32d22090
Submitter: Jenkins
Branch: master

commit c5de5e7ab166e29304a01d7e310ae6ed32d22090
Author: Sagar Ratnakara Nikam <email address hidden>
Date: Sun Jun 15 19:29:08 2014 +0530

    VMWare Driver - Ignore datastore in maintenance mode

    A datastore can be part of a datastore cluster. Any
    datastore which is part of a cluster can be put in maintenance
    mode. Instances cannot reside on a datastore if it is in
    maintenance mode.
    This fix ignores a datastore in the following scenarios
    1. Stats update - Ignore a datastore during stats update.
    2. Ignore a datastore during instance spawn.

    Change-Id: Id0cb3f5fdb4d0bc4884cf5405fadc433d4a2b6ba
    Closes-Bug: #1330065

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → juno-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: juno-3 → 2014.2
no longer affects: oslo.vmware
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.