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-1627 | Fix the PVC search for the progress #1168

Merged
merged 1 commit into from
Nov 14, 2024
Merged

Conversation

mnecas
Copy link
Member

@mnecas mnecas commented Nov 4, 2024

Issue:
When monitoring the migration process the forklift requests the PVC from DV ClaimName. On top of that the forklift checks the Annotation "cdi.kubevirt.io/storage.import.importPodName". But this annotation is missing in the main PVC but is present in the prime pvc, whose format is "prime-$UID_MAINPVC". This annotation points to the created pod which imports the volume.

Fix:
Search the prime PVC instead of the main PVC, so the forklift is able to check the importer pod status.

Ref: https://issues.redhat.com/browse/MTV-1627

Issue:
When monitring the migration process the forklift requests the PVC from
DV ClaimName. On top of that the forklift checks the Annotation "cdi.kubevirt.io/storage.import.importPodName".
But this annotation is missing in the main PVC but is present in the
prime pvc, which format is "prime-$UID_MAINPVC". This annotation points
to the created pod which imports the volume.

Fix:
Search the prime PVC instead of the main PVC, so the forklift is able to
check the importer pod status.

Signed-off-by: Martin Necas <[email protected]>
@mnecas mnecas requested a review from yaacov as a code owner November 4, 2024 13:02
Copy link

sonarqubecloud bot commented Nov 4, 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 15 lines in your changes missing coverage. Please review.

Project coverage is 15.65%. Comparing base (ba19a21) to head (24cddf3).
Report is 10 commits behind head on main.

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

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

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1168      +/-   ##
==========================================
- Coverage   15.66%   15.65%   -0.01%     
==========================================
  Files         112      112              
  Lines       23052    23066      +14     
==========================================
  Hits         3612     3612              
- Misses      19155    19169      +14     
  Partials      285      285              
Flag Coverage Δ
unittests 15.65% <0.00%> (-0.01%) ⬇️

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 added this to the 2.7.4 milestone Nov 8, 2024
@mnecas mnecas merged commit 71d4376 into kubev2v:main Nov 14, 2024
25 of 35 checks passed
@mnecas mnecas mentioned this pull request Nov 14, 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