Bug 1328383 - VM with a direct lun doesn't start with libvirt >= 1.3.2
Summary: VM with a direct lun doesn't start with libvirt >= 1.3.2
Keywords:
Status: CLOSED DUPLICATE of bug 1322842
Alias: None
Product: vdsm
Classification: oVirt
Component: Core
Version: 4.17.23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Francesco Romani
QA Contact: Aharon Canan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-19 09:27 UTC by Pavel Gashev
Modified: 2016-04-19 11:42 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-04-19 11:42:59 UTC
oVirt Team: Virt
Embargoed:
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)

Description Pavel Gashev 2016-04-19 09:27:46 UTC
Description of problem:
VM doesn't start with attached Direct LUN. Vdsm.log shows the following error:
libvirtError: unsupported configuration: Disks 'hdc' and 'sda' have identical serial

Version-Release number of selected component (if applicable):
libvirt-daemon-1.3.2
vdsm-4.17.23.2

How reproducible:
Start a VM with attached Direct LUN.

Cause:
It looks like the same case as https://bugzilla.redhat.com/1322842

Part of domain config:
<disk device="cdrom" snapshot="no" type="file">
    <address bus="1" controller="0" target="0" type="drive" unit="0"/>
    <source file="" startupPolicy="optional"/>
    <target bus="ide" dev="hdc"/>
    <readonly/>
    <serial/>
</disk>
<disk device="disk" snapshot="no" type="file">
    <address bus="0x00" domain="0x0000" function="0x0" slot="0x05" type="pci"/>
    <source file="/rhev/data-center/00000001-0001-0001-0001-00000000029b/bbcc9361-fc4f-4f40-949a-beae401ff27d/images/4a717fab-db0a-4976-af46-c2cc237c5dd5/9f2f1a9a-6b9c-43b4-822c-245314cfa300"/>
    <target bus="virtio" dev="vda"/>
    <serial>4a717fab-db0a-4976-af46-c2cc237c5dd5</serial>
    <boot order="1"/>
    <driver cache="none" error_policy="stop" io="threads" name="qemu" type="raw"/>
</disk>
<disk device="disk" snapshot="no" type="block">
    <address bus="0" controller="0" target="0" type="drive" unit="2"/>
    <source dev="/dev/mapper/3600508b1001cc80d438352f93eb0385d"/>
    <target bus="scsi" dev="sda"/>
    <serial/>
    <driver cache="none" error_policy="stop" io="native" name="qemu" type="raw"/>
</disk>

Comment 1 Michal Skrivanek 2016-04-19 11:27:15 UTC
can you please review and close if indeed the same issue already solved?

Comment 2 Francesco Romani 2016-04-19 11:42:59 UTC
(In reply to Pavel Gashev from comment #0)
> Description of problem:
> VM doesn't start with attached Direct LUN. Vdsm.log shows the following
> error:
> libvirtError: unsupported configuration: Disks 'hdc' and 'sda' have
> identical serial
> 
> Version-Release number of selected component (if applicable):
> libvirt-daemon-1.3.2
> vdsm-4.17.23.2
> 
> How reproducible:
> Start a VM with attached Direct LUN.
> 
> Cause:
> It looks like the same case as https://bugzilla.redhat.com/1322842

Yes, It should be fixed by the same patch, because once again we should not send empty serial to libvirt: either full serial, or no serial at all, and this applies also to LUN. So the codepath is the same.

Please reopen if doesn't work even after 1322842 is fixed.

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


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