You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Builds can go into hot loop with this failure: #1555
By hot loop I mean it looks like the controller is continually trying this, never making any progress. It highlights that the controller is not making progress either (it looks like this is going to the head of the queue and tried again immediately).
so the only broken part about this in my mind is that after deleting the buildconfig, the loop does not break.
the part where it spins because the repo doesn't exist is intentional, if you create the repo you'll resolve it and it'll make progress... we don't consider it a fatal error for the repo to temporarily not exist.
The hot loop is horrible if it never ends. This was continuously hot looping for over an error, and no other builds could get scheduled. That is a "bug".
----- Original Message -----
so the only broken part about this in my mind is that after deleting the
buildconfig, the loop does not break.
the part where it spins because the repo doesn't exist is intentional, if you
create the repo you'll resolve it and it'll make progress... we don't
consider it a fatal error for the repo to temporarily not exist.
Reply to this email directly or view it on GitHub: #1555 (comment)
yes, that was a fundamental limitation of the retry queuing logic that @ironcladlou and I came up with, we noted it at the time that handling "backoff" is significantly more complicated due to the race conditions introduced. All the controllers that use retry have this behavior..the only difference is that the deployment controller chose to only retry a few times, whereas for builds I elected to retry indefinitely for conditions that might be resolved at some point.
one way to limit the retry spinning would be for the controller to track state and when it sees the same event twice in a row, it delays itself before processing that event. but that will also delay anything else in the queue. (presumably nothing, which is why we got the same event twice)
Activity
smarterclayton commentedon Apr 1, 2015
The image repository was deleted.
smarterclayton commentedon Apr 1, 2015
Even after deleting the builds, the hot loop continues.
smarterclayton commentedon Apr 1, 2015
By hot loop I mean it looks like the controller is continually trying this, never making any progress. It highlights that the controller is not making progress either (it looks like this is going to the head of the queue and tried again immediately).
bparees commentedon Apr 1, 2015
so the only broken part about this in my mind is that after deleting the buildconfig, the loop does not break.
the part where it spins because the repo doesn't exist is intentional, if you create the repo you'll resolve it and it'll make progress... we don't consider it a fatal error for the repo to temporarily not exist.
smarterclayton commentedon Apr 1, 2015
This was not a build config. This was a build.
The hot loop is horrible if it never ends. This was continuously hot looping for over an error, and no other builds could get scheduled. That is a "bug".
----- Original Message -----
bparees commentedon Apr 1, 2015
not denying there is a bug here, just trying to clarify the expected portion of the behavior.
it should not block other builds because this is using the requeue logic, so other events should be processed before the requeued event.
the hot loop ends when you update your configuration to be valid by either modifying the build definition or creating the missing imagerepository.
I agree that deleting the build should also terminate the loop.
smarterclayton commentedon Apr 1, 2015
It's also trying too fast - tens of times a second.
bparees commentedon Apr 1, 2015
yes, that was a fundamental limitation of the retry queuing logic that @ironcladlou and I came up with, we noted it at the time that handling "backoff" is significantly more complicated due to the race conditions introduced. All the controllers that use retry have this behavior..the only difference is that the deployment controller chose to only retry a few times, whereas for builds I elected to retry indefinitely for conditions that might be resolved at some point.
bparees commentedon Apr 1, 2015
one way to limit the retry spinning would be for the controller to track state and when it sees the same event twice in a row, it delays itself before processing that event. but that will also delay anything else in the queue. (presumably nothing, which is why we got the same event twice)
danmcp commentedon May 15, 2015
Closing due to age without prejudice.
bparees commentedon May 15, 2015
also it was fixed :)
Squashed 'cmd/service-catalog/go/src/github.com/kubernetes-incubator/…