Bug 1167102 - vm from pool isn't updated on new version if run by admin
Summary: vm from pool isn't updated on new version if run by admin
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: 3.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.5.2
Assignee: Omer Frenkel
QA Contact: Nisim Simsolo
URL:
Whiteboard: virt
Depends On:
Blocks: 1193058
TreeView+ depends on / blocked
 
Reported: 2014-11-23 16:22 UTC by Omer Frenkel
Modified: 2016-02-10 19:47 UTC (History)
11 users (show)

Fixed In Version: ovirt-3.5.1_rc1
Clone Of:
Environment:
Last Closed: 2015-04-29 06:17:41 UTC
oVirt Team: Virt
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 35453 0 master MERGED core: update vm version for pool-vm Never
oVirt gerrit 35474 0 ovirt-engine-3.5 MERGED core: update vm version for pool-vm Never

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.


Note You need to log in before you can comment on or make changes to this bug.