]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
vstart.sh: fix mgr vs restful command startup race 16564/head
authorSage Weil <sage@redhat.com>
Tue, 25 Jul 2017 13:20:29 +0000 (09:20 -0400)
committerSage Weil <sage@redhat.com>
Tue, 25 Jul 2017 13:20:29 +0000 (09:20 -0400)
commit0495efe624f75fbf43b464a7b06d792c174a7964
treefe78b37294c8865f1b3771fd364618d75591cfb3
parent0988a34ad10ca47204b2f932d43e986221b7652e
vstart.sh: fix mgr vs restful command startup race

If the mgr hasn't activated yet we won't have registered the python
commands.  Use 'ceph tell mgr ...' to ensure we block.  (This is only a
problem right after mkfs when the first mgr hasn't started yet.)

Signed-off-by: Sage Weil <sage@redhat.com>
src/vstart.sh