Opened at 2008-03-28T18:59:40Z
Last modified at 2011-10-25T14:34:36Z
#371 new defect
corrupted introducer.furl causes subtle startup breakage
Reported by: | warner | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | eventually |
Component: | code-nodeadmin | Version: | 0.9.0 |
Keywords: | startup error | Cc: | zancas |
Launchpad Bug: |
Description
Timothy Fitz discovered last night at the hackfest that a corrupt BASEDIR/introducer.furl (caused by a broken link on our TestGrid page) causes the node to throw an exception partway through the startup process, leaving it in a funny state. Basically the web server got attached, but the client instance didn't get attached (which happens in startService). This made the welcome page display a traceback complaining about being unable to adapt the nevow context to the IClient interface.
We had some code in place (at rob's prompting) to detect exceptions during startup and then do sys.exit(). I suspect that there's an error path that bypasses this. Note that the exception *did* show up in twistd.log, but the node ran anyways.
The #71 "node probably started" feedback should cover problems like this: if node startup fails in this way, the 'tahoe start' command should *not* display success.
Change History (3)
comment:1 Changed at 2009-03-08T22:08:09Z by warner
- Component changed from code to code-nodeadmin
- Owner somebody deleted
comment:2 Changed at 2011-08-18T03:48:46Z by zooko
- Cc zancas added
comment:3 Changed at 2011-10-25T14:34:36Z by davidsarah
- Keywords error added