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 migration to remote cluster #1058

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mnecas
Copy link
Member

@mnecas mnecas commented Sep 20, 2024

Issue:
During the refactoring I have enabled the server, via which we expose the virt-v2v gathered information to the controller, to both migraiton types. The flow is that we request all nessasry information form pod and then manually kill it from the controller. But right now we can't reuqest the server which are in remote clusters.

Fix:
Disable the server in the remote migrations. This will cause the pod to be terminated and the controller will check the pod status and will continue if the pod succeded.

Note:
Because of this we can't get the OS nor Firmware form the remote migrations. This should not be a large issue as we use them right now only for prefenrace in kubevirt.

@mnecas mnecas requested a review from yaacov as a code owner September 20, 2024 07:13
@codecov-commenter
Copy link

codecov-commenter commented Sep 20, 2024

⚠️ 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 20 lines in your changes missing coverage. Please review.

Project coverage is 16.32%. Comparing base (db6782b) to head (cf77f51).

Files with missing lines Patch % Lines
virt-v2v/cmd/entrypoint.go 0.00% 14 Missing ⚠️
pkg/controller/plan/kubevirt.go 0.00% 6 Missing ⚠️

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

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1058      +/-   ##
==========================================
- Coverage   16.33%   16.32%   -0.02%     
==========================================
  Files         112      112              
  Lines       19771    19784      +13     
==========================================
  Hits         3229     3229              
- Misses      16256    16269      +13     
  Partials      286      286              
Flag Coverage Δ
unittests 16.32% <0.00%> (-0.02%) ⬇️

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.

Issue:
During the refactoring I have enabled the server, via which we expose the
virt-v2v gathered information to the controller, to both migraiton
types. The flow is that we request all nessasry information form pod and
then manually kill it from the controller. But right now we can't
reuqest the server which are in remote clusters.

Fix:
Disable the server in the remote migrations. This will cause the pod to
be terminated and the controller will check the pod status and will
continue if the pod succeded.

Note:
Because of this we can't get the OS nor Firmware form the remote
migrations. This should not be a large issue as we use them right
now only for prefenrace in kubevirt.

Signed-off-by: Martin Necas <[email protected]>
Copy link

sonarcloud bot commented Sep 20, 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.

2 participants