Hide Forgot
Description of problem: Importing an image from Glance as a template fails. The task is not finishing. Version-Release number of selected component (if applicable): How reproducible: Import an image from Glance as a template. Steps to Reproduce: 1. Login to web as admin 2. Go to Storage tab 3. Select Glance domain 4. In the "Images" sub tab select an image and click "Import" 5. Select "Import as Template" checkbox 6. Click "OK" button Actual results: The template is not created, and the task is not finishing. Expected results: The template is created, and the task is completed. Additional info:
The log error : 2016-01-17 17:55:10,685 ERROR [org.ovirt.engine.core.bll.CommandsFactory] (org.ovirt.thread.pool-7-thread-50) [] An exception has occured while trying to create a command object for command 'AddVmTemplate': WELD-000049: Unable to invoke protected final void org.ovirt.engine.core.bll.CommandBase.postConstruct() on org.ovirt.engine.core.bll.AddVmTemplateCommand@3bde29c3
The bug is not 3.6 branch.
The bug does not reproduce in 3.6. Fix only needed in master.
Image import as a template from a Glance repository succeeds (template is created successfully). Verified using: ovirt-engine-4.0.0-0.0.master.20160406161747.gita4ecba2.el7.centos.noarch vdsm-4.17.999-892.git435139d.el7.centos.noarch 2016-04-06 11:50:37,394 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-29) [46dedc3f] Correlation ID: 3df75d4 d, Job ID: 5a9419d8-d94a-43ae-b09f-1239260b456d, Call Stack: null, Custom Event ID: -1, Message: User admin@internal successfully imported image GlanceDisk-8a240e1 as template temp1 to domain nfs2.
oVirt 4.0.0 has been released, closing current release.