-
Notifications
You must be signed in to change notification settings - Fork 136
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
change ordering to allow prestart script to SIGHUP containerpilot #140
Conversation
Change-Id: Ic4494e4b31324c91aeb328aef55afa3a42306590
Well in addition to what you're intending to fix, it'll fix a bug that we didn't realize we had -- if the The only potential source of trouble is what happens if we receive a SIGUSR1 or SIGTERM during the |
Change-Id: Ic61469ef140428e0c6cb25331e63bd464ceee6b5
In the test I'm doing a SIGUSR1 from the prestart script, then using test-probe I send a SIGHUP and see if containerpilot still registers the test service. Lots of assumptions here regarding your comment and how the tests work. |
Change-Id: Ib4e732a324af4b775ac380e416bc9f5406059839
Change-Id: I2ea779a0d21de225ef0087ff784b20c3739fb1aa
This LGTM but a merge conflict popped up once #138 was merged. If we can get that resolved I think this is good-to-go. |
Change-Id: Ief5c8c90c2ed7772b4aa6c28268fd6944eca6584
Fixed the conflict but haven't tested the new stuff from #138 just yet. Will get to that tomorrow. |
Change-Id: I8a711b0065ec278355a1d3c33e7809f62baa8721
Change-Id: I233b3261bace3367a1287a7c917b05eee5a6013b
With #138 and attempting a HUP during onstart I get: Added a new test to check this path. |
Change-Id: I0e55417c27f343772313b0d0c2147b2d3cd60975
Interesting how a fix for the hup reload() now triggers: FAIL: test_sighup_deadlock |
@wleese have you had any further insight into this one? Anything we can help with? |
Priorities have shifted a bit, leaving no time for this PR the coming weeks. On Thursday, 12 May 2016, Casey Bisson notifications@github.com wrote:
|
Closing in lieu of #165 |
Due to ordering it is currently not possible to have the preStart script dynamically change containerpilot configuration.
Maybe this change has other consequences I cannot for see, but tests work and a kill -SIGHUP 1 from the preStart script now hits reloadConfig rather than causing containerpilot to exit.