Comment 4 for bug 1550378

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

Reviewed: https://review.openstack.org/292370
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=e49324f671319318ff69ed290e0b136dab60ab13
Submitter: Jenkins
Branch: master

commit e49324f671319318ff69ed290e0b136dab60ab13
Author: vponomaryov <email address hidden>
Date: Mon Mar 14 14:57:06 2016 +0200

    Fix lock decorator usage for LVM and Generic drivers

    DHSS=False mode of LVM and Generic drivers uses not safe locking
    for NFS helper. So, several instances of same driver may suffer
    from race conditions for modification of NFS config files.

    So, make this lock external (inter-process) and add possibility to
    set up "lock_name", that is useful in case of LVM driver. Also,
    make Generic driver use "instance_id" instead of IP address.
    In those both cases we avoid race conditions.

    Change-Id: I0687b1080cb6a0e1d3bf7c87066fa46c06977181
    Closes-Bug: #1550378