-
Notifications
You must be signed in to change notification settings - Fork 35
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
Change virt-v2v bash script to use go wrapper #746
Conversation
8e70f6f
to
105deb2
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #746 +/- ##
=========================================
+ Coverage 0 17.09% +17.09%
=========================================
Files 0 87 +87
Lines 0 17819 +17819
=========================================
+ Hits 0 3047 +3047
- Misses 0 14529 +14529
- Partials 0 243 +243
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
171377e
to
14f6a8b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, minor comments
Signed-off-by: Bella Khizgiyaev <[email protected]>
After adding modification the correct command is executed now but it still taking long time (almost an hour) triggered the same conversion with the original image for time and output comparison. |
The issue is with the monitor code, it wasn't running properly, so both the conversion + copy disks steps were count under the conversion (and the time adds up similarly to the original code two steps), triggered another conversion to see if the monitor running correctly after the changes. |
I think that I saw it once when I played with the VDDK validation - it doesn't seem to be a result of your changes |
Yes I see the command is set correctly now, and i also compered the outputs with my changes and the original script and it the same. Its just not running the monitor part correctly. For the original script the conversion took 15 min and disk copy 43 min. |
that might be because the last update of the patch (breaking the two commands apart) |
return | ||
} | ||
|
||
tee := io.TeeReader(virtV2vStdoutPipe, os.Stdout) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed the monitor consuming issue, now the conversion phase work properly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: Bella Khizgiyaev <[email protected]>
Quality Gate passedIssues Measures |
passes CI, validated locally - merging |
This PR updates the virt-v2v image, replacing the existing bash script with a Go wrapper. This enhancement simplifies control over code changes.