Created attachment 605490[details]
log
Description of problem:
I can attach more than 3 IDE disks and more than 24 virtIO disks when attaching disks.
Version-Release number of selected component (if applicable):
si14
How reproducible:
100%
Steps to Reproduce:
1. create 4 IDE disks or 30 virtIO disks
2. select and attach the all the disks to a vm
3.
Actual results:
we can attach more than 3 IDE disks and more than 24 virtIO disks
Expected results:
we should fail to attach more than 3 IDE disks and more than 24 virtIO disks
Additional info: engine log
problem is that the limit is checked in canDoAction,
when enabling user to select multiple disks to attach, and using runMultipleAction, canDoAction pass for all disk without taking into consideration other disks.
moving to frontend so runMultipleAction will not be used for this action.
Verified RHEVM Build SI23.
**********************************
- When attempted to attach (at once) 4 IDE HD's --> Only 3 HD's were actually attached.
The following gui error displayed:
-----------------------------------
"Error:
spice_desktop:
Cannot attach Virtual Machine Disk. Maximum IDE devices exceeded"
**********************************
- When attempted to attach (at once) 4 VirtIO HD's --> Only 3 HD's were actually attached.
The following gui error displayed:
----------------------------------
"Error:
spice_desktop:
Cannot attach Virtual Machine Disk. Maximum PCI devices exceeded. "
Created attachment 605490 [details] log Description of problem: I can attach more than 3 IDE disks and more than 24 virtIO disks when attaching disks. Version-Release number of selected component (if applicable): si14 How reproducible: 100% Steps to Reproduce: 1. create 4 IDE disks or 30 virtIO disks 2. select and attach the all the disks to a vm 3. Actual results: we can attach more than 3 IDE disks and more than 24 virtIO disks Expected results: we should fail to attach more than 3 IDE disks and more than 24 virtIO disks Additional info: engine log