Bug 1710491
| Summary: | No EVENT_ID is generated in /var/log/ovirt-engine/engine.log when VM is rebooted from OS level itself. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Koutuk Shukla <kshukla> |
| Component: | ovirt-engine | Assignee: | Steven Rosenberg <srosenbe> |
| Status: | CLOSED ERRATA | QA Contact: | Polina <pagranat> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.2.8 | CC: | ahadas, michal.skrivanek, pelauter, rdlugyhe, sgoodman, shipatil, sigbjorn.lie, sigbjorn, srosenbe |
| Target Milestone: | ovirt-4.4.1 | Flags: | lsvaty:
testing_plan_complete-
|
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | rhv-4.4.0-29 | Doc Type: | Enhancement |
| Doc Text: |
With this enhancement, an EVENT_ID is logged when a virtual machine's guest operating system reboots. External systems such as Cloudforms and Manage IQ rely on the EVENT_ID log messages to keep track of the virtual machine's state.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-08-04 13:19:21 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Koutuk Shukla
2019-05-15 15:55:53 UTC
Reboots are expected to be initiated from RHVM or the API. For guest-level uptime monitoring, why not use guest agent data to track it? it's detected properly as per the engine.log message, just the audit log event is not fired. Should be as simple as reusing the AuditLogType.USER_REBOOT_VM when Up->RebootInProgress sync2jira sync2jira Given that the event is already picked up by the manager, and that all that needs to be done to fix this issue is to add the existing audit log type AuditLogType.USER_REBOOT_VM to this event. Why is this request taking so long time to implement? verified on http://bob-dr.lab.eng.brq.redhat.com/builds/4.4/rhv-4.4.0-31 engine reports: 2020-04-22 21:33:28,952+03 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ForkJoinPool-1-worker-25) [] EVENT_ID: USER_REBOOT_VM(157), VM golden_env_mixed_virtio_0 is rebooting. Rebooted by: Guest OS Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: RHV Manager (ovirt-engine) 4.4 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:3247 |