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-1458 | Make Guest information on vNICs is missing a warning #1161

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

yaacov
Copy link
Member

@yaacov yaacov commented Oct 31, 2024

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

When selecting "preserve static IP" and migrating a VM without a static IP configuration, then the backend is reporting that the VM was not run. But thi sis incorrect, the VM was run, but it just does not have a static IP configuration (nt inside, and also not repoetred by the VMw API).

Issue:
Currently if a VM does not have static IP, and we set "preserve static IP" the plan is blocked,

Fix:
Changing the condition from "critical" to "warn" will unblock the plan, while still warning the user we may have an issue.

@yaacov yaacov requested a review from mnecas as a code owner October 31, 2024 11:30
@codecov-commenter
Copy link

codecov-commenter commented Oct 31, 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 10 lines in your changes missing coverage. Please review.

Project coverage is 15.66%. Comparing base (4890e07) to head (7d53bae).

Files with missing lines Patch % Lines
pkg/controller/plan/controller.go 0.00% 7 Missing ⚠️
pkg/controller/plan/validation.go 0.00% 2 Missing ⚠️
pkg/lib/condition/condition.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    #1161      +/-   ##
==========================================
+ Coverage   15.62%   15.66%   +0.04%     
==========================================
  Files         112      112              
  Lines       23123    23130       +7     
==========================================
+ Hits         3612     3623      +11     
+ Misses      19226    19220       -6     
- Partials      285      287       +2     
Flag Coverage Δ
unittests 15.66% <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.

@yaacov yaacov marked this pull request as draft November 4, 2024 07:53
@yaacov yaacov force-pushed the make-no-guest-information-warn branch 4 times, most recently from 8228437 to fdd3566 Compare November 11, 2024 08:06
@yaacov yaacov force-pushed the make-no-guest-information-warn branch from fdd3566 to fdad591 Compare November 27, 2024 11:57
…s a warning instead of critical error

Signed-off-by: yzamir <[email protected]>
@yaacov yaacov force-pushed the make-no-guest-information-warn branch from fdad591 to 7d53bae Compare December 2, 2024 07:30
Copy link

sonarcloud bot commented Dec 2, 2024

@yaacov yaacov marked this pull request as ready for review December 2, 2024 08:54
Copy link
Member

@mnecas mnecas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mnecas mnecas merged commit 7237828 into kubev2v:main Dec 3, 2024
15 checks passed
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