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):
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
You can save a number > number of VMs in the pool for Maximum number of VMs per user field
Yuu should not be able to save number > number of VMs in the pool for Maximum number of VMs per user field
Fixed for both "New Pool" and "Edit Pool" dialogs.
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.
oVirt 3.6.0 has been released on November 4th, 2015 and should fix this issue.
If problems still persist, please open a new BZ and reference this one.