Hide Forgot
Created attachment 833216 [details] engine.log Description of problem: Cannot get more VMs from same pool even number vms per user is > 1 -%- Error while executing action: portaluser4.lab.eng.brq.redhat.com: Cannot allocate and run VM from VM-Pool. There are no available VMs in the VM-Pool. -%- -%- 2013-12-05 16:25:31,939 WARN [org.ovirt.engine.core.bll.AttachUserToVmFromPoolAndRunCommand] (ajp-/127.0.0.1:8702-12) [401e3da0] CanDoAction of action AttachUserToVmFromPoolAndRun failed. Reasons:VAR__ACTION__ALLOCATE_AND_RUN,VAR__TYPE__VM_FROM_VM_POOL,ACTION_TYPE_FAILED_NO_AVAILABLE_POOL_VMS,VAR__ACTION__ALLOCATE_AND_RUN,VAR__TYPE__VM_FROM_VM_POOL -%- Version-Release number of selected component (if applicable): is25 How reproducible: not sure, my collegue does not see the issue Steps to Reproduce: 1. pool 'test' with 3 vms, max per user = 2, assign two users with UserRole to this pool 2. login into User Portal, get 1st VM from pool, try to get another one 3. Actual results: annot allocate and run VM from VM-Pool. There are no available VMs in the VM-Pool. Expected results: should work Additional info: 2013-12-05 16:35:34,769 WARN [org.ovirt.engine.core.bll.AttachUserToVmFromPoolAndRunCommand] (ajp-/127.0.0.1:8702-8) [6ee0da60] CanDoAction of action AttachUs erToVmFromPoolAndRun failed. Reasons:VAR__ACTION__ALLOCATE_AND_RUN,VAR__TYPE__VM_FROM_VM_POOL,ACTION_TYPE_FAILED_NO_AVAILABLE_POOL_VMS,VAR__ACTION__ALLOCATE_AN D_RUN,VAR__TYPE__VM_FROM_VM_POOL
job_id | action_type | description | status | o wner_id | visible | start_time | end_time | last_update_time | correlation_id | is_external | is_auto _cleared --------------------------------------+------------------------------+-------------------------------------------------------------+----------+---------------- ----------------------+---------+----------------------------+----------------------------+----------------------------+----------------+-------------+-------- --------- c75f89c1-be94-4ba8-a796-9fcccb4c4a9d | AttachUserToVmFromPoolAndRun | Allocating VM <UNKNOWN> from VM Pool test to User <UNKNOWN> | FAILED | f5887508-6f43-1 1e1-8091-001a4a013f06 | t | 2013-12-05 16:19:42.99+01 | 2013-12-05 16:19:43.084+01 | 2013-12-05 16:19:43.084+01 | 362d7cb5 | f | t f03701ae-b07e-43c0-8fc4-932a11a48069 | AttachUserToVmFromPoolAndRun | Allocating VM <UNKNOWN> from VM Pool test to User <UNKNOWN> | FAILED | f5887508-6f43-1 1e1-8091-001a4a013f06 | t | 2013-12-05 16:13:02.723+01 | 2013-12-05 16:13:02.837+01 | 2013-12-05 16:13:02.837+01 | 4cc54278 | f | t 3367414f-89d1-44b8-ad13-0a4302f0cb2d | UpdateVmPoolWithVms | Configuring VM Pool prestarted properties | FINISHED | fdfc627c-d875-1 1e0-90f0-83df133b58cc | t | 2013-12-05 16:47:19.562+01 | 2013-12-05 16:47:19.67+01 | 2013-12-05 16:47:19.67+01 | 862ae38 | f | t 835238f0-422c-4fd4-adbd-51c12bbb06c0 | AttachUserToVmFromPoolAndRun | Allocating VM <UNKNOWN> from VM Pool test to User <UNKNOWN> | FAILED | f5887508-6f43-1 1e1-8091-001a4a013f06 | t | 2013-12-05 16:13:50.941+01 | 2013-12-05 16:13:51.045+01 | 2013-12-05 16:13:51.045+01 | 46cabffc | f | t 3170c571-5f73-4943-8ae5-11b04845acb9 | AttachUserToVmFromPoolAndRun | Allocating VM <UNKNOWN> from VM Pool test to User <UNKNOWN> | FAILED | f5887508-6f43-1 1e1-8091-001a4a013f06 | t | 2013-12-05 16:19:52.518+01 | 2013-12-05 16:19:52.612+01 | 2013-12-05 16:19:52.612+01 | 63aeb9fb | f | t c2f50e41-564a-4054-ac39-d7f1db0c0c25 | AttachUserToVmFromPoolAndRun | Allocating VM <UNKNOWN> from VM Pool test to User <UNKNOWN> | FAILED | e32a2998-e85b-1 1e0-ade4-001a4a013f11 | t | 2013-12-05 16:13:58.912+01 | 2013-12-05 16:13:59.052+01 | 2013-12-05 16:13:59.052+01 | 593cbf7f | f | t 8a3ec9a0-4364-4143-8b8f-9db2ec6ee92c | UpdateVmPoolWithVms | Configuring VM Pool prestarted properties | FINISHED | fdfc627c-d875-1 1e0-90f0-83df133b58cc | t | 2013-12-05 16:48:42.94+01 | 2013-12-05 16:48:43.076+01 | 2013-12-05 16:48:43.076+01 | 5526b544 | f | t e774b195-e12a-4c9b-8f3b-1ccbfa9c9279 | AttachUserToVmFromPoolAndRun | Allocating VM <UNKNOWN> from VM Pool test to User <UNKNOWN> | FAILED | f5887508-6f43-1 1e1-8091-001a4a013f06 | t | 2013-12-05 16:20:00.535+01 | 2013-12-05 16:20:00.618+01 | 2013-12-05 16:20:00.618+01 | 10d060a | f | t 6c62a28e-3471-44c7-b76c-2f039120d03d | AttachUserToVmFromPoolAndRun | Allocating VM <UNKNOWN> from VM Pool test to User <UNKNOWN> | FAILED | f5887508-6f43-1 1e1-8091-001a4a013f06 | t | 2013-12-05 16:14:23.253+01 | 2013-12-05 16:14:23.359+01 | 2013-12-05 16:14:23.359+01 | 2e892ddb | f | t 69fd5980-95b3-4a12-9178-25dfe1812a4d | AttachUserToVmFromPoolAndRun | Allocating VM <UNKNOWN> from VM Pool test to User <UNKNOWN> | FAILED | e32a2998-e85b-1 1e0-ade4-001a4a013f11 | t | 2013-12-05 16:25:27.707+01 | 2013-12-05 16:25:27.801+01 | 2013-12-05 16:25:27.801+01 | 7084dad8 | f | t 1a17b712-2c7a-49ab-9958-ef47dadadb5d | AttachUserToVmFromPoolAndRun | Allocating VM <UNKNOWN> from VM Pool test to User <UNKNOWN> | FAILED | e32a2998-e85b-1 1e0-ade4-001a4a013f11 | t | 2013-12-05 16:14:35.678+01 | 2013-12-05 16:14:35.77+01 | 2013-12-05 16:14:35.77+01 | 1e4a6ffc | f | t 651a45d9-2813-463a-be74-585de71e1c4e | AttachUserToVmFromPoolAndRun | Allocating VM <UNKNOWN> from VM Pool test to User <UNKNOWN> | FAILED | f5887508-6f43-1 1e1-8091-001a4a013f06 | t | 2013-12-05 16:25:31.837+01 | 2013-12-05 16:25:31.964+01 | 2013-12-05 16:25:31.964+01 | 401e3da0 | f | t da3d5a1e-8c6e-4bdf-b79e-d5cbc9e8306e | AttachUserToVmFromPoolAndRun | Allocating VM <UNKNOWN> from VM Pool test to User <UNKNOWN> | FAILED | f5887508-6f43-1 1e1-8091-001a4a013f06 | t | 2013-12-05 16:19:37.67+01 | 2013-12-05 16:19:37.785+01 | 2013-12-05 16:19:37.785+01 | 59cb7889 | f | t 656f066d-e273-4e77-9cda-a41df49c3cc6 | AttachUserToVmFromPoolAndRun | Allocating VM <UNKNOWN> from VM Pool test to User <UNKNOWN> | FAILED | f5887508-6f43-1 1e1-8091-001a4a013f06 | t | 2013-12-05 16:31:41.728+01 | 2013-12-05 16:31:41.981+01 | 2013-12-05 16:31:41.981+01 | 13015051 | f | t c853130c-fac0-4d38-a8cf-37c1569a0d46 | AddVmPoolWithVms | Creating VM Pool prestarted from template tmpl-testpool | FINISHED | fdfc627c-d875-1 1e0-90f0-83df133b58cc | t | 2013-12-05 16:44:11.992+01 | 2013-12-05 16:44:15.802+01 | 2013-12-05 16:44:15.802+01 | 409bd516 | f | t 509fdb7e-7499-4138-adab-d49f77f3c10e | AttachUserToVmFromPoolAndRun | Allocating VM <UNKNOWN> from VM Pool test to User <UNKNOWN> | FAILED | f5887508-6f43-1 1e1-8091-001a4a013f06 | t | 2013-12-05 16:35:34.652+01 | 2013-12-05 16:35:34.785+01 | 2013-12-05 16:35:34.785+01 | 6ee0da60 | f | t ca07cdcd-d987-4496-ad0b-73b3c832566c | UpdateVmPoolWithVms | Configuring VM Pool prestarted properties | FINISHED | fdfc627c-d875-1 1e0-90f0-83df133b58cc | t | 2013-12-05 16:44:26.105+01 | 2013-12-05 16:44:26.294+01 | 2013-12-05 16:44:26.294+01 | 6dcbc40d | f | t (17 rows)
Created attachment 833227 [details] vdsm.log
the error you get (ACTION_TYPE_FAILED_NO_AVAILABLE_POOL_VMS) means that there are no vms available for allocation, it means that they are in use by other user, or got started by the admin and cannot be allocated to a user. when hitting the max in the pool, you will see the following error VM_POOL_CANNOT_ATTACH_TO_MORE_VMS_FROM_POOL can you please recheck this and see if there is an issue?
I cannot reproduce on is30. Probably bad day :)