Skip to content

Conversation

shwstppr
Copy link
Contributor

@shwstppr shwstppr commented Sep 2, 2025

Description

Fixes #11552

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • build/CI
  • test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

How did you try to break this feature and the system with this change?

Copy link

codecov bot commented Sep 2, 2025

Codecov Report

❌ Patch coverage is 84.61538% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 16.17%. Comparing base (973b333) to head (9e2e8c9).
⚠️ Report is 4 commits behind head on 4.20.

Files with missing lines Patch % Lines
...cloud/hypervisor/kvm/resource/BridgeVifDriver.java 84.61% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##               4.20   #11557   +/-   ##
=========================================
  Coverage     16.17%   16.17%           
- Complexity    13287    13289    +2     
=========================================
  Files          5656     5656           
  Lines        498008   498020   +12     
  Branches      60404    60405    +1     
=========================================
+ Hits          80541    80550    +9     
- Misses       408505   408508    +3     
  Partials       8962     8962           
Flag Coverage Δ
uitests 4.00% <ø> (-0.01%) ⬇️
unittests 17.02% <84.61%> (+<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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

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

clgtm

@weizhouapache weizhouapache modified the milestones: 4.22.0, 4.20.2 Sep 2, 2025
@weizhouapache weizhouapache changed the base branch from main to 4.20 September 2, 2025 10:00
@weizhouapache
Copy link
Member

@shwstppr
I modified the target branch to 4.20

Copy link
Member

@weizhouapache weizhouapache left a comment

Choose a reason for hiding this comment

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

code lgtm

Copy link
Contributor

@sureshanaparti sureshanaparti left a comment

Choose a reason for hiding this comment

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

clgtm

@DaanHoogland
Copy link
Contributor

@blueorangutan package

@blueorangutan
Copy link

@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan
Copy link

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 14819

@DaanHoogland
Copy link
Contributor

@blueorangutan test

@blueorangutan
Copy link

@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests

@blueorangutan
Copy link

[SF] Trillian test result (tid-14194)
Environment: kvm-ol8 (x2), zone: Advanced Networking with Mgmt server ol8
Total time taken: 53178 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr11557-t14194-kvm-ol8.zip
Smoke tests completed. 141 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File

Signed-off-by: Abhishek Kumar <[email protected]>
@shwstppr
Copy link
Contributor Author

shwstppr commented Sep 4, 2025

Refactored and added tests

@blueorangutan package

@blueorangutan
Copy link

@shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@shwstppr
Copy link
Contributor Author

shwstppr commented Sep 4, 2025

The change that is causing issue #11552 went into 4.19, @weizhouapache are you okay if I rebase this to 4.19 or is that not needed considering 4.19 is EOL?

@weizhouapache
Copy link
Member

The change that is causing issue #11552 went into 4.19, @weizhouapache are you okay if I rebase this to 4.19 or is that not needed considering 4.19 is EOL?

@shwstppr
I think 4.20 is good for this PR

@blueorangutan
Copy link

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 14842

@weizhouapache
Copy link
Member

@blueorangutan test

@blueorangutan
Copy link

@weizhouapache a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests

@blueorangutan
Copy link

[SF] Trillian test result (tid-14227)
Environment: kvm-ol8 (x2), zone: Advanced Networking with Mgmt server ol8
Total time taken: 54531 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr11557-t14227-kvm-ol8.zip
Smoke tests completed. 140 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_10_reboot_cpvm_forced Failure 963.30 test_ssvm.py

@weizhouapache
Copy link
Member

@weizhouapache weizhouapache merged commit adec5f4 into apache:4.20 Sep 6, 2025
26 checks passed
@daviftorres
Copy link
Contributor

Hey @weizhouapache , I see that this PR is in the milestone of 4.20.2 but it fixed a bug reported on 4.21.0. It is not intuitive for me. Could you please clarify how this development process works?

@weizhouapache
Copy link
Member

Hey @weizhouapache , I see that this PR is in the milestone of 4.20.2 but it fixed a bug reported on 4.21.0. It is not intuitive for me. Could you please clarify how this development process works?

@daviftorres
all 4.20 commits will be merged into 4.21

@DaanHoogland DaanHoogland deleted the add-uricheck-storgaenicplug branch September 9, 2025 07:36
@weizhouapache
Copy link
Member

For those who face the issue after upgrading to 4.21.0.0

  • backup /usr/share/cloudstack-agent/lib/cloud-plugin-hypervisor-kvm-4.21.0.0.jar
  • download file
    cloud-plugin-hypervisor-kvm-4.21.0.0.zip
  • move to /usr/share/cloudstack-agent/lib/cloud-plugin-hypervisor-kvm-4.21.0.0.jar
  • systemctl restart cloudstack-agent

@daviftorres
Copy link
Contributor

It works like a charm! Good job!!

image

dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Sep 15, 2025
* kvm: add ssvm storage nic null uri check during plug

Fixes apache#11552

Signed-off-by: Abhishek Kumar <[email protected]>

* refactor

Signed-off-by: Abhishek Kumar <[email protected]>

---------

Signed-off-by: Abhishek Kumar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Agent 4.21.0.0 secondarystoragevm

6 participants