Created attachment 922098[details]
defining Maximum number of VMs per user > number of VMs in pool
Description of problem:
No validation for Maximum number of VMs per user in VM POOL dialog
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.Define a new pool with several VMs (4 for example)
2.Edit the pool and set Maximum number of VMs per user to 100
3.Save
Actual results:
You can save a number > number of VMs in the pool for Maximum number of VMs per user field
Expected results:
Yuu should not be able to save number > number of VMs in the pool for Maximum number of VMs per user field
Additional info:
Verified with ovirt-engine-3.6.0-0.0.master.20150627185750.git6f063c1.el6.noarch.
1. trying to create a vm pool with 4 VMs and set MaxVmsPerUser to 6 - the box with value 6 is red and you cannot save VMPool.
2. same with edit vm.
3. in edit vm if you increase VMs in pool by y and you had x VMs, you can set MaxVmsPerUser to x + y in the same edit as expected.
Created attachment 922098 [details] defining Maximum number of VMs per user > number of VMs in pool Description of problem: No validation for Maximum number of VMs per user in VM POOL dialog Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1.Define a new pool with several VMs (4 for example) 2.Edit the pool and set Maximum number of VMs per user to 100 3.Save Actual results: You can save a number > number of VMs in the pool for Maximum number of VMs per user field Expected results: Yuu should not be able to save number > number of VMs in the pool for Maximum number of VMs per user field Additional info: