Description of problem: Can attach OVF-STORE as disk while creating a new VM Version-Release number of selected component (if applicable): ovirt-engine-4.2.0-0.0.master.20170920172148.git8366a0b.el7.centos.noarch How reproducible: 100% Steps to Reproduce: 1. try to create a vm 2. try to attach a disk Actual results: you'll see OVF-STORE as images that can be attached to the VM Expected results: you shouldn't be able to attach OVF-STORE as disk to VMs Attaching screenshot
Created attachment 1329562 [details] image selection dialog
Created attachment 1329564 [details] image attached
I believe this is intentional. Tal?
This was always the behavior, the disks list was not filtered when trying to attach to a VM, however the operation did and is still failing with "Cannot attach Virtual Disk. The operation is not supported for OVF_STORE disks." Having said that, after the latest changing regarding content type it now makes it easier to filter out disks that cannot be attached to a VM, Allon do you think that this is worth the effort?
(In reply to Tal Nisan from comment #4) > This was always the behavior, the disks list was not filtered when trying to > attach to a VM, however the operation did and is still failing with "Cannot > attach Virtual Disk. The operation is not supported for OVF_STORE disks." Removing the Regression keyword based on that. > Having said that, after the latest changing regarding content type it now > makes it easier to filter out disks that cannot be attached to a VM, Allon > do you think that this is worth the effort? If it's an easy win, let's do it.
Tested on ovirt-engine-4.2.1.1-0.1.el7.noarch and the disks list is filtered and no OVF_STORE disks appear in the list. See attached screen shots. Moving to VERIFIED
Created attachment 1381313 [details] images list
Created attachment 1381314 [details] direct LUN
Forgot to mention that it was checked in both scenarios: 1. During the creation of the VM. 2. After VM creation: - Click on the VM name to open it's properties. - Under "disks" tab -> "attach" button on the top right
This bugzilla is included in oVirt 4.2.1 release, published on Feb 12th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.1 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.