]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
initialize ctx.manager in ceph.py
authorLoic Dachary <loic@dachary.org>
Thu, 14 Aug 2014 22:46:36 +0000 (00:46 +0200)
committerLoic Dachary <ldachary@redhat.com>
Tue, 12 May 2015 16:57:18 +0000 (18:57 +0200)
commitf4cb42c3ced2f33c46a4b02ca67f91b7987ffb3b
treed014f520dcb4baddf29d5de97a7782dee52f03af
parent9e7442ecc24895ca6de452a238077c9c3ed2f286
initialize ctx.manager in ceph.py

instead of rados.py because ceph.py is only run once where rados.py
could be run multiple time, leading to race conditions

http://tracker.ceph.com/issues/9027 Fixes: #9027

Signed-off-by: Loic Dachary <loic@dachary.org>
(cherry picked from commit 9782465c872b25710af278c701e15078a3748d03)

Conflicts:
tasks/rados.py
        because  if not hasattr(ctx, 'manager'): was not at the same place
tasks/ceph.py
tasks/rados.py