Bug 1393068
| Summary: | GetVmTemplatesDisksQuery failed when using template with Cinder disks | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Jordan Conway <jconway> | ||||
| Component: | General | Assignee: | Tal Nisan <tnisan> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 4.0.4.4 | CC: | amureini, bugs, tnisan | ||||
| Target Milestone: | ovirt-4.0.5 | Flags: | rule-engine:
ovirt-4.0.z+
|
||||
| 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: | 2016-11-09 13:49:59 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Relevant part of the log: 2016-11-08 15:53:28,166 ERROR [org.ovirt.engine.core.bll.storage.disk.GetVmTemplatesDisksQuery] (default task-24) [] Exception: java.lang.NullPointerException at org.ovirt.engine.core.common.businessentities.storage.BaseDisk.setDiskVmElements(BaseDisk.java:83) [common.jar:] at org.ovirt.engine.core.bll.storage.disk.GetVmTemplatesDisksQuery.executeQueryCommand(GetVmTemplatesDisksQuery.java:28) [bll.jar:] at org.ovirt.engine.core.bll.QueriesCommandBase.executeCommand(QueriesCommandBase.java:103) [bll.jar:] at org.ovirt.engine.core.dal.VdcCommandBase.execute(VdcCommandBase.java:33) [dal.jar:] at org.ovirt.engine.core.bll.Backend.runQueryImpl(Backend.java:558) [bll.jar:] at org.ovirt.engine.core.bll.Backend.runQuery(Backend.java:529) [bll.jar:] This issue was fixed in version 4.0.5 *** This bug has been marked as a duplicate of bug 1378402 *** |
Created attachment 1218686 [details] GetVmTemplatesDisksQuery failure/NPE Description of problem: I am unable to create vms from new templates in ovirt 4.0.4 I have tried with cinder/ceph backed storage and iscsi backed storage. The template will seem to be successfully created, but new vms can not be created from the template successfully. The same error is seen trying to create the vm as trying to look at the disk on the template. Version-Release number of selected component (if applicable): oVirt Engine Version: 4.0.4.4-1.el7.centos How reproducible: Very. Steps to Reproduce: 1. Create VM 2. Create Template From VM 3. View disks tab of Template. Actual results: Spinning load on web UI, error in engine.log Expected results: Show the template disk. Additional info: engine.log snippet attached