Bug 1046421 - Add vmpool prestarted vms is possible also even before vms are actually created.
Summary: Add vmpool prestarted vms is possible also even before vms are actually created.
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.6.0
Assignee: Shmuel Melamud
QA Contact: Ilanit Stein
URL:
Whiteboard: virt
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-25 08:17 UTC by Ilanit Stein
Modified: 2015-09-20 13:25 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-20 13:25:36 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
engine log (572.66 KB, application/x-gzip)
2013-12-25 08:17 UTC, Ilanit Stein
no flags Details

Description Ilanit Stein 2013-12-25 08:17:05 UTC
Description of problem:

Shortly after creating a vmpool, before VMs creation is over, it is possible to edit vmpool, and mark VMs, as "prestarted".
As a result, the VMs are not started, with error in in engine.log:
"No Vms avaialable for prestarting"

From engine.log:

2013-12-24 11:35:39,788 INFO  [org.ovirt.engine.core.bll.VmPoolMonitor] (DefaultQuartzScheduler_Worker-7) VmPool 8bdea682-f449-458e-9993-d3d0305a9fc3 is missing 3 prestarted Vms, attempting to prestart 3 Vms

2013-12-24 11:35:39,790 INFO  [org.ovirt.engine.core.bll.VmPoolMonitor] (DefaultQuartzScheduler_Worker-7) No Vms avaialable for prestarting

2013-12-24 11:35:40,059 INFO  [org.ovirt.engine.core.bll.AsyncTaskManager] (DefaultQuartzScheduler_Worker-18) Polling and updating Async Tasks: 3 tasks, 3 tasks to poll now

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

How reproducible:
Always

Comment 1 Ilanit Stein 2013-12-25 08:17:48 UTC
Created attachment 841407 [details]
engine log

Comment 2 Omer Frenkel 2013-12-30 13:23:28 UTC
but afterwards, when pool is added, the vms are started automatically, right?
if so, i dont think its a bug,
its ok for prestarted job to fail start vms if there aren't any available at some point, as long as it keep trying and succeed when its possible.

Comment 3 Ilanit Stein 2013-12-30 15:05:02 UTC
when pool is added, the VMs are not started. There is no retry to start the VMs in the pool.

Comment 4 Michal Skrivanek 2014-08-22 13:01:51 UTC
this bug won't fit into 3.5 release and is being deferred to a later release. If you deeply care about this bug and deserves to be re-evaluated please let me know

Comment 5 Shmuel Melamud 2015-09-20 13:25:36 UTC
Since introduction of VM_POOL lock in UpdateVmPoolWithVmsCommand and AddVmCommand it's not possible to edit VM pool parameters before completion of all AddVm commands.


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