]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
locker: try to make up for apache timeouts
authorJosh Durgin <josh.durgin@inktank.com>
Fri, 29 Mar 2013 23:33:49 +0000 (16:33 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Fri, 29 Mar 2013 23:34:15 +0000 (16:34 -0700)
commit2a1cdda90dde83cf5394b06c1172a2fd3f45c171
tree5ba05db02339b1e16376fa4e65e4a21aa3e04173
parentaeb1bbe414dbcebeeb10e8ce61adae9d248852f0
locker: try to make up for apache timeouts

If the lock request succeeds in updating the db, but the client gets a
timeout from apache, they can now try again and get back the machines
they just locked.

Only automatic runs have a description set when locking several
machines, so this does not affect users of teuthology-lock
--lock-many, where no description can be set in the same request.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
teuthology/locker/api.py