CoraidDriver: REST session validity not checked into get_volume_info

Bug #1160459 reported by Jean-Baptiste RANSY on 2013-03-26
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Larry Matter

Bug Description

All methods (except create_volume) are calling the method '_get_volume_info' to obtain the volume information.
(create_volume doesn't do that because the volume doesn't yet exists)

Since bugfixes the REST session is no more verified when '_get_volume_info' is called.
This means that if the REST session expires, the driver is not more usable.

1) We will fix the problem
2) We will improve the session handler to no longer need, in each method, to explicitly call self._login ()

Changed in cinder:
assignee: nobody → Jean-Baptiste RANSY (jean-baptiste-ransy)
status: New → In Progress
Larry Matter (lmatter) on 2013-03-28
Changed in cinder:
assignee: Jean-Baptiste RANSY (jean-baptiste-ransy) → Larry Matter (lmatter)

Submitter: Jenkins
Branch: master

commit b78fb081ac1be228cecebff2a49131accfe4525c
Author: Larry Matter <email address hidden>
Date: Thu Mar 28 16:29:38 2013 -0700

    REST session validity not checked in get_volume_info

    The fix for bug 1157242 introduced a new bug in Coraid cinder driver
    _get_volume_info that the login session is not checked for
    validity/timeout. This change addressesthat issue for all
    methods in the CoraidRESTClient class.

    Fixes bug 1160459

    Change-Id: Ib2d7ebbf3ef8ec35071f51c6168eb9b3af9405e6

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2013-05-29
Changed in cinder:
milestone: none → havana-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2013-10-17
Changed in cinder:
milestone: havana-1 → 2013.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers