-
Notifications
You must be signed in to change notification settings - Fork 11
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
Support configuration of waiting times #110
base: master
Are you sure you want to change the base?
Conversation
Default exection timeout is 300 seconds, with 15 retries it could stall puppet for 45 minutes.
Note that kubectl itself has its own execution timeout, so a 45 minute duration is entirely impossible. But with 15 retries and a server that's broken enough to accept connection but not actually finish transferring the response, you could maybe reach 10 minutes. I'd prefer if you don't lower the retry count though, on most of my tests I'm seeing retry counts around 8-10 for the first startup, before Kubernetes has finished initial setup and can start accepting the core resources that need to be installed. So reducing it below that limit would mean you'd have to apply another catalog just to get the basic cluster online. |
@ananace Sure, the point is to allow configuration of waiting times. I've updated the default, please test it for your use-case. The problem is, that the exec is running also with |
With 15 retries, puppet run timeouts after 40 minutes. IMHO this it should take that long.
|
That particular issue you're seeing is exactly what the |
Well, obviously it isn't working. |
Which is definitely odd, I can't get it to build a catalog where that relationship isn't in place, so that particular part is very unlikely to be the issue. Any catalog application that requires the apiserver to be (re)started will trigger the wait for it to go online, and any catalog application where the apiserver is already running should already be up and responding to requests. The only way I can think of where your scenario occurs is if the catalog starts the apiserver and waits for it to go online - or has it already started as the catalog is being applied, and then has the apiserver crash out while Puppet moves on to start applying resources onto it. |
Default execution timeout is 300 seconds, with 15 retries it could stall puppet for 45 minutes if api server is not running.