Bug 1167102

Summary: vm from pool isn't updated on new version if run by admin
Product: [Retired] oVirt Reporter: Omer Frenkel <ofrenkel>
Component: ovirt-engine-coreAssignee: Omer Frenkel <ofrenkel>
Status: CLOSED CURRENTRELEASE QA Contact: Nisim Simsolo <nsimsolo>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.5CC: bugs, ecohen, gklein, iheim, istein, lsurette, michal.skrivanek, ofrenkel, rbalakri, sbonazzo, yeylon
Target Milestone: ---   
Target Release: 3.5.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: ovirt-3.5.1_rc1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-29 06:17:41 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: 1193058    

Description Omer Frenkel 2014-11-23 16:22:06 UTC
Description of problem:
If vm from vm-pool is started by admin (not running as stateless)
and while it is running, a new template version is created,
and vm-pool is set to use latest version,
this vm is not updated, only after it is run by user (as stateless) and stops again. 

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

How reproducible:
always

Steps to Reproduce:
1. create vm-pool, set to use template latest version
2. run a vm from the pool, using the webadmin
3. create new version for the template that the pool is using
4. stop the vm and verify version didn't change

Actual results:
vm version is not updated

Expected results:
vm version should be updated

Additional info:
this only happens to vms that are run by the admin and while it was running new template version was created.
a simple workaround is to run the vm from user portal (as user) and stop the vm.
another option is to use run-once and start the vm as stateless, then stop the vm.

Comment 1 Sandro Bonazzola 2015-01-15 14:11:03 UTC
This bug is in modified state and is referenced in ovirt-engine-3.5.1_rc1 code.
Can you please check if this is fixed in 3.5.1 and change target accordingly?

Comment 2 Sandro Bonazzola 2015-01-15 14:15:06 UTC
This is an automated message: 
This bug should be fixed in oVirt 3.5.1 RC1, moving to QA

Comment 3 Ilanit Stein 2015-03-18 09:13:37 UTC
Verified on vt14.
Followed the "Steps to Reproduce" in the description section.

Comment 4 Eyal Edri 2015-04-29 06:17:41 UTC
ovirt 3.5.2 was GA'd. closing current release.