AppScale/appscale — pull request #215 by shatterednirvana (2012-12-27 15:53:45+00:00)
Title: AppController revives properly

Services monitored by god are supposed to be revived if they crash. The AppController is monitored by god, and to enable it to revive properly, it periodically writes its state to ZooKeeper. However, issue #33 details a problem where the AppController attempts to read local state in the revival process, and since that data isn't initialized, the AppController fails once again.

This pull request addresses this issue by not reading from the uninitialized local state to get our own node's IP address, and just queries it via `ifconfig`.