Skip to content
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

v1.6 backports 2020-07-30 #12724

Merged
merged 3 commits into from Jul 31, 2020
Merged

v1.6 backports 2020-07-30 #12724

merged 3 commits into from Jul 31, 2020

Conversation

qmonnet
Copy link
Member

@qmonnet qmonnet commented Jul 30, 2020

Once this PR is merged, you can update the PR labels via:

$ for pr in 12559 12704 12703; do contrib/backporting/set-labels.py $pr done 1.6; done

@qmonnet qmonnet requested a review from a team as a code owner July 30, 2020 13:19
@qmonnet qmonnet added backport/1.6 kind/backports This PR provides functionality previously merged into master. labels Jul 30, 2020
@qmonnet
Copy link
Member Author

qmonnet commented Jul 30, 2020

test-backport-1.6

joestringer and others added 3 commits July 30, 2020 14:52
[ upstream commit 037bef5 ]

Previously, we did not take into account 'from-network' sources in the
monitor aggregation logic check in `send_trace_notify()`, which was fine
because we rarely ever sent such events (limited to ipsec for instance).
However, since commit c470e28 we also use this in bpf_host which
suddenly means that any and all traffic from the network will trigger
monitor events, flooding the monitor output.

Fixes: 7a4b0be ("bpf: Add MonitorAggregation option")
Fixes: c470e28 ("Adds TRACE_TO_NETWORK obs label and trace pkts in to-netdev prog.")
Fixes: #12555

Signed-off-by: Joe Stringer <joe@cilium.io>
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
[ upstream commit 3b58cf6 ]

Simple enough change and improves usability.

Fixes: 9fdaf24 ("backporting: Report progress in set-labels.py")

Signed-off-by: Chris Tarazi <chris@isovalent.com>
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
[ upstream commit 1797d0e ]

Previously, if "set-labels.py" was in the PR title, then the `grep`
would pick up extraneous lines which throw off the parsing. See failed
example below:

```
$ ./contrib/backporting/submit-backport v1.8
...
Updating labels for PRs  * #12640 -- backporting: Report progress in set-labels.py (@pchaigno)
12640 12626 12632 12654 12651 12652 12659 12521 12683

Set labels for all PRs above? [y/N] y
usage: set-labels.py [-h] pr_number {pending,done} [version]
set-labels.py: error: argument pr_number: invalid int value: 'api'

Signal ERR caught!
```

Fixes: 3c4d43a ("contrib: Fix submit-backport PR set-labels detection")

Signed-off-by: Chris Tarazi <chris@isovalent.com>
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
@qmonnet qmonnet force-pushed the pr/v1.6-backport-2020-07-30 branch from 371b982 to 27a28b3 Compare July 30, 2020 13:55
@qmonnet
Copy link
Member Author

qmonnet commented Jul 30, 2020

“Ah, right, this daemon/bpf.sha thing...”
test-backport-1.6

@qmonnet
Copy link
Member Author

qmonnet commented Jul 30, 2020

test-upstream-k8s

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jul 30, 2020
@joestringer joestringer merged commit fe976fc into v1.6 Jul 31, 2020
@joestringer joestringer deleted the pr/v1.6-backport-2020-07-30 branch July 31, 2020 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/backports This PR provides functionality previously merged into master. ready-to-merge This PR has passed all tests and received consensus from code owners to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants