Oved Ourfali has submitted this change and it was merged.
Change subject: core: set current user in import glance image as template
......................................................................
core: set current user in import glance image as template
Importing a glance image may take a while.
Thus, when calling AddVmTemplate the session may no longer be valid, so getCurrentUser()
will return null.
This patch sets the user in the parameters class. CommandBase makes sure to take that in
case getCurrentUser() is null
Change-Id: I69dd535db983471ba31b8d427b4e0a373f1f7dc4
Bug-Url:
https://bugzilla.redhat.com/1085712
Signed-off-by: Oved Ourfali <oourfali(a)redhat.com>
(cherry picked from commit a3af79792b34a3386160aea97acb17f3ff3e80d7)
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportRepoImageCopyTaskHandler.java
1 file changed, 3 insertions(+), 0 deletions(-)
Approvals:
Federico Simoncelli: Looks good to me, but someone else must approve
Oved Ourfali: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/26629
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I69dd535db983471ba31b8d427b4e0a373f1f7dc4
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.4
Gerrit-Owner: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org