Bug 1323595

Summary: Make template from VM with quota, failed with NullPointerException
Product: [oVirt] ovirt-engine Reporter: Artyom <alukiano>
Component: Backend.CoreAssignee: Roy Golan <rgolan>
Status: CLOSED DUPLICATE QA Contact: Aharon Canan <acanan>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.6.5CC: ahadas, bugs, rgolan
Target Milestone: ---Keywords: Regression
Target Release: ---Flags: rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-05 08:06:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
engine log none

Description Artyom 2016-04-04 07:50:58 UTC
Created attachment 1143249 [details]
engine log

Description of problem:
Make template from VM with quota, failed with NullPointerException

Version-Release number of selected component (if applicable):
rhevm-3.6.5-0.1.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. Change datacenter quota mode to audit
2. Create new quota(without any limits) test_quota
3. Create new VM with disk(choose test_quota as VM and disk quota)
4. Make new template from VM

Actual results:
Make template failed with NullPointerException and VM, template and disks stay in locked status.

Expected results:
Make template succeed without any troubles

Additional info:

Comment 1 Roy Golan 2016-04-05 06:48:12 UTC
I believe Bug 1294511 should solve that, i.e 3.6.5.1-0.1.el6. Can you please Verify?

Comment 2 Artyom 2016-04-05 07:01:44 UTC
Yes you right
Verified on rhevm-3.6.5.1-0.1.el6.noarch

Comment 3 Roy Golan 2016-04-05 07:05:06 UTC
Artom, please ignore, I suspect Arik's fix for Bug 1294511 is causing this. 

Arik?

Comment 4 Arik 2016-04-05 07:37:22 UTC
Right, proper fix was merged 2 days ago to 3.6.5

Comment 5 Roy Golan 2016-04-05 08:06:50 UTC

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