VMware Driver reports incorrect disk usage

Bug #1220459 reported by Sabari Murugesan
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Sabari Murugesan
VMwareAPI-Team
In Progress
High
Unassigned

Bug Description

VMware VCDriver currently reports the disk usage 'local_gb_used' metric as the capacity of a randomly chosen datastore in the vCenter cluster. The right value would be the aggregate capacity of all datastores in the cluster.

Eg.
With a cluster having 3 Datastores (3x 100GB LUN), only 100GB appears in "free_disk_gb" when you execute "nova hypervisor-show".

Changed in nova:
assignee: nobody → Sabari Kumar Murugesan (smurugesan)
tags: added: vmware
Changed in nova:
status: New → Confirmed
importance: Undecided → High
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/52557

Changed in nova:
status: Confirmed → In Progress
Gary Kotton (garyk)
tags: added: grizzly-backport-potential havana-backport-potential
Changed in nova:
milestone: none → icehouse-2
Tracy Jones (tjones-i)
Changed in openstack-vmwareapi-team:
importance: Undecided → High
Tracy Jones (tjones-i)
Changed in openstack-vmwareapi-team:
status: New → In Progress
Thierry Carrez (ttx)
Changed in nova:
milestone: icehouse-2 → icehouse-3
Thierry Carrez (ttx)
Changed in nova:
milestone: icehouse-3 → icehouse-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit 9adba6727bbec051c1437ee95367ecb97b207f35
Author: Sabari Kumar Murugesan <email address hidden>
Date: Thu Oct 17 16:53:29 2013 -0700

    VMware Driver update correct disk usage stat

    The nodes managed by VMware VCDriver driver can have multiple
    datastores (disk abstraction) attached to it. The driver currently
    reports the disk usage of a datastore that has the largest capacity.
    But it doesn't report a consolidated disk usage. As a result, the
    node's storage capability is under-reported in many occassions.

    This patch fixes this issue by aggregating the disk freespace,
    capacity from all attached datastores.

    Closes-Bug: #1220459

    Change-Id: I818a041f33a045773fc799de2c69628064ef8cbf

Changed in nova:
status: In Progress → Fix Committed
Alan Pevec (apevec)
tags: removed: grizzly-backport-potential
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: icehouse-rc1 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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