Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppController revives properly #215

Merged

Conversation

shatterednirvana
Copy link
Contributor

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.

… of from local state, which is not yet initialized in that case
@ghost ghost assigned nlake44 Dec 27, 2012
@nlake44
Copy link
Contributor

nlake44 commented Dec 30, 2012

Code looks good. Requires a demo.

nlake44 added a commit that referenced this pull request Jan 2, 2013
@nlake44 nlake44 merged commit 496cf34 into AppScale:testing Jan 2, 2013
@nlake44
Copy link
Contributor

nlake44 commented Jan 2, 2013

Demo'ed and works as expected.

nlake44 added a commit to nlake44/appscale that referenced this pull request Sep 30, 2013
…m-instances

added capability to specify ec2 credentials when running appscale-termin...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants