Change in ovirt-engine[master]: restapi: wrong cpu_profile on change template cluster

gchaplik at redhat.com gchaplik at redhat.com
Thu Jan 8 14:24:45 UTC 2015


Gilad Chaplik has submitted this change and it was merged.

Change subject: restapi: wrong cpu_profile on change template cluster
......................................................................


restapi: wrong cpu_profile on change template cluster

When creating VM from template and selecting a cluster
that the template doens't reside on, causes wrong cpu_profile
error.

Fix resets cpu profile when vm's cluster and template's cluster
are not equal.

Change-Id: Ib2cdac29a9cfbe1d6b5fb5ccdb1be68c0f98c038
Bug-Url: https://bugzilla.redhat.com/1172207
Signed-off-by: Gilad Chaplik <gchaplik at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmsResource.java
1 file changed, 6 insertions(+), 0 deletions(-)

Approvals:
  Juan Hernandez: Looks good to me, approved
  Gilad Chaplik: Verified



-- 
To view, visit http://gerrit.ovirt.org/36054
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib2cdac29a9cfbe1d6b5fb5ccdb1be68c0f98c038
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list