Comment 5 for bug 1501670

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

Reviewed: https://review.openstack.org/249999
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=085b241de9e4098cdd92c46e9b57c5f24956db8e
Submitter: Jenkins
Branch: stable/liberty

commit 085b241de9e4098cdd92c46e9b57c5f24956db8e
Author: Csaba Henk <email address hidden>
Date: Sat Oct 10 01:23:11 2015 +0200

    glusterfs/volume layout: fix incorrect usage of export_location

    Actually, all uses of export_location are incorrect -- from the
    layout code's point of view, export_location is an arbitrary
    opaque value, obtained from self.driver._setup_via_manager with
    which the only legit action is to return it from create_share*.

    That we use export_location as dict key in ensure_share is just
    a pre-layout relict that survived by the virtue of remaining
    unnoticed. Now the referred bug forced it out of the dark.

    Change-Id: I965dae99486002f00145daff0cd2a848777b5b81
    Partial-Bug: #1501670
    (cherry picked from commit e91632b6e2ff34d9bf0be52f6ac7d5d2a7520245)