Commit dc46b6ec authored by Ryan Jackson's avatar Ryan Jackson

Handle failed XML-RPC calls

If TestBusy() or ClearAddress() fails due to connection problems, the
subboss_images table will be left in a bad state.  tmcd will assume
that the frisbeed process is still running on the subboss and will
return that address to nodes calling loadinfo.  These nodes will get
stuck waiting for a frisbeed that isn't running.

To prevent this, we now restart frisbeed when the TestBusy() or
ClearAddress() calls fail.  Hopefully, the next time around the calls
will succeed and subboss_frisbeelauncher can reset the DB state and
exit normally.
parent 60781888
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment