Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1146445

Summary: ERROR [org.ovirt.engine.core.bll.AddVmPoolWithVmsCommand] (org.ovirt.thread.pool-7-thread-35) [679d023] Command org.ovirt.engine.core.bll.AddVmPoolWithVmsCommand throw exception: java.lang.NullPointerException
Product: Red Hat Enterprise Virtualization Manager Reporter: Jiri Belka <jbelka>
Component: ovirt-engineAssignee: Gilad Chaplik <gchaplik>
Status: CLOSED CURRENTRELEASE QA Contact: Artyom <alukiano>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: dfediuck, ecohen, gklein, iheim, jbelka, lpeer, lsurette, mavital, ofrenkel, rbalakri, rgolan, Rhev-m-bugs, sherold, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sla
Fixed In Version: org.ovirt.engine-root-3.5.0-14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-17 17:10:31 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:
Embargoed:
Attachments:
Description Flags
engine.log none

Description Jiri Belka 2014-09-25 09:30:05 UTC
Created attachment 941029 [details]
engine.log

Description of problem:
new pool action doesn't create pooled VM.

2014-09-25 11:24:57,505 ERROR [org.ovirt.engine.core.bll.AddVmPoolWithVmsCommand] (org.ovirt.thread.pool-7-thread-35) [679d023] Command org.ovirt.engine.core.bll.AddVmPoolWithVmsCommand throw exception: java.lang.NullPointerException

Version-Release number of selected component (if applicable):
rhevm-backend-3.5.0-0.13.beta.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. create pool from template, just select templated and put name
2.
3.

Actual results:
no vm is created, no event about failure in Admin portal

Expected results:
pooled vm should be created

Additional info:

Comment 1 Omer Frenkel 2014-09-29 12:25:04 UTC
this fails because entity.getNumaTuneMode() in the dao mapper is null

Comment 2 Gilad Chaplik 2014-09-29 15:07:27 UTC
Jiri, 

I can't reproduce, I think it happens only when upgrading RCs, can you verify?
If so blocker flag should be removed.

Thanks :-)

Comment 3 Jiri Belka 2014-09-30 07:42:10 UTC
Yes, it seems to be related to older 3.5 templates. I tried to create new VM -> template -> pool now and it works (on vt4).

I also tried to create VM -> template on latest 3.4 env, export the template, import it on 3.5 (vt4) and to create a pool and it works.

Comment 4 Doron Fediuck 2014-09-30 12:41:58 UTC
(In reply to Jiri Belka from comment #3)
> Yes, it seems to be related to older 3.5 templates. I tried to create new VM
> -> template -> pool now and it works (on vt4).
> 
> I also tried to create VM -> template on latest 3.4 env, export the
> template, import it on 3.5 (vt4) and to create a pool and it works.

Jirka,
if 3.4 -> 3.5 upgrade works and fresh install works we should be ok.
Officially beta upgrades are not supported.
Any objections to close this issue?

Comment 5 Jiri Belka 2014-09-30 12:56:06 UTC
plz discuss with gchaplik@ as we stated on IRC his intention to fix this because of upstream users. for me it's ok to close this BZ.

Comment 7 Eyal Edri 2014-10-07 07:12:41 UTC
this bug status was moved to MODIFIED before engine vt5 was built,
hence moving to on_qa, if this was mistake and the fix isn't in,
please contact rhev-integ

Comment 8 Artyom 2014-10-23 10:41:36 UTC
Verified on rhevm-3.5.0-0.17.beta.el6ev.noarch, creation of pool and run vms from pool pass.

Comment 9 Eyal Edri 2015-02-17 17:10:31 UTC
rhev 3.5.0 was released. closing.