VMwareESXDriver and VMwareVCDriver report incorrect stat

Bug #1180779 reported by Ananth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Kiran Kumar Vaddi
Grizzly
Fix Released
High
Gary Kotton
VMwareAPI-Team
Fix Released
High
Unassigned

Bug Description

VMware compute drivers VMwareESXDriver and VMwareVCDriver currently report stats for the column local_gb incorrectly.
As the column name local_gb in table compute_nodes suggests, the statistics should be in denominations of GB, whereas the driver reports the same in MB.
The fix would be to modify vmwareapi/host.py to ensure the values reported for disk space are calculated in GB instead of MB.

Tags: vmware
Ananth (cbananth)
Changed in nova:
assignee: nobody → Ananth (cbananth)
assignee: Ananth (cbananth) → nobody
assignee: nobody → Ananth (cbananth)
status: New → In Progress
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/29552

Changed in nova:
assignee: Ananth (cbananth) → Kiran Kumar Vaddi (kiran-kumar-vaddi)
Changed in nova:
importance: Undecided → High
Changed in nova:
milestone: none → havana-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/29552
Committed: http://github.com/openstack/nova/commit/1985b176adff8252886c09f36c075af4144cb95f
Submitter: Jenkins
Branch: master

commit 1985b176adff8252886c09f36c075af4144cb95f
Author: kirankv <email address hidden>
Date: Fri May 17 07:14:44 2013 -0700

    Fix VMwareVCdriver reporting incorrect stats

    fix bug #1180779

    VMware nova compute drivers VMwareESXDriver and VMwareVCDriver
    currently report stats for the column local_gb in MB instead of in GB
    The fix would be to modify vmwareapi/host.py to ensure the values
    reported for disk space are calculated in GB instead of MB.
    Fix is done by further dividing the existing MB value by 1024 to
    convert to GB.
    The unit tests to check for capacity and freespace have been modified
    to check for GB.

    Change-Id: I0610047ee2bddefe0ccb46568c0f48de4c0941af

Changed in nova:
status: In Progress → Fix Committed
tags: added: grizzly-backport-potential
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/grizzly)

Fix proposed to branch: stable/grizzly
Review: https://review.openstack.org/39037

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/grizzly)

Reviewed: https://review.openstack.org/39037
Committed: http://github.com/openstack/nova/commit/8e4a3746a063633bd2f2a86d7ad922621424dcc0
Submitter: Jenkins
Branch: stable/grizzly

commit 8e4a3746a063633bd2f2a86d7ad922621424dcc0
Author: kirankv <email address hidden>
Date: Fri May 17 07:14:44 2013 -0700

    Fix VMwareVCdriver reporting incorrect stats

    fix bug #1180779

    VMware nova compute drivers VMwareESXDriver and VMwareVCDriver
    currently report stats for the column local_gb in MB instead of in GB
    The fix would be to modify vmwareapi/host.py to ensure the values
    reported for disk space are calculated in GB instead of MB.
    Fix is done by further dividing the existing MB value by 1024 to
    convert to GB.
    The unit tests to check for capacity and freespace have been modified
    to check for GB.

    Change-Id: I0610047ee2bddefe0ccb46568c0f48de4c0941af

tags: added: in-stable-grizzly
Alan Pevec (apevec)
tags: removed: grizzly-backport-potential in-stable-grizzly
Tracy Jones (tjones-i)
tags: added: vmware-co-preferred
tags: removed: vmware-co-preferred
Tracy Jones (tjones-i)
Changed in openstack-vmwareapi-team:
status: New → Fix Released
Tracy Jones (tjones-i)
Changed in openstack-vmwareapi-team:
importance: Undecided → High
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-2 → 2013.2
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.