Bug 1545229 - Starting a VM with Direct LUN fail with libvirtError
Summary: Starting a VM with Direct LUN fail with libvirtError
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: vdsm
Classification: oVirt
Component: Core
Version: 4.20.15
Hardware: Unspecified
OS: Linux
urgent
urgent
Target Milestone: ovirt-4.2.2
: ---
Assignee: Tal Nisan
QA Contact: Avihai
URL:
Whiteboard:
Depends On: 1468439
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-14 12:37 UTC by guy chen
Modified: 2018-03-29 11:04 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-29 11:04:55 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-4.2+
rule-engine: blocker+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 88255 0 master MERGED core: Mind guest address when sorting VM disks in Libvirt XML 2018-02-28 14:07:36 UTC
oVirt gerrit 88297 0 ovirt-engine-4.2 MERGED core: Mind guest address when sorting VM disks in Libvirt XML 2018-02-28 17:17:50 UTC

Description guy chen 2018-02-14 12:37:32 UTC
Description of problem:

Starting a VM with Direct LUN attached to it fail with the following error :
libvirtError: unsupported configuration: Found duplicate drive address for disk with target name 'sda' controller='0' bus='0' target='0' unit='1'

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

How reproducible:
Always

Steps to Reproduce:
1.Create a VM from a pool with 1 bootable disk
2.Attache to the VM a Direct LUN disk
3.Started the VM

Actual results:
VM fail with an error

Expected results:
VM starts

Additional info:
Without the Direct LUN attached the VM starts with no issue.
Logs will be attached

Comment 5 Red Hat Bugzilla Rules Engine 2018-02-18 11:58:39 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 6 guy chen 2018-02-18 13:18:08 UTC
Additional information :

Engine version : 4.2.1.5-0.1
The error reproduce also on VM that are not a part of a pool

Comment 7 Avihai 2018-02-19 11:44:10 UTC
The issue did not reproduce at my Env with 4.2.2-0.1 .

Scenario:
1.Create a VM from a pool with 1 bootable disk (I used ISCSI disk)
2.Attach to the VM a Direct LUN disk
3.Started the VM

VM started without issues.

Comment 8 Avihai 2018-02-19 11:45:51 UTC
Correction for step 1 :
1.Create a VM with 1 bootable disk (I used ISCSI disk)

Comment 9 Tal Nisan 2018-02-26 15:56:21 UTC
OK, correct steps to reproduce after finally managing to do it:

1. Create a VM with two VirtIO-SCSI disks, one bootable
2. Run the VM (A crucial step)
3. Stop the VM
4. Add another VirtIO-SCSI disk with a name in lower alphabetical order (name it 'a', that should do
5. Attempt to run the VM again

Comment 10 Avihai 2018-03-06 09:16:26 UTC
rhv-4.2.2-4 release (containing ovirt-engine-4.2.2.2 ) is blocked, moving back to MODIFIED.

Please move back to 'ON QA' when next valid build is available.

Comment 11 Avihai 2018-03-06 14:45:16 UTC
rhv-4.2.2-4 release was release again about ~20H ago and now it's not blocked, moving back to ON_QA

Comment 12 Avihai 2018-03-07 09:18:39 UTC
Verified with Tal's scenario on 4.2.2.2-0.1

Comment 13 Sandro Bonazzola 2018-03-29 11:04:55 UTC
This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.2 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.


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