-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Improve logs for VM migrations #12332
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.22
Are you sure you want to change the base?
Conversation
|
@blueorangutan package |
|
@nvazquez 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. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## 4.22 #12332 +/- ##
============================================
- Coverage 17.59% 17.59% -0.01%
Complexity 15595 15595
============================================
Files 5910 5910
Lines 529606 529634 +28
Branches 64705 64707 +2
============================================
+ Hits 93178 93182 +4
- Misses 425940 425964 +24
Partials 10488 10488
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:
|
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 16147 |
DaanHoogland
left a comment
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, just some nitpicking
| if (logger.isDebugEnabled()) { | ||
| logger.debug("Configured DPDK interface for VM {}", vm.getName()); | ||
| } |
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.
i don’t think this condition is needed (with log4j2 anymore)
| if (logger.isDebugEnabled()) { | |
| logger.debug("Configured DPDK interface for VM {}", vm.getName()); | |
| } | |
| logger.debug("Configured DPDK interface for VM {}", vm.getName()); |
| if (logger.isInfoEnabled()) { | ||
| logger.info("Starting migration of VM {} from host {} to host {} ", vm.getInstanceName(), srcHostId, dest.getHost().getId()); | ||
| } |
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.
| if (logger.isInfoEnabled()) { | |
| logger.info("Starting migration of VM {} from host {} to host {} ", vm.getInstanceName(), srcHostId, dest.getHost().getId()); | |
| } | |
| logger.info("Starting migration of VM {} from host {} to host {} ", vm.getInstanceName(), srcHostId, dest.getHost().getId()); |
Description
This PR adds more comprehensive logs to the VM migration flow
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?