Hide Forgot
Description of problem: Template is broken when created from Glance image. from API/ovirt-engine/api/templates/cf595090-a233-47d1-87dc-7897f84356f1 i get NO CONTENT In UI on 'Disks' tab the disk is not there and we have NPE in engine log 2016-05-22 11:42:32,580 ERROR [org.ovirt.engine.core.bll.storage.disk.GetVmTemplatesDisksQuery] (default task-7) [] 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:101) [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:] at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source) [:1.8.0_91] Version-Release number of selected component (if applicable): ovirt-engine-4.0.0-0.0.master.20160521171336.git2e1899b.el7.centos.noarch Steps to Reproduce: 1. Add Glance external provider to ovirt 2. Import Glance disk as template 3. Go to template 'Disks' tab
Created attachment 1160278 [details] engine.log
Tal, seems like a regression from your recent refactoring - please take a look?
This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.
Indeed it is, adding a Glance provider now and checking what's the problem
oVirt 4.0 beta has been released, moving to RC milestone.
Verified on ovirt-engine-4.0.0.4-0.1.el7ev.noarch . Imported an image from Glance as template and the template is usable
oVirt 4.0.0 has been released, closing current release.