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

connectivity: Fix fetching of XFRM counters #1854

Merged
merged 1 commit into from
Jul 21, 2023
Merged

Conversation

brb
Copy link
Member

@brb brb commented Jul 21, 2023

Previously, it was failing with:

[-] Scenario [no-ipsec-xfrm-errors/no-ipsec-xfrm-error]
  No cilium pods found

Fixes: e656f58 ("connectivity: add xfrm error check for IPsec conn disrupt test")

Previously, it was failing with:

    [-] Scenario [no-ipsec-xfrm-errors/no-ipsec-xfrm-error]
      No cilium pods found

Fixes: e656f58 ("connectivity: add xfrm error check for IPsec conn disrupt test")
Signed-off-by: Martynas Pumputis <m@lambda.lt>
@brb brb requested a review from a team as a code owner July 21, 2023 07:42
@brb brb requested a review from derailed July 21, 2023 07:42
@brb brb temporarily deployed to ci July 21, 2023 07:42 — with GitHub Actions Inactive
@brb brb requested a review from pchaigno July 21, 2023 07:42
@brb brb added the area/CI Continuous Integration testing issue or flake label Jul 21, 2023
@brb brb added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jul 21, 2023
@aditighag aditighag merged commit 2664084 into main Jul 21, 2023
19 checks passed
@aditighag aditighag deleted the pr/brb/fix-xfrm-test branch July 21, 2023 22:17
brb added a commit to cilium/cilium that referenced this pull request Aug 3, 2023
cilium/cilium-cli#1854 is released.

Signed-off-by: Martynas Pumputis <m@lambda.lt>
jschwinger233 added a commit to jschwinger233/cilium-cli that referenced this pull request Aug 4, 2023
Previously we tried to get it via PodStatus.NominatedNodeName, which
is usually set to empty.

Fixes: cilium#1854

Signed-off-by: Zhichuan Liang <gray.liang@isovalent.com>
jschwinger233 added a commit to jschwinger233/cilium-cli that referenced this pull request Aug 7, 2023
Previously we tried to get it via PodStatus.NominatedNodeName, which
is usually set to empty. According to the
[doc](https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#user-exposed-information),
nominatedNodeName is set only if preemption takes place, and a pod is
not necessarily scheduled to the nominatedNodeName. This commit
therefore uses nodeName of Pod spec instead.

Fixes: cilium#1854

Signed-off-by: Zhichuan Liang <gray.liang@isovalent.com>
jschwinger233 added a commit to jschwinger233/cilium-cli that referenced this pull request Aug 8, 2023
Previously we tried to get a pod's nodename via
PodStatus.NominatedNodeName, which is usually set to empty. According to
the
[doc](https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#user-exposed-information),
nominatedNodeName is set only if preemption takes place, and a pod is
not necessarily scheduled to the nominatedNodeName. This commit
therefore uses the HostIP from pod status.

Fixes: cilium#1854

Signed-off-by: Zhichuan Liang <gray.liang@isovalent.com>
jschwinger233 added a commit to jschwinger233/cilium-cli that referenced this pull request Aug 8, 2023
Previously we tried to get a pod's nodename via
PodStatus.NominatedNodeName, which is usually set to empty. According to
the
[doc](https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#user-exposed-information),
nominatedNodeName is set only if preemption takes place, and a pod is
not necessarily scheduled to the nominatedNodeName. This commit
therefore uses the HostIP from pod status.

Fixes: cilium#1854

Signed-off-by: Zhichuan Liang <gray.liang@isovalent.com>
aanm pushed a commit to cilium/cilium that referenced this pull request Aug 9, 2023
cilium/cilium-cli#1854 is released.

Signed-off-by: Martynas Pumputis <m@lambda.lt>
joamaki pushed a commit to cilium/cilium that referenced this pull request Aug 9, 2023
[ upstream commit 4461616 ]

cilium/cilium-cli#1854 is released.

Signed-off-by: Martynas Pumputis <m@lambda.lt>
Signed-off-by: Jussi Maki <jussi@isovalent.com>
joamaki pushed a commit to cilium/cilium that referenced this pull request Aug 9, 2023
[ upstream commit 4461616 ]

cilium/cilium-cli#1854 is released.

Signed-off-by: Martynas Pumputis <m@lambda.lt>
Signed-off-by: Jussi Maki <jussi@isovalent.com>
tklauser pushed a commit that referenced this pull request Aug 9, 2023
Previously we tried to get a pod's nodename via
PodStatus.NominatedNodeName, which is usually set to empty. According to
the
[doc](https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#user-exposed-information),
nominatedNodeName is set only if preemption takes place, and a pod is
not necessarily scheduled to the nominatedNodeName. This commit
therefore uses the HostIP from pod status.

Fixes: #1854

Signed-off-by: Zhichuan Liang <gray.liang@isovalent.com>
joamaki pushed a commit to cilium/cilium that referenced this pull request Aug 10, 2023
[ upstream commit 4461616 ]

cilium/cilium-cli#1854 is released.

Signed-off-by: Martynas Pumputis <m@lambda.lt>
Signed-off-by: Jussi Maki <jussi@isovalent.com>
YutaroHayakawa pushed a commit to cilium/cilium that referenced this pull request Aug 15, 2023
[ upstream commit 4461616 ]

cilium/cilium-cli#1854 is released.

Signed-off-by: Martynas Pumputis <m@lambda.lt>
Signed-off-by: Jussi Maki <jussi@isovalent.com>
aanm pushed a commit to cilium/cilium that referenced this pull request Aug 16, 2023
[ upstream commit 4461616 ]

cilium/cilium-cli#1854 is released.

Signed-off-by: Martynas Pumputis <m@lambda.lt>
Signed-off-by: Jussi Maki <jussi@isovalent.com>
ti-mo pushed a commit to cilium/cilium that referenced this pull request Aug 17, 2023
[ upstream commit 4461616 ]

cilium/cilium-cli#1854 is released.

Signed-off-by: Martynas Pumputis <m@lambda.lt>
Signed-off-by: Jussi Maki <jussi@isovalent.com>
tklauser pushed a commit to cilium/cilium that referenced this pull request Aug 24, 2023
[ upstream commit 4461616 ]

cilium/cilium-cli#1854 is released.

Signed-off-by: Martynas Pumputis <m@lambda.lt>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
tklauser pushed a commit to cilium/cilium that referenced this pull request Aug 25, 2023
[ upstream commit 4461616 ]

cilium/cilium-cli#1854 is released.

Signed-off-by: Martynas Pumputis <m@lambda.lt>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
joestringer pushed a commit to cilium/cilium that referenced this pull request Aug 25, 2023
[ upstream commit 4461616 ]

cilium/cilium-cli#1854 is released.

Signed-off-by: Martynas Pumputis <m@lambda.lt>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI Continuous Integration testing issue or flake 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

3 participants