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
Extended deployment tests and others flake all the time because of journald rate limiting #14785
changed the title [-]Extended.deploymentconfigs with env in params referencing the configmap [Conformance] should expand the config map key to a value[/-][+]Extended deployment tests and others flake all the time because of journald rate limiting[/+]on Aug 1, 2017
Journald rate limiting on pod logs causes flakes on e2e tests that depend on looking at log output. Log output is something that is supposed to work no matter what. We have a few options on our test runs:
turn off journald rate limiting on our test instances
turn off journald logging and use jsonfile on our test instances
???
What other options do we have? This is failing 1/3 or 1/4 e2e runs and making me angry. Let's get a decision.
If not, then stock rhel/centos. We turn rate limiting off in a few test setups, but it may be that we just want to turn off rate limiting on the docker journal via openshift-ansible (for the single and multi-node setups).
Basically, dropping logs via rate limiting has no place in our test environment for end user containers. Only blocking would be acceptable.
I vote for jsonfile (option 2). That's what I do on my personal cluster deployments. That and switching to overlay storage driver. Not sure what the historical reason was for doing journald support in docker. Remote log aggregation?
This is part of my overall opinion that we should align with upstream kube as much as possible.
We don't, but it has challenges in docker because the driver can't control
rate limiting per service. The journal is still our default because it
handles things like rollover and rate limiting that we'd have to deploy
additional solutions for. Effectively this issue is just "rate limiting
with drop should be opt in for journal, not opt out", but we can't fix that
yet.
On Aug 1, 2017, at 5:44 PM, Steve Kuznetsov <[email protected]> wrote:
I was not under the impression that we suggested anything but journald for
production customer deployments?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#14785 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABG_p9g2LxfxR8mnp49XJVcV1I9VKmGOks5sT5w6gaJpZM4OAD_U>
.
rate limiting with drop should be opt in for journal, not opt out
How do you want to achieve that, that's the reason you rate limit, to drop what's above limit. IMHO for our tests we should be turning off the limits. Our docs should warn users about it, until docker-journald has a proper fix in place, which is each container should be taken as a separate service.
I've double checked the logs you've pointed to @tnozicka and it doesn't look like it's related to journald rate limiting. The test happened after the journald was modified and during the test time I have not seen indication that journald is rate limiting any messages. I will close this issue when #17597 merges and I'm more assured this is not happening anymore.
Activity
mfojtik commentedon Jun 23, 2017
this is journald logging issue when we loosing the log messages...
[-]Extended.deploymentconfigs with env in params referencing the configmap [Conformance] should expand the config map key to a value[/-][+]Extended deployment tests and others flake all the time because of journald rate limiting[/+]smarterclayton commentedon Aug 1, 2017
So at this point this is now my "journald breaks deployment tests and causes hundreds of flakes" tracking issue.
@stevekuznetsov @mfojtik @soltysh @derekwaynecarr @sjenning @jcantrill @portante
Journald rate limiting on pod logs causes flakes on e2e tests that depend on looking at log output. Log output is something that is supposed to work no matter what. We have a few options on our test runs:
What other options do we have? This is failing 1/3 or 1/4 e2e runs and making me angry. Let's get a decision.
portante commentedon Aug 1, 2017
smarterclayton commentedon Aug 1, 2017
@stevekuznetsov do we change anything except what's in here? https://github.com/openshift/origin-ci-tool/blob/151e40a674f15fcf77dd7ca12b75738e06f93972/oct/ansible/oct/roles/dependencies/tasks/pre_install.yml
If not, then stock rhel/centos. We turn rate limiting off in a few test setups, but it may be that we just want to turn off rate limiting on the docker journal via openshift-ansible (for the single and multi-node setups).
Basically, dropping logs via rate limiting has no place in our test environment for end user containers. Only blocking would be acceptable.
stevekuznetsov commentedon Aug 1, 2017
Nope, nothing other than that
sjenning commentedon Aug 1, 2017
I vote for jsonfile (option 2). That's what I do on my personal cluster deployments. That and switching to overlay storage driver. Not sure what the historical reason was for doing journald support in docker. Remote log aggregation?
This is part of my overall opinion that we should align with upstream kube as much as possible.
Leads to things like this when we try to run kube e2e:
kubernetes/kubernetes#43479
stevekuznetsov commentedon Aug 1, 2017
I was not under the impression that we suggested anything but
journaldfor production customer deployments?smarterclayton commentedon Aug 1, 2017
portante commentedon Aug 2, 2017
@smarterclayton, proposed PR openshift/origin-ci-tool#133 to drop rate-limiting.
soltysh commentedon Aug 4, 2017
How do you want to achieve that, that's the reason you rate limit, to drop what's above limit. IMHO for our tests we should be turning off the limits. Our docs should warn users about it, until docker-journald has a proper fix in place, which is each container should be taken as a separate service.
soltysh commentedon Aug 4, 2017
Bumping to P0 as the linked PR. They are both the same, the only difference is that they touch different test regions.
tnozicka commentedon Aug 21, 2017
also seen in #15790 (comment)
tnozicka commentedon Nov 24, 2017
https://openshift-gce-devel.appspot.com/build/origin-ci-test/pr-logs/pull/17448/test_pull_request_origin_extended_conformance_install/2904/
soltysh commentedon Dec 5, 2017
I've double checked the logs you've pointed to @tnozicka and it doesn't look like it's related to journald rate limiting. The test happened after the journald was modified and during the test time I have not seen indication that journald is rate limiting any messages. I will close this issue when #17597 merges and I'm more assured this is not happening anymore.
Merge pull request #17597 from soltysh/remove_journald_limits