Repository navigation
Conversation
|
@meaksh, thanks for your PR! By analyzing the history of the files in this pull request, we identified @0xDEC0DE, @cachedout and @cvrebert to be potential reviewers. |
cachedout
left a comment
There was a problem hiding this comment.
This seems totally reasonable. I like it.
|
Great @cachedout. Do you think we should also allow those parameters for the general BTW there're some conflicts merging this PR forward to |
|
@meaksh If you want to do it to |
|
@meaksh If you have the time to put a PR together for 2016.11, that would be awesome. The merge conflict isn't too terrible, but a little bit trickier than normal. That way I won't miss something in resolving the conflict. |
|
@rallytime - Here it is the PR for |
What does this PR do?
This PR allows overriding
timeoutandgather_job_timeoutparameters tomanage.upandmanage.statusrunners. These two parameters are set in our master configuration with a high value, as we want to wait by default for jobs that takes long to execute:When dealing with an scenario where some minions are down, if we execute
manage.uprunner to check for minions that are up and running, it will end up after reaching the two timeouts. This makesmanage.uprunner unusable as presence mechanism because we cannot get a response in some short and fixed time.With this PR, we are able to call
manage.uprunner passingtimeoutandgather_job_timeoutparameters which are used to perform the upcomingtest.pingjob that the runner is going to trigger.This way we can get a quick response of
manage.uprunner in case of unreachable minions. Even if we call the runner via API.Previous Behavior
New Behavior
Tests written?
No
What do you think about this?
I also tried with
manage.presentrunner but it doesn't fit well in our scenario. Is there another quick way to check for the actual presence of minions in a context with unreachable minions?Any feedback or opinions are more than welcome! 😄
Thanks
/cc @moio