Bug 2040361 - Hotplug VirtIO-SCSI disk fails with error "Domain already contains a disk with that address" when IO threads > 1
Summary: Hotplug VirtIO-SCSI disk fails with error "Domain already contains a disk wit...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.4.9
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ovirt-4.5.0
: 4.5.0
Assignee: Arik
QA Contact: Qin Yuan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-13 14:50 UTC by Pawan kumar Vilayatkar
Modified: 2022-07-25 16:22 UTC (History)
1 user (show)

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.
Clone Of:
Environment:
Last Closed: 2022-05-26 16:23:26 UTC
oVirt Team: Virt
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-44469 0 None None None 2022-01-13 15:01:27 UTC
Red Hat Product Errata RHSA-2022:4711 0 None None None 2022-05-26 16:23:39 UTC
oVirt gerrit 118258 0 master MERGED core: cleanup code related to hot-plug disk 2022-01-17 21:46:14 UTC
oVirt gerrit 118259 0 master MERGED core: fix address assignment during hot-plug of virtio-scsi disks 2022-01-20 10:47:34 UTC

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


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