Bug 1281848 - [ppc64le] VM fails to start with a spapr-vscsi interface disk as boot device with message (XML error: target 'sda' duplicated for disk sources)
Summary: [ppc64le] VM fails to start with a spapr-vscsi interface disk as boot device ...
Keywords:
Status: CLOSED DUPLICATE of bug 1274677
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 3.6.0
Hardware: ppc64le
OS: Unspecified
unspecified
high
Target Milestone: ovirt-3.6.1
: 3.6.1
Assignee: Amit Aviram
QA Contact: Aharon Canan
URL:
Whiteboard: storage
Depends On:
Blocks: RHEV3.6PPC
TreeView+ depends on / blocked
 
Reported: 2015-11-13 15:20 UTC by Carlos Mestre González
Modified: 2016-03-10 07:02 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-11-16 14:51:45 UTC
oVirt Team: Storage
Embargoed:
derez: needinfo-
amureini: ovirt-3.6.z?
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)
engine.log (56.53 KB, text/plain)
2015-11-13 15:22 UTC, Carlos Mestre González
no flags Details
all logs in /var/log/vdsm/ (148.49 KB, application/x-gzip)
2015-11-16 13:30 UTC, Carlos Mestre González
no flags Details

Description Carlos Mestre González 2015-11-13 15:20:04 UTC
Description of problem:
Starting a vm fails with a spapr vscsi disk as boot device. Seems having other disks with that interface attached works.

Version-Release number of selected component (if applicable):
vdsm-4.17.10.1-0.el7ev.noarch
vdsm-jsonrpc-4.17.10.1-0.el7ev.noarch
libvirt-client-1.2.17-13.el7.ppc64le
qemu-img-rhev-2.3.0-31.el7_2.1.ppc64le
qemu-kvm-rhev-2.3.0-31.el7_2.1.ppc64le
rhevm-3.6.0.3-0.1.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. Create a vm (with default values, Desktop, Custom OS, no nic)
2. Add a disk with spapr-vscsi interface (My tests were 10GB/ with either iscsi/nfs, sparse or not) - disk starts fine.
3. Start the vm

Actual results:
or] (ForkJoinPool-1-worker-1) [72c52cf1] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: VM test_vm_4 is down with error. Exit message: XML error: target 'sda' duplicated for disk sources '/rhev/data-center/a723a57a-e118-466e-9b8b-63cf66814f17/1bab0f28-536e-446b-80d3-4c4c0e07789e/images/2f06078a-7d90-4414-a2c5-db20395fe194/4450f84d-49e6-4d09-8f0b-06af212295cb' and '<null>'.


Expected results:
vm starts properly

Additional info:
This also happens if you create a boot device with a different interface and then edit the interface to spapr-vscsi.
There doesn't seems to be an issue

Comment 1 Carlos Mestre González 2015-11-13 15:21:40 UTC
Adding to storage since I think the XML issue falls into that component. Severity high.

Comment 2 Carlos Mestre González 2015-11-13 15:22:40 UTC
Created attachment 1093707 [details]
engine.log

Pretty straight forward. creation of test_vm_4 and fails after start (search for duplicated)

Comment 3 Allon Mureinik 2015-11-15 08:56:14 UTC
Tal, this is high priority due to the PPC focus.
Let's get someone to take a look at this please?

Comment 4 Amit Aviram 2015-11-15 09:54:09 UTC
Carlos, can you please attach the VDSM logs also? (all files in "/var/log/vdsm/" in the host which tried to activate the VM)

Comment 5 Carlos Mestre González 2015-11-16 13:30:12 UTC
Created attachment 1094874 [details]
all logs in /var/log/vdsm/

A new run with same scenario.

starts at 08:20: Create vm, add disk, start the vm, fails at 08:21:56

vm: 4dba4d02-90a2-49ec-81ce-aba0f898a051
disk: 3b2d7501-25b9-47df-a361-5dfccdf40b5f
image id: a58830f9-564b-4bfa-98a7-f9d71f4db99a

qemu log only show 2015-11-16 13:21:50.360+0000: shutting down

Also I included libirtd.log that has a time shift, start at 13:20

Comment 6 Allon Mureinik 2015-11-16 13:54:48 UTC
Daniel/Amit - is this a duplicate of bug 1274677?

Comment 7 Amit Aviram 2015-11-16 14:51:45 UTC
Actually, it is. closing.

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


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