-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix infrastructure leak on exception while attaching/detaching volumes in VMware #10860
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
base: main
Are you sure you want to change the base?
Conversation
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.
clgtm
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #10860 +/- ##
============================================
+ Coverage 16.40% 16.57% +0.16%
- Complexity 13590 13869 +279
============================================
Files 5692 5719 +27
Lines 501976 507206 +5230
Branches 60795 61575 +780
============================================
+ Hits 82369 84089 +1720
- Misses 410449 413698 +3249
- Partials 9158 9419 +261
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
server/src/main/java/com/cloud/storage/VolumeApiServiceImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/com/cloud/storage/VolumeApiServiceImpl.java
Outdated
Show resolved
Hide resolved
Thank you for the review @sureshanaparti. |
@blueorangutan package |
@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. |
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13675 |
@blueorangutan test |
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
[SF] Trillian test result (tid-13500)
|
@blueorangutan test ol8 vmware-80u3 |
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + vmware-80u3) has been kicked to run smoke tests |
[SF] Trillian Build Failed (tid-13517) |
@blueorangutan test ol8 vmware-70u3 |
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + vmware-70u3) has been kicked to run smoke tests |
[SF] Trillian Build Failed (tid-13521) |
Description
In VMware environments, when a VM resides on a host in the
Disconnected
state, and an attach/detach volume operation is initiated, an exception containing infrastructure data is thrown. This PR addresses the issue by handling theAgentUnavailableException
separately. The exception will still appear in the application logs, allowing operators to troubleshoot effectively.Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
I made the following tests, in my local lab: