Bug 1798881 - Cannot attach new disk to VM using VirtIO-SCSI interface
Summary: Cannot attach new disk to VM using VirtIO-SCSI interface
Keywords:
Status: CLOSED DUPLICATE of bug 1798139
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 4.4.0
Hardware: x86_64
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Tal Nisan
QA Contact: Avihai
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-06 08:33 UTC by Yosi Ben Shimon
Modified: 2020-02-06 11:11 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-02-06 11:11:43 UTC
oVirt Team: Storage
Embargoed:


Attachments (Terms of Use)

Description Yosi Ben Shimon 2020-02-06 08:33:33 UTC
Description of problem:
Failed to add a new disk to VM using VirtIO-SCSI interface.
I tried both UI and REST-API.
The error is:
"Cannot attach Virtual Disk. VirtIO-SCSI is disabled for the VM"

If I try to create the VM along with the disk, the VM is created but without any disks. The error pops up just after the VM was created.

Version-Release number of selected component (if applicable):
ovirt-engine-4.4.0-0.19.master.el7.noarch
vdsm-4.40.2-1.el8ev.x86_64

How reproducible:
100%

Steps to Reproduce (using UI):
1. Create a new VM with a disk (Set the disk interface to be "VirtIO-SCSI")
2. 
3.

Steps to Reproduce (using REST-API):
1. Create a new disk (can be using the UI)
2. POST request to:
https://<engine>/ovirt-engine/api/vms/<vm_id>/diskattachments

Request body:

<disk_attachment>
    <active>true</active>
    <interface>virtio_scsi</interface>
    <disk id="<disk_id>">
        <read_only>false</read_only>
    </disk>
</disk_attachment>

Actual results:
Failed to attach the disk to the VM

Expected results:
The disk should be attached successfully

Additional info:

Comment 1 Avihai 2020-02-06 10:51:55 UTC
Very basic flow indeed which potentially hit many automation TCs using virtio-scsi interface,setting as automation blocker.

Comment 2 Michal Skrivanek 2020-02-06 11:11:43 UTC
reported and fixed already

*** This bug has been marked as a duplicate of bug 1798139 ***


Note You need to log in before you can comment on or make changes to this bug.