]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph_volume_client: recover from dirty auth and auth meta updates
authorRamana Raja <rraja@redhat.com>
Tue, 7 Jun 2016 19:12:18 +0000 (00:42 +0530)
committerRamana Raja <rraja@redhat.com>
Tue, 2 Aug 2016 10:57:57 +0000 (16:27 +0530)
commit0c13bf2d028eab4cd062209be7ed985cdf28960c
tree78fc3cd71e579116c48fe653693718e84ef20bd7
parent8f7defb5d084f8e781fa44e9c21edf6c472cfb4a
ceph_volume_client: recover from dirty auth and auth meta updates

Check dirty flag after locking something and call recover() if we are
opening something dirty (racing with another instance of the driver
restarting after failure) -- only required if someone running multiple
manila-share instances with Ceph loaded.

Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit 647a2447f0c4354dc21d1083043591d2b6f6f94f)
src/pybind/ceph_volume_client.py