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

Fix v1.15.0 migration case error #8349

Conversation

blackpiglet
Copy link
Contributor

@blackpiglet blackpiglet commented Oct 25, 2024

Thank you for contributing to Velero!

Please add a summary of your change

This PR is used to fix the E2E migration E2E error after bumping to v1.15.
The error was introduced in v1.14, which added hard-code logic to add the CSI plugin for the migration case's Velero install CLI. That works because the Velero v1.14 migration E2E test covers the v1.13 to the v1.14 migration. v1.13 still needs to install the CSI plugin.

The CSI plugin was integrated into Velero in v1.14. Add adding the CSI plugin for Velero no older than v1.14 will cause the same plugin to register twice error, which causes the Velero server to exit.

Does your change fix a particular issue?

Fixes #(issue)

Please indicate you've done the following:

Remove the hard-code logic.
Read the should used plugins and their version from the Velero E2E default value.

@blackpiglet blackpiglet added kind/changelog-not-required PR does not require a user changelog. Often for docs, website, or build changes E2E Tests End to end test and removed has-e2e-2tests labels Oct 25, 2024
Copy link

codecov bot commented Oct 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.99%. Comparing base (d2dec9d) to head (6f79c54).
Report is 3 commits behind head on release-1.15.

Additional details and impacted files
@@              Coverage Diff              @@
##           release-1.15    #8349   +/-   ##
=============================================
  Coverage         58.99%   58.99%           
=============================================
  Files               367      367           
  Lines             38847    38847           
=============================================
  Hits              22918    22918           
  Misses            14467    14467           
  Partials           1462     1462           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

sseago
sseago previously approved these changes Oct 25, 2024
@blackpiglet blackpiglet merged commit 1d4f147 into vmware-tanzu:release-1.15 Oct 28, 2024
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E2E Tests End to end test has-e2e-2tests kind/changelog-not-required PR does not require a user changelog. Often for docs, website, or build changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants