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.12 Backports 2023-07-24 #27031

Merged
merged 6 commits into from
Jul 28, 2023
Merged

v1.12 Backports 2023-07-24 #27031

merged 6 commits into from
Jul 28, 2023

Conversation

nbusseneau
Copy link
Member

@nbusseneau nbusseneau commented Jul 24, 2023

PRs skipped due to conflicts:

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

for pr in 25038 26808 26933 26934 26979; do contrib/backporting/set-labels.py $pr done 1.12; done

or with

make add-labels BRANCH=v1.12 ISSUES=25038,26808,26933,26934,26979

@nbusseneau nbusseneau added kind/backports This PR provides functionality previously merged into master. backport/1.12 This PR represents a backport for Cilium 1.12.x of a PR that was merged to main. labels Jul 24, 2023
@nbusseneau
Copy link
Member Author

@michi-covalent @pchaigno Please see backporter's notes for each commit, conflicts arised due to file renames.

@nbusseneau nbusseneau marked this pull request as ready for review July 24, 2023 16:39
@nbusseneau nbusseneau requested review from a team as code owners July 24, 2023 16:39
@nbusseneau
Copy link
Member Author

/test-backport-1.12

Copy link
Contributor

@michi-covalent michi-covalent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥰

Copy link
Member

@pchaigno pchaigno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My changes look good. Thanks!

@nbusseneau
Copy link
Member Author

The backport only targets docs and tests themselves, and the unquarantined test passed, the 2 failures above cannot be introduced by this PR. Marking ready-to-merge.

@youngnick
Copy link
Contributor

Looks like there are some conflicts @nbusseneau.

@margamanterola margamanterola removed the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jul 26, 2023
pchaigno and others added 6 commits July 26, 2023 15:56
[ upstream commit a58cb6a ]

[ Backporter's notes: minor conflict in
  `test/k8s/manifests/log-gatherer.yaml` due to the fact we didn't use
  quay.io yet on v1.12. ]

The 'Skip conntrack for pod traffic' test currently downloads the
conntrack package at runtime to be able to flush and list Linux's
conntrack entries. This sometimes fail because of connectivity issues to
the package repositories.

Instead, we've now included the conntrack package in the log-gatherer
image. We can use those pods to run conntrack commands instead of using
the Cilium agent pods.

Fixes: 496ce42 ("iptables: add support for NOTRACK rules for pod-to-pod traffic")
Signed-off-by: Paul Chaignon <paul@cilium.io>
Signed-off-by: Nicolas Busseneau <nicolas@isovalent.com>
[ upstream commit 67a3ab3 ]

If we check res.WasSuccessful() instead of res, then ginkgo won't print
the error message in case the command wasn't successful.

Signed-off-by: Paul Chaignon <paul@cilium.io>
Signed-off-by: Nicolas Busseneau <nicolas@isovalent.com>
[ upstream commit 3ba76e5 ]

[ Backporter's notes: the changes had to be manually backported to the
  appropriate files for v1.12, as the docs were restructured in
  fbc53d0 and
  69d07f7 since then.
]

Recent bugs with IPsec have highlighted a need to document several
caveats of IPsec operations. This commit documents those caveats as well
as common XFRM errors.

Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
Signed-off-by: Nicolas Busseneau <nicolas@isovalent.com>
[ upstream commit 0297c6c ]

Azure does not allow having multiple clusters with the same name in the
same subscription even if they are hosted on different locations.

In order to avoid name conflicts, we previously added the location name
to the cluster name, however in some cases this leads to cluster names
exceeding the maximum length.

As a quick fix, we replace the location name with a simple index.

Signed-off-by: Nicolas Busseneau <nicolas@isovalent.com>
Signed-off-by: Nicolas Busseneau <nicolas@isovalent.com>
[ upstream commit 12fc68a ]

[ Backporter's notes: the changes had to be manually backported to the
  appropriate files for v1.12, as the docs were restructured in
  fbc53d0 and
  69d07f7 since then.
]

- For the main branch latest docs, clone the Cilium GitHub repo and use
 "--chart-directory ./install/kubernetes/cilium" flag.
- For stable branches, set "--version" flag to the version in the
  top-level VERSION file.

Fixes: #26931

Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
Signed-off-by: Nicolas Busseneau <nicolas@isovalent.com>
[ upstream commit c9983ef ]

[ Backporter's notes: the changes had to be manually backported to the
  appropriate files for v1.12, as the docs were restructured in
  fbc53d0 and
  69d07f7 since then.
]

All IPsec traffic between two nodes is always send on a single IPsec
flow (defined by outer source and destination IP addresses). As a
consequence, RSS on such traffic is ineffective and throughput will be
limited to the decryption performance of a single core.

Reported-by: Ryan Drew <ryan.drew@isovalent.com>
Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
Signed-off-by: Nicolas Busseneau <nicolas@isovalent.com>
@nbusseneau nbusseneau force-pushed the pr/v1.12-backport-2023-07-24 branch from 63f0062 to aa103ae Compare July 26, 2023 13:59
@nbusseneau
Copy link
Member Author

Indeed, #27059 got merged first so I lost the race here (unlike on v1.13, where I won and now Quentin has to deal with it, hehe). It's only very a minor Documentation conflict though (spelling wordlist...), so no need to re-run the full CI for this. Documentation checks have passed, marking ready-to-merge.

@nbusseneau nbusseneau added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jul 26, 2023
@youngnick youngnick merged commit e0067a1 into v1.12 Jul 28, 2023
36 checks passed
@youngnick youngnick deleted the pr/v1.12-backport-2023-07-24 branch July 28, 2023 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.12 This PR represents a backport for Cilium 1.12.x of a PR that was merged to main. 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

5 participants