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

MTV-1477 | Add DataVolume deletion when archiving #1091

Merged
merged 2 commits into from
Oct 9, 2024

Conversation

mnecas
Copy link
Member

@mnecas mnecas commented Oct 8, 2024

Issue:
When running the migration archive we do not delete the DataVolumes.

Fix:
Add deletion of the DataVolumes when running the archive and the VM migration failed.
At some cases the migration in the context is missing the migration ID so we can use the plan instead to find the DataVolume.

Fixes: https://issues.redhat.com/browse/MTV-1477

Issue:
When running the migration archive we do not delete the DataVolumes.

Fix:
Add deletion of the DataVolumes when running the archive and the VM
migration failed.
At some cases the migration in the context is missing the migration ID
so we can use the plan instead to find the DataVolume.

Fixes: https://issues.redhat.com/browse/MTV-1477

Signed-off-by: Martin Necas <[email protected]>
@mnecas mnecas requested a review from yaacov as a code owner October 8, 2024 14:21
Copy link

sonarqubecloud bot commented Oct 9, 2024

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Project coverage is 16.17%. Comparing base (a9915d8) to head (79a25e9).

Files with missing lines Patch % Lines
pkg/controller/plan/migration.go 0.00% 2 Missing ⚠️
pkg/controller/plan/kubevirt.go 0.00% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1091      +/-   ##
==========================================
- Coverage   16.21%   16.17%   -0.04%     
==========================================
  Files         112      112              
  Lines       19874    19876       +2     
==========================================
- Hits         3222     3215       -7     
- Misses      16367    16374       +7     
- Partials      285      287       +2     
Flag Coverage Δ
unittests 16.17% <0.00%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@mnecas mnecas merged commit bd31c6f into kubev2v:main Oct 9, 2024
22 of 27 checks passed
@mnecas mnecas mentioned this pull request Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants