vmware compute driver retrieves the cluster reference for every spawn and volume operation

Bug #1130222 reported by Ananth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Divakar Padiyar Nandavar

Bug Description

The vmware compute driver retrieves the cluster reference for every spawn and volume operation.
The solution is to retrieve the reference once from the __init__() of vmwareapi/driver.py and reuse the same in other methods. This will reduce the number of VI SDK calls made.

Tags: vmware
Ananth (cbananth)
Changed in nova:
assignee: nobody → Ananth (cbananth)
tags: added: vmware
Chuck Short (zulcss)
Changed in nova:
status: New → Confirmed
importance: Undecided → Low
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/24405

Changed in nova:
assignee: Ananth (cbananth) → Divakar Padiyar Nandavar (divakar-padiyar-nandavar)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/24405
Committed: http://github.com/openstack/nova/commit/6b4729a58f7c2fb0fb9e31628f4be7d7678c9cad
Submitter: Jenkins
Branch: master

commit 6b4729a58f7c2fb0fb9e31628f4be7d7678c9cad
Author: divakar-padiyar-nandavar <email address hidden>
Date: Thu Mar 14 00:30:02 2013 -0600

    Use Cluster reference to reduce SDK calls

    The vmware compute driver retrieves the cluster reference
    for every spawn and volume operation. The solution is to
    retrieve the reference once from the __init__() of
    vmwareapi/driver.py and reuse the same in other methods.
    This will reduce the number of VI SDK calls made.

    Fix for bug 1130222

    Change-Id: I2179733ee4ab1b2aea919de0ad4c10631cf005ea

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