Bug 2040361

Summary: Hotplug VirtIO-SCSI disk fails with error "Domain already contains a disk with that address" when IO threads > 1
Product: Red Hat Enterprise Virtualization Manager Reporter: Pawan kumar Vilayatkar <pvilayat>
Component: ovirt-engineAssignee: Arik <ahadas>
Status: CLOSED ERRATA QA Contact: Qin Yuan <qiyuan>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 4.4.9CC: mavital
Target Milestone: ovirt-4.5.0Keywords: ZStream
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.5.0 Doc Type: Bug Fix
Doc Text:
Previously, when hot plugging multiple disks with VIRTIO SCSI interface to virtual machine that are defined with more than one IO thread, this would have failed due to allocation of a duplicate PCI address. Now, each disk is assigned with a unique PCI address in this process, which enabled to plug multiple disks with VIRTIO SCSI to virtual machines also when they are set with more than one IO thread.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-26 16:23:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pawan kumar Vilayatkar 2022-01-13 14:50:15 UTC
Description of problem:

Trying to hotplug a disk in RHV but failing with the error "Requested operation is not valid: Domain already contains a disk with that address, code = 45".
Selecting VIrtIO disk get Hotplug successfully.

There are various bugs for the same issue in RHV 4.3 which got Fixed in RHV 4.4.7 but still failing in RHV 4.4.9

Version-Release number of selected component (if applicable):

RHVM 4.4.9
Red Hat Virtualization Host 4.4.9
libvirt-7.6.0-6.module+el8.5.0+13051+7ddbe958.x86_64
vdsm-4.40.90.4-1.el8ev.x86_64                               Mon Dec  6 20:24:53 2021

Comment 16 Qin Yuan 2022-04-19 08:02:52 UTC
Verified with:
ovirt-engine-4.5.0.2-0.7.el8ev.noarch

Steps:
1. Create and run a VM with IO threads>1(created VM from template latest-rhel-guest-image-8.6-infra, set IO threads to 4)
2. Create 5 new disks
3. Hot plug the 5 disks to the VM with VIRTIO SCSI interface

Result:
All the 5 disks are hot plugged to the VM successfully.

Comment 21 errata-xmlrpc 2022-05-26 16:23:26 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: RHV Manager (ovirt-engine) [ovirt-4.5.0] security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:4711

Comment 22 meital avital 2022-07-25 16:22:07 UTC
Due to QE capacity, we are not going to cover this issue in our automation