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
Some containers take multiple minutes to start, resulting in timeouts and test failures #11016
Our deployment test suite has started flaking more frequently due to deployer pods needing more time to become ready. We don't have any valuable data since all of our flakes are due to our tests being time-bounded.
There was a similar BZ reported in kube 1.3 when running density tests from 0-100 pods on AWS.
@timothysc team was to investigate that issue to root cause. this looks the same. at the time, we suspected there were global locking issues in openshift-sdn.
After some investigation today (when SDN was not in use) it may have been
correlated to throttling on secret retrievals. In a local environment
(bone stock origin 1.4.0-alpha.0) I was able to easily reproduce long
delays when multiple pods are being scheduled. Calls to docker appeared to
be fast, but the kubelet itself was reporting
kubelet_docker_operation_latencies in the tens of seconds even for the 50th
percentile (but the 90 and 99th were only a few seconds higher).
On Tue, Sep 20, 2016 at 5:02 PM, Eric Paris [email protected]
wrote:
We did actually manage to eliminate the sdn however, before we go down
that route again....
I see these errors in a separate failed extended image test:
E0920 17:47:28.496490 16730 kubelet.go:1816] Unable to mount volumes for pod "mongodb-1-deploy_extended-test-mongodb-replica-a41h3-f5b9t(49f979b4-7f7b-11e6-a225-0e03779dc447)": timeout expired waiting for volumes to attach/mount for pod "mongodb-1-deploy"/"extended-test-mongodb-replica-a41h3-f5b9t". list of unattached/unmounted volumes=[deployer-token-nactn]; skipping pod
E0920 17:47:28.496507 16730 pod_workers.go:184] Error syncing pod 49f979b4-7f7b-11e6-a225-0e03779dc447, skipping: timeout expired waiting for volumes to attach/mount for pod "mongodb-1-deploy"/"extended-test-mongodb-replica-a41h3-f5b9t". list of unattached/unmounted volumes=[deployer-token-nactn]
I0920 17:47:28.496820 16730 server.go:608] Event(api.ObjectReference{Kind:"Pod", Namespace:"extended-test-mongodb-replica-a41h3-f5b9t", Name:"mongodb-1-deploy", UID:"49f979b4-7f7b-11e6-a225-0e03779dc447", APIVersion:"v1", ResourceVersion:"3642", FieldPath:""}): type: 'Warning' reason: 'FailedSync' Error syncing pod, skipping: timeout expired waiting for volumes to attach/mount for pod "mongodb-1-deploy"/"extended-test-mongodb-replica-a41h3-f5b9t". list of unattached/unmounted volumes=[deployer-token-nactn]
I0920 17:47:28.496861 16730 server.go:608] Event(api.ObjectReference{Kind:"Pod", Namespace:"extended-test-mongodb-replica-a41h3-f5b9t", Name:"mongodb-1-deploy", UID:"49f979b4-7f7b-11e6-a225-0e03779dc447", APIVersion:"v1", ResourceVersion:"3642", FieldPath:""}): type: 'Warning' reason: 'FailedMount' Unable to mount volumes for pod "mongodb-1-deploy_extended-test-mongodb-replica-a41h3-f5b9t(49f979b4-7f7b-11e6-a225-0e03779dc447)": timeout expired waiting for volumes to attach/mount for pod "mongodb-1-deploy"/"extended-test-mongodb-replica-a41h3-f5b9t". list of unattached/unmounted volumes=[deployer-token-nactn]
which seem to confirm the theory that secrets are taking too long
@liggitt I leave the priority to you to set/change. As to news on the issue, I finally have a reproducer that uses only docker and am working with the performance team to further isolate the cause of the slow downs.
@xThomo The reproducer used docker run in multiple threads which determined the BurstBalance on the volumes was exhausted. The Ops team is now implementing monitoring of that metric to determine if that is the root cause for these issues. Or, if there are other gating factors.
Activity
[-]Pod starting times have increased in Kube 1.4[/-][+]post-rebase: Pod starting times have increased in Kube 1.4[/+]smarterclayton commentedon Sep 20, 2016
Pods appear to be scheduled, but long delays between starting infra container and the remaining containers (in the cases we've seen).
derekwaynecarr commentedon Sep 20, 2016
There was a similar BZ reported in kube 1.3 when running density tests from 0-100 pods on AWS.
@timothysc team was to investigate that issue to root cause. this looks the same. at the time, we suspected there were global locking issues in openshift-sdn.
/cc @eparis
eparis commentedon Sep 20, 2016
We did actually manage to eliminate the sdn however, before we go down that route again....
smarterclayton commentedon Sep 20, 2016
After some investigation today (when SDN was not in use) it may have been
correlated to throttling on secret retrievals. In a local environment
(bone stock origin 1.4.0-alpha.0) I was able to easily reproduce long
delays when multiple pods are being scheduled. Calls to docker appeared to
be fast, but the kubelet itself was reporting
kubelet_docker_operation_latencies in the tens of seconds even for the 50th
percentile (but the 90 and 99th were only a few seconds higher).
On Tue, Sep 20, 2016 at 5:02 PM, Eric Paris [email protected]
wrote:
timothysc commentedon Sep 21, 2016
Here is the BZ in question: https://bugzilla.redhat.com/show_bug.cgi?id=1343196
It's not the scheduler.
csrwng commentedon Sep 21, 2016
Added the test-flake label because other flake issues have been closed/duped in favor of this one.
csrwng commentedon Sep 21, 2016
I see these errors in a separate failed extended image test:
which seem to confirm the theory that secrets are taking too long
eparis commentedon Sep 22, 2016
reassign to tstclair as he was planning to root cause during 1.5.
108 remaining items
derekwaynecarr commentedon Mar 13, 2017
xref: https://bugzilla.redhat.com/show_bug.cgi?id=1422511
we are hitting cases where docker list images is > 1min to complete, machine is not actually memory starved in those instances where this occurs.
liggitt commentedon Jul 18, 2017
This p0 has been open for 10 months, and inactive for 4. Is it actionable? If not, is it really a p0?
jwhonce commentedon Jul 18, 2017
@liggitt I leave the priority to you to set/change. As to news on the issue, I finally have a reproducer that uses only docker and am working with the performance team to further isolate the cause of the slow downs.
jwhonce commentedon Aug 1, 2017
Ops updating their monitoring https://trello.com/c/cB9lX5sb . Suspected cause is volume BurstBalance being exhausted.
xThomo commentedon Aug 16, 2017
@jwhonce could you give more details on the reproduction of the issue and is there any update on this?
jwhonce commentedon Aug 16, 2017
@xThomo The reproducer used docker run in multiple threads which determined the BurstBalance on the volumes was exhausted. The Ops team is now implementing monitoring of that metric to determine if that is the root cause for these issues. Or, if there are other gating factors.
smarterclayton commentedon Jan 23, 2018
All other issues are separate now. Closing.