Skip to content

Conversation

giorio94
Copy link
Member

@giorio94 giorio94 commented Jan 7, 2025

439f558 ("CLI: cilium upgrade preserver previous configurations") changed the default behavior of cilium upgrade to preserve the previous configuration upon upgrade. While this is the expected behavior in most situations, it turned out being problematic in the ipsec upgrade downgrade tests (specifically in case of patch matrix entries). Indeed, the images are not overwritten for the stable configuration, leading in turn to not actually performing the downgrade. Let's fix this by explicitly resetting the values when performing the upgrade and downgrade operations.

Reported-by: Jarno Rajahalme jarno@isovalent.com

439f558 ("CLI: cilium upgrade preserver previous configurations")
changed the default behavior of `cilium upgrade` to preserve the
previous configuration upon upgrade. While this is the expected behavior
in most situations, it turned out being problematic in the ipsec upgrade
downgrade tests (specifically in case of patch matrix entries). Indeed,
the images are not overwritten for the stable configuration, leading in
turn to not actually performing the downgrade. Let's fix this by explicitly
resetting the values when performing the upgrade and downgrade operations.

Reported-by: Jarno Rajahalme <jarno@isovalent.com>
Signed-off-by: Marco Iorio <marco.iorio@isovalent.com>
@giorio94 giorio94 added kind/bug/CI This is a bug in the testing code. area/CI Continuous Integration testing issue or flake needs-backport/1.14 needs-backport/1.16 This PR / issue needs backporting to the v1.16 branch needs-backport/1.17 This PR / issue needs backporting to the v1.17 branch labels Jan 7, 2025
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Jan 7, 2025
@giorio94
Copy link
Member Author

giorio94 commented Jan 7, 2025

/test

@giorio94 giorio94 added release-note/ci This PR makes changes to the CI. and removed kind/bug/CI This is a bug in the testing code. labels Jan 7, 2025
@maintainer-s-little-helper maintainer-s-little-helper bot removed dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. labels Jan 7, 2025
@giorio94 giorio94 marked this pull request as ready for review January 7, 2025 14:48
@giorio94 giorio94 requested review from a team as code owners January 7, 2025 14:48
@giorio94 giorio94 requested a review from pchaigno January 7, 2025 14:48
@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 Jan 7, 2025
@pchaigno pchaigno added this pull request to the merge queue Jan 7, 2025
Merged via the queue into main with commit 963b5b2 Jan 7, 2025
95 of 96 checks passed
@pchaigno pchaigno deleted the pr/giorio94/main/gha-ipsec-downgrade-patch branch January 7, 2025 17:23
@joamaki joamaki mentioned this pull request Jan 15, 2025
3 tasks
@joamaki joamaki added backport-pending/1.14 The backport for Cilium 1.14.x for this PR is in progress. and removed needs-backport/1.14 labels Jan 15, 2025
@joamaki joamaki mentioned this pull request Jan 15, 2025
3 tasks
@joamaki joamaki added backport-pending/1.15 The backport for Cilium 1.15.x for this PR is in progress. and removed needs-backport/1.15 labels Jan 15, 2025
@github-actions github-actions bot added backport-done/1.14 The backport for Cilium 1.14.x for this PR is done. backport-done/1.15 The backport for Cilium 1.15.x for this PR is done. and removed backport-pending/1.14 The backport for Cilium 1.14.x for this PR is in progress. backport-pending/1.15 The backport for Cilium 1.15.x for this PR is in progress. labels Jan 15, 2025
@rastislavs rastislavs mentioned this pull request Jan 21, 2025
45 tasks
@rastislavs rastislavs added backport-pending/1.17 The backport for Cilium 1.17.x for this PR is in progress. and removed needs-backport/1.17 This PR / issue needs backporting to the v1.17 branch labels Jan 21, 2025
@github-actions github-actions bot added backport-done/1.17 The backport for Cilium 1.17.x for this PR is done. and removed backport-pending/1.17 The backport for Cilium 1.17.x for this PR is in progress. labels Jan 22, 2025
@rastislavs rastislavs mentioned this pull request Jan 22, 2025
19 tasks
@rastislavs rastislavs added backport-pending/1.16 The backport for Cilium 1.16.x for this PR is in progress. and removed needs-backport/1.16 This PR / issue needs backporting to the v1.16 branch labels Jan 22, 2025
@github-actions github-actions bot added backport-done/1.16 The backport for Cilium 1.16.x for this PR is done. and removed backport-pending/1.16 The backport for Cilium 1.16.x for this PR is in progress. labels Jan 24, 2025
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 backport-done/1.14 The backport for Cilium 1.14.x for this PR is done. backport-done/1.15 The backport for Cilium 1.15.x for this PR is done. backport-done/1.16 The backport for Cilium 1.16.x for this PR is done. backport-done/1.17 The backport for Cilium 1.17.x for this PR is done. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/ci This PR makes changes to the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants