Bug 1098884
| Summary: | Failed to create a vm from template | ||
|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Moti Asayag <masayag> |
| Component: | ovirt-engine-core | Assignee: | Gilad Chaplik <gchaplik> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Stehlik <pstehlik> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 3.5 | CC: | dfediuck, gchaplik, gklein, iheim, rbalakri, yeylon |
| Target Milestone: | --- | ||
| Target Release: | 3.5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | sla | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-10-17 12:39:22 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | SLA | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1073943 | ||
oVirt 3.5 has been released and should include the fix for this issue. |
Description of problem: Creating a vm from template fails due to Vm entity serialization to the async_task table. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. Add a vm based on a template (other than the blank) Actual results: Vm left in image locked status forever. Expected results: Vm created successfully Additional info: Error created due to serialization attempt of VM.getNumaNodeList(): 2014-05-18 14:04:22,933 ERROR [org.ovirt.engine.core.bll.CreateSnapshotFromTemplateCommand] (http--0.0.0.0-8080-1) [5fcf1348] Error during createTask for command: org.ovirt.engine.core.bll.CreateSnapshotFromTemplateCommand. Exception org.apache.commons.lang.SerializationException: org.codehaus.jackson.map.JsonMappingException: Unexpected token (VALUE_STRING), expected FIELD_NAME: missing property '@class' that is to contain type id (for class org.ovirt.engine.core.common.businessentities.VmNumaNode) at [Source: java.io.StringReader@3a7418c7; line: 328, column: 25] (through reference chain: org.ovirt.engine.core.common.action.VmManagementParametersBase["vm"]->org.ovirt.engine.core.common.businessentities.VM["vNumaNodeList"]): org.apache.commons.lang.SerializationException: org.codehaus.jackson.map.JsonMappingException: Unexpected token (VALUE_STRING), expected FIELD_NAME: missing property '@class' that is to contain type id (for class org.ovirt.engine.core.common.businessentities.VmNumaNode) at [Source: java.io.StringReader@3a7418c7; line: 328, column: 25] (through reference chain: org.ovirt.engine.core.common.action.VmManagementParametersBase["vm"]->org.ovirt.engine.core.common.businessentities.VM["vNumaNodeList"]) at org.ovirt.engine.core.utils.serialization.json.JsonObjectDeserializer.readJsonString(JsonObjectDeserializer.java:86) [utils.jar:]