-
Notifications
You must be signed in to change notification settings - Fork 1.2k
VPC: check only ssh services if VPC VR does not have any guest network #11190
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: 4.19
Are you sure you want to change the base?
VPC: check only ssh services if VPC VR does not have any guest network #11190
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## 4.19 #11190 +/- ##
=========================================
Coverage 15.18% 15.18%
- Complexity 11370 11375 +5
=========================================
Files 5415 5415
Lines 476073 476079 +6
Branches 58125 58126 +1
=========================================
+ Hits 72290 72307 +17
+ Misses 395695 395681 -14
- Partials 8088 8091 +3
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:
|
@blueorangutan package |
@weizhouapache 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 14167 |
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.
Pull Request Overview
This PR fixes issue #10088 by modifying the VPC router monitoring behavior to only check SSH services when the VPC Virtual Router has no guest networks configured.
- Adds an
included_services
parameter to control which services are monitored in the monitoring script - Implements logic to set SSH as the only included service for VPC routers without guest networks
- Optimizes health check data retrieval by moving it earlier in the execution flow
Reviewed Changes
Copilot reviewed 5 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
File | Description |
---|---|
systemvm/debian/root/monitorServices.py | Updates the monitoring script to support filtering services and optimizes health check data retrieval |
server/src/main/java/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java | Adds logic to set SSH as the only included service for VPC routers without guest networks |
core/src/main/java/com/cloud/agent/resource/virtualnetwork/model/MonitorService.java | Adds includedServices field to the MonitorService model |
core/src/main/java/com/cloud/agent/resource/virtualnetwork/facade/SetMonitorServiceConfigItem.java | Updates configuration to handle the new included services parameter |
core/src/main/java/com/cloud/agent/api/routing/SetMonitorServiceCommand.java | Adds constant for the included services configuration key |
core/src/main/java/com/cloud/agent/resource/virtualnetwork/model/MonitorService.java
Show resolved
Hide resolved
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
[SF] Trillian test result (tid-14105)
|
moved to draft |
since #10710 is targeted to main/4.22, open this PR for 4.19/4.20 |
@blueorangutan package |
@weizhouapache 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 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 14833 |
Description
This PR fixes #10088
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?