Bug 1274677
Summary: | [ppc64le] After cloning a vm from a template, vm fails to start with XML error: target 'sda' duplicated for disk sources | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Carlos Mestre González <cmestreg> | ||||||||
Component: | BLL.Virt | Assignee: | Marek Libra <mlibra> | ||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ilanit Stein <istein> | ||||||||
Severity: | high | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 3.6.0 | CC: | amureini, bugs, hannsj_uhl, mgoldboi, michal.skrivanek, tjelinek, ylavi | ||||||||
Target Milestone: | ovirt-3.6.1 | Flags: | rule-engine:
ovirt-3.6.z+
mgoldboi: planning_ack+ rule-engine: devel_ack+ rule-engine: testing_ack+ |
||||||||
Target Release: | 3.6.1 | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | virt | ||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2016-01-13 14:37:13 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: | |||||||||||
Bug Depends On: | |||||||||||
Bug Blocks: | 1201513 | ||||||||||
Attachments: |
|
Description
Carlos Mestre González
2015-10-23 10:48:59 UTC
Created attachment 1085815 [details]
rest api calls
Created attachment 1085816 [details]
engine.log
20:59:32 starts the vm creation.
Created attachment 1085817 [details]
vdsm.log
Sorry, the host time doesn't match the one from the engine. check 2015-10-19 14:02:39,748
Michal - can your team take lead on this please? If you decide it's more of a storage issue than a virt one, we'll take it off your hands, of course. yep, seems like virt. This bug is not marked for z-stream, yet the milestone is for a z-stream version, therefore the milestone has been reset. Please set the correct milestone or add the z-stream flag. The CDROM is assigned to sda. Subsequent disk assignment is incorrectly handled (starting from sda as well). The bug can be fixed by setting correct "index" attribute for disk sent from engine in case of VirtIO-SCSI. Update of comment 7: the disk index is incorrectly set for first bootable disk. *** Bug 1281847 has been marked as a duplicate of this bug. *** *** Bug 1281848 has been marked as a duplicate of this bug. *** Verified on rhevm 3.6.1-4. Create the VM: ============= https://<engine IP address>:443/ovirt-engine/api/vms POST Headers: Content-Type: application/xml <vm> <name>storage_vm_server</name> <type>server</type> <os type="rhel_7_ppc64"/> <cluster href="/api/clusters/2d5db03a-7a36-490b-84b6-a0722411e588" id="2d5db03a-7a36-490b-84b6-a0722411e588"> <name>golden_env_mixed_1</name> </cluster> <display> <type>vnc</type> </display> <virtio_scsi enabled="true"/> <template href="/api/templates/e22d3cbf-43d1-4341-a3dc-e5ac0cebd26d" id="e22d3cbf-43d1-4341-a3dc-e5ac0cebd26d"> <name>golden_mixed_virtio_template</name> </template> <disks> <disk id="c44da4a5-0679-4f9b-9ae9-baeef0beba29"> <== Template's disk id <storage_domains> <storage_domain> <name>iscsi_0</name> </storage_domain> </storage_domains> <format>cow</format> <sparse>true</sparse> </disk> <clone>true</clone> </disks> <memory_policy/> </vm> Start the VM: ============ https://<engine IP address>:443/ovirt-engine/api/vms/878a7f92-94d8-4dad-8835-245c6c30c22f/start POST Headers: Content-Type: application/xml <action> <async>false</async> <grace_period> <expiry>10</expiry> </grace_period> </action> oVirt 3.6.1 has been released, closing current release |