Bug 1322865

Summary: [BLOCKED] Templates can not be used
Product: [oVirt] ovirt-engine Reporter: Nelly Credi <ncredi>
Component: Backend.CoreAssignee: Nobody <nobody>
Status: CLOSED CURRENTRELEASE QA Contact: Aharon Canan <acanan>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.6.5CC: ahadas, bugs, michal.skrivanek, ncredi
Target Milestone: ---Keywords: AutomationBlocker, Regression
Target Release: ---Flags: rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-05 07:33:52 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:
Bug Depends On:    
Bug Blocks: 1323493    
Attachments:
Description Flags
engine log
none
hosts logs none

Description Nelly Credi 2016-03-31 13:22:39 UTC
Created attachment 1142226 [details]
engine log

Description of problem:
The imported disk stays in 'Locked' status and we see 'Failed creating Template xxxxx' 


Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. connect glance as external provider
2.import as template via UI or API
3.

Actual results:
the disk stays in 'locked' state

Expected results:
the template should be created

Additional info:

Comment 1 Nelly Credi 2016-03-31 13:23:13 UTC
Created attachment 1142227 [details]
hosts logs

Comment 2 Yaniv Kaul 2016-03-31 13:40:34 UTC
Nelly 
- which time did the error happen?
- which host (or do I have to guess from all of them, or look at the engine log?)

Comment 3 Michal Skrivanek 2016-03-31 13:49:54 UTC
the improper fix for bug 1294511 caused a temporary regression which was fixed few days later. Unfortunately the 3.6.5 branch was right in the middle, hence this is not fixed in 3.6.5

closing, since that problem is tracked in bug 1294511

*** This bug has been marked as a duplicate of bug 1294511 ***

Comment 4 Gil Klein 2016-03-31 15:27:37 UTC
(In reply to Michal Skrivanek from comment #3)
> the improper fix for bug 1294511 caused a temporary regression which was
> fixed few days later. Unfortunately the 3.6.5 branch was right in the
> middle, hence this is not fixed in 3.6.5
> 
> closing, since that problem is tracked in bug 1294511
> 
> *** This bug has been marked as a duplicate of bug 1294511 ***
Michael, I would like to keep this BZ open for verification sake. 
We will do it, as soon as the other BZ gets ON_QA.

Comment 5 Arik 2016-03-31 16:06:18 UTC
(In reply to Michal Skrivanek from comment #3)
Note that the fact that the improper fix for bug 1294511 affects this flow exposes another bug: the template here has not been created as a sub-version of any existing template and yet we tried to update VMs which are based on this template - obviously there will not be such VMs so there is no functional problem, only a redundant query from the database.