3PAR connection cache is in the wrong location

Bug #1398914 reported by Anthony Lee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
High
Anthony Lee

Bug Description

The 3PAR connection name cache is currently located in 3PAR common. It would be better if this was stored in a more global location since the cache in common could potentially be erased (cinder is restarted, common object destroyed). By doing this the drivers can keep track of the cache without needing to call another class.

Another solution is to not save the cache in 3PAR common and requery the backend to see if a host is already active.

Tags: 3par driver
tags: added: driver
Changed in cinder:
assignee: nobody → Anthony Lee (anthony-mic-lee)
tags: added: 3par
Changed in cinder:
status: New → Confirmed
description: updated
Changed in cinder:
importance: Undecided → High
Changed in cinder:
status: Confirmed → In Progress
description: updated
description: updated
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/140197
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=9c50182b4a2ea86a305c5d33ec767340574a522e
Submitter: Jenkins
Branch: master

commit 9c50182b4a2ea86a305c5d33ec767340574a522e
Author: Anthony Lee <email address hidden>
Date: Mon Dec 8 17:12:27 2014 -0800

    Fixing 3PAR connection name cache error

    The 3PAR driver had a connection name cache in 3PAR common. If
    Cinder was restarted or the common object was destroyed the cache
    was lost. Instead of having the cache in 3PAR common, the 3PAR
    driver can query the backend to see if there is a host already
    available. Replacing the name cache with a backend query had minimal
    impact on performance of the driver and eliminates the problem of the
    cache being destroyed/lost.

    Closes-Bug: #1398914
    Change-Id: Ie5467abc38946cceb4896fe9cbbd1606c7fbfba2

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → kilo-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: kilo-2 → 2015.1.0
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.