Omer Frenkel has submitted this change and it was merged.
Change subject: core: add audit log if snapshot is created without memory
......................................................................
core: add audit log if snapshot is created without memory
It is possible that the user invokes snapshot with memory creation and
the result will be snapshot without memory, if the VM went down after
the command started. So this patch adds an audit log in order to present
to the user a message that in this case the resulted snapshot doesn't
contain memory as requested.
Change-Id: Id66a5c8d394e1b961d7869538603adb7e6fbaeca
Bug-Url:
https://bugzilla.redhat.com/985739
Signed-off-by: Arik Hadas <ahadas(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CreateAllSnapshotsFromVmCommand.java
M
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/AuditLogType.java
M
backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/auditloghandling/AuditLogDirector.java
M backend/manager/modules/dal/src/main/resources/bundles/AuditLogMessages.properties
4 files changed, 15 insertions(+), 3 deletions(-)
Approvals:
Omer Frenkel: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/17248
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id66a5c8d394e1b961d7869538603adb7e6fbaeca
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas(a)redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas(a)redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server