Change in ovirt-engine[master]: core: Audit log on remove disk should be on failure.

mlipchuk at redhat.com mlipchuk at redhat.com
Sun Nov 8 09:33:20 UTC 2015


Maor Lipchuk has submitted this change and it was merged.

Change subject: core: Audit log on remove disk should be on failure.
......................................................................


core: Audit log on remove disk should be on failure.

On remove disk failure, an audit log should still be performed
regardless to the flag shouldBeLogged.

Also, when removing a VM with Cinder disks set the log flag to false, since
the remove of the VM should already log this action.

Change-Id: I831f7bb78ce53586ce4eca1edd61540345536218
Bug-Url: https://bugzilla.redhat.com/1278126
Signed-off-by: Maor Lipchuk <mlipchuk at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RemoveAllVmCinderDisksCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/RemoveCinderDiskCommand.java
2 files changed, 3 insertions(+), 4 deletions(-)

Approvals:
  Jenkins CI: Passed CI tests
  Daniel Erez: Looks good to me, approved
  Maor Lipchuk: Verified



-- 
To view, visit https://gerrit.ovirt.org/48225
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I831f7bb78ce53586ce4eca1edd61540345536218
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list