| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## 4.22 #12651 +/- ##
============================================
- Coverage 17.66% 17.66% -0.01%
Complexity 15793 15793
============================================
Files 5923 5923
Lines 533309 533309
Branches 65237 65237
============================================
- Hits 94229 94227 -2
- Misses 428434 428435 +1
- Partials 10646 10647 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness.
|
Sorry, something went wrong.
There was a problem hiding this comment.
This PR fixes issue #12649 where KVM IP autodiscovery failed for Windows VMs due to multi-word interface names like "Ethernet Instance 0". The fix changes the parsing logic in getIpAddresses to parse virsh domifaddr output from the end of each line rather than from fixed positions, making it compatible with both single-word Linux interface names and multi-word Windows interface names.
Changes:
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| LibvirtGetVmIpAddressCommandWrapper.java | Changed parsing to use relative positions from end of line to handle multi-word interface names |
| LibvirtGetVmIpAddressCommandWrapperTest.java | Added Windows-specific test data and updated/added tests for Windows VM IP discovery |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Sorry, something went wrong.
|
for anyone who use 4.22.0.0, please rename the .jar.zip file to .jar, and replace /usr/share/cloudstack-agent/lib/cloud-plugin-hypervisor-kvm-4.22.0.0.jar with it on kvm hosts. |
Sorry, something went wrong.
|
@weizhouapache is it ready for review and testing? |
Sorry, something went wrong.
@sureshanaparti |
Sorry, something went wrong.
There was a problem hiding this comment.
lgtm, confirmed by myself as well as a 3rd party
Sorry, something went wrong.
There was a problem hiding this comment.
clgtm
Sorry, something went wrong.
[4.22.1.0-shapeblue1] Upstream PRs apache#13373 and apache#12651
| Back | FazBrowse Home | New Git URL |
Description
This PR fixes #12649
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?