Bug 1500163
| Summary: | Error while executing action CloneVm: Internal Engine Error (when VM is configured with cloud-init) | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Shamam <shamamamir2017> |
| Component: | BLL.Virt | Assignee: | jniederm |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Vladimir <vshypygu> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.1.5.2 | CC: | 754267513, ahadas, bugs, tjelinek |
| Target Milestone: | ovirt-4.2.0 | Flags: | rule-engine:
ovirt-4.2+
|
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-02-22 09:58:22 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Shamam
2017-10-10 06:06:00 UTC
Additional insights: The template that the original VM is based on is not configured with VM-init. This leads to an NPE on add-vm: 2017-10-03 14:35:11,863+03 ERROR [org.ovirt.engine.core.bll.CloneVmCommand] (default task-165) [] Exception: java.lang.NullPointerException at org.ovirt.engine.core.bll.AddVmCommand.addVmInit(AddVmCommand.java:1155) [bll.jar:] at org.ovirt.engine.core.bll.AddVmCommand.lambda$executeVmCommand$3(AddVmCommand.java:933) [bll.jar:] at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:202) [utils.jar:] at org.ovirt.engine.core.bll.AddVmCommand.executeVmCommand(AddVmCommand.java:925) [bll.jar:] at org.ovirt.engine.core.bll.AddVmAndCloneImageCommand.executeVmCommand(AddVmAndCloneImageCommand.java:295) [bll.jar:] Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release. Verified on 4.1.9.2-0.1.el7 Verified scenarios: 1. Create Vm from template without cloud-init configured, clone it, run cloned vm - PASS 2. Create Vm from template with cloud-init configured, clone it, run cloned vm - PASS 3. Clone pool vm with cloud-init configured - PASS 4. Clone pool VM without cloud-init configured - PASS Also verified mentioned scenarios on 4.2.1.6-0.1.el7 This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017. Since the problem described in this bug report should be resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |