Change in ovirt-engine[master]: core: retrieve vm name from vm-manager instead of the database

Code Review gerrit at ovirt.org
Sun May 7 08:34:23 UTC 2017


>From Arik Hadas <ahadas at redhat.com>:

Arik Hadas has submitted this change and it was merged.

Change subject: core: retrieve vm name from vm-manager instead of the database
......................................................................


core: retrieve vm name from vm-manager instead of the database

We need the name of the VM for the audit logs generated for failures to
automatically start highly-available VMs. This patch replaces that
retrieval of the name from the database with querying the cached value
in the corresponding VmManager instance.

Change-Id: I5d68b3c2964019e7dbef751fc0e5d516ae38a9b0
Signed-off-by: Arik Hadas <ahadas at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AutoStartVmsRunner.java
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Jenkins CI: Passed CI tests
  Moti Asayag: Looks good to me, approved
  Arik Hadas: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5d68b3c2964019e7dbef751fc0e5d516ae38a9b0
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list