]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix: Synchronise Quobyte Share mounting
authorSilvan Kaiser <silvan@quobyte.com>
Fri, 20 Mar 2015 13:30:26 +0000 (14:30 +0100)
committerSilvan Kaiser <silvan@quobyte.com>
Mon, 23 Mar 2015 13:25:41 +0000 (13:25 +0000)
commit6e0d0a5edbdec8fc3426b4938efa894340afd6bb
tree8628ac568372a3d5734050d10fc25f403769e904
parent0cdaf8e83ca5a72e2395e480b3f3d1cb343b8397
Fix: Synchronise Quobyte Share mounting

Quobyte ci tests show random failures with multiple similar shares.
A single share is listed in mounted shares twice after two (or more)
chronologically close successive calls to
_ensure_shares_mounted (examples see bug or similar Quobyte ci error
reports).
This is now prevented by synchronizing the method.

Closes-Bug: #1434502

Change-Id: Iae5cfb529c56681eaaf5868042264e4f8d71c0fb
cinder/volume/drivers/quobyte.py