Tomas Jelinek has submitted this change and it was merged.
Change subject: engine,webadmin: Host pinning is ignored on Template creation (#845570)
......................................................................
engine,webadmin: Host pinning is ignored on Template creation (#845570)
https://bugzilla.redhat.com/845570
VM main tab -> select VM which has host pinning set up -> make template
The template will not have the host pinning settings set.
The problem was, that this has been ignored on
frontend, backend and DB function level. Added it everywhere.
In user portal the host pinning will not be copyed, because
the frontend will ignore it (UserPortalListModel). This is
correct - the host pinning has to be completely ignored in UP.
Change-Id: Ie341ff1aa9c8e4bc9cbc4ab05b55664a7e0fd416
Signed-off-by: Tomas Jelinek <tjelinek(a)redhat.com>
---
M backend/manager/dbscripts/vm_templates_sp.sql
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmTemplateCommand.java
M
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmListModel.java
3 files changed, 15 insertions(+), 3 deletions(-)
Approvals:
Tomas Jelinek: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/7822
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie341ff1aa9c8e4bc9cbc4ab05b55664a7e0fd416
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tomas Jelinek <tjelinek(a)redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik(a)redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek(a)redhat.com>