Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign uprestart homu when configuring #300
Conversation
|
Hmm, that's strange. I've never used In any case, What was the config change/which states were changed? Do you still have the output from the |
|
@aneeshusa If I'm guessing correctly, it's because if you do a Homu, on the other hand, has its state separate and can be started and stopped at will while everything is up. The only real risk there is of missing a GH event, but the downtime is pretty minimal and that can always be fixed with a Maybe if there were a way to deploy buildbot changes and just do the "request a reload the next time buildbot is idle" thing, that would let us do a highstate? |
|
@edunham I'm assuming you were applying the changes in #297 (Homu only)? @larsbergstrom If you update the Buildbot config (and restart Buildbot), does Homu need to be restarted as well? If not, let's open another issue for handling Buildbot restarting - it sounds like that's separate from this one about Homu not restarting. Also, just yesterday I read a post about fronting a webhook accepting service with a durable queue :) But I think that's overkill for us. |
|
@aneeshusa Correct; I'd made changes to Homu only and didn't want to kick Buildbot as part of applying them. I think a more robust solution long-term would be for a highstate to tell Buildbot to reload its configs after the current test run finishes. It might be possible to simply trigger a build which runs a MasterShellCommand to kill buildbot, then have buildbot configured as a service that systemd automatically restarts when it goes away. For now, though, I'd like applying the Homu state to reload the Homu configs. If the Homu service gets restarted on highstate but not on when we apply the homu state independently, it's probably a bug in our state factoring. |
|
Let's move the Buildbot discussion to #304. I added |
|
Aha, it looks like For now, the solution is to not use |
|
With #307 merged, I think this can be closed as I'm not aware of any other reasons we need to use |
|
ok, I'll edit the wiki to stop saying state.apply works, and close this :) |
edunham commentedApr 5, 2016
I just had to do this manually after a
salt servo-master1 state.apply homuto see changes in the Homu configs show up in the web interface, so it should probably be in the state.r? @aneeshusa
This change is