New Instance Tasks should use same Nova Client Instance

Bug #1207931 reported by Justin Hopper
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Medium
Justin Hopper

Bug Description

FreshInstanceTasks does not use inherited method to get cached instance of novaclient and instead creates it explicitly over and over again. This is a performance hit because it is basically re-authenticating each time.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

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

Changed in trove:
assignee: nobody → Justin Hopper (justin-hopper)
status: New → In Progress
Changed in trove:
importance: Undecided → Medium
milestone: none → havana-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/41494
Committed: http://github.com/openstack/trove/commit/39569a6a245cf325174909d26d6da402818fbdf5
Submitter: Jenkins
Branch: master

commit 39569a6a245cf325174909d26d6da402818fbdf5
Author: justin-hopper <email address hidden>
Date: Mon Aug 12 11:16:29 2013 -0700

    Use same Nova Client throughout Fresh Instance Task

        Fixes bug where nova client was reinitialized many times during
        building of new instance

    Fixes: bug 1207931

    Change-Id: I965a6fa74f721a74f7632aa68963787d02103af5

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