The problem happened on Pike.
Two disks have the same unit ID:
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
And error log:
qemu-kvm: -object secret,id=scsi0-0-0-0-secret0,data=flYlAwpFVjBHcQ/NI3UUe+bahMmauiudlUbN3KW3RIk=,keyid=masterKey0,iv=7FE+TU876kfSu2Yrrm3uBQ==,format=base64:
Duplicate ID 'scsi0-0-0-0-secret0' for object
Yaml: :ResourceGroup
source_ volid: { get_param: omu_volume_id }
vol_omu:
type: OS::Heat:
properties:
count: 2
resource_def:
type: OS::Cinder::Volume
properties:
name: OMU-Volume
size: 22
OMU-0: device_ mapping_ v2:
type: OS::Nova::Server
properties:
name: OMU-0
image: { get_param: ipxe_image_id }
flavor: { get_param: flavor_omu }
key_name: { get_param: key_name }
networks: { get_attr: [OMU_0_ports, port-map] }
block_
- { "boot_index": -1, "disk_bus": "scsi", "volume_id": { get_attr: [vol_omu, resource.0] } }
- { "boot_index": -1, "disk_bus": "scsi", "volume_id": { get_attr: [vol_omu, resource.1] } }
Related xml content for OpenStack Newton: volumes/ volume- 20807bd7- d1e7-4f87- a94d-f8234945b4 33'> 20807bd7- d1e7-4f87- a94d-f8234945b4 33</serial> volumes/ volume- cd63e6f9- 87f9-4c6b- ba87-bd4ff3c113 c4'> cd63e6f9- 87f9-4c6b- ba87-bd4ff3c113 c4</serial>
<disk type='network' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<source protocol='rbd' name='cinder-
<host name='172.168.42.3' port='6789'/>
<host name='172.168.42.4' port='6789'/>
<host name='172.168.42.5' port='6789'/>
</source>
<target dev='sda' bus='scsi'/>
<serial>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='network' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<source protocol='rbd' name='cinder-
<host name='172.168.42.3' port='6789'/>
<host name='172.168.42.4' port='6789'/>
<host name='172.168.42.5' port='6789'/>
</source>
<target dev='sdb' bus='scsi'/>
<serial>
<address type='drive' controller='0' bus='0' target='0' unit='1'/>
</disk>
Related xml content for OpenStack Pike: 665f-4fbf- 8bb5-8801818707 09'/> volume- 029d943d- 60ad-4f90- 87b7-a2e7a20394 f9'> 029d943d- 60ad-4f90- 87b7-a2e7a20394 f9</serial> 665f-4fbf- 8bb5-8801818707 09'/> volume- 0dc8e3a2- 6fa9-4530- bd5b-db6cef83b9 f3'> 0dc8e3a2- 6fa9-4530- bd5b-db6cef83b9 f3</serial>
<disk type='network' device='disk'>
<driver name='qemu' type='raw' cache='none' discard='unmap'/>
<auth username='cinder'>
<secret type='ceph' uuid='6c373d85-
</auth>
<source protocol='rbd' name='volumes/
<host name='192.168.1.29' port='6789'/>
<host name='192.168.1.30' port='6789'/>
<host name='192.168.1.31' port='6789'/>
</source>
<target dev='sda' bus='scsi'/>
<serial>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='network' device='disk'>
<driver name='qemu' type='raw' cache='none' discard='unmap'/>
<auth username='cinder'>
<secret type='ceph' uuid='6c373d85-
</auth>
<source protocol='rbd' name='volumes/
<host name='192.168.1.29' port='6789'/>
<host name='192.168.1.30' port='6789'/>
<host name='192.168.1.31' port='6789'/>
</source>
<target dev='sdb' bus='scsi'/>
<serial>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
The problem happened on Pike.
Two disks have the same unit ID:
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
And error log: id=scsi0- 0-0-0-secret0, data=flYlAwpFVj BHcQ/NI3UUe+ bahMmauiudlUbN3 KW3RIk= ,keyid= masterKey0, iv=7FE+ TU876kfSu2Yrrm3 uBQ==,format= base64: 0-0-0-secret0' for object
qemu-kvm: -object secret,
Duplicate ID 'scsi0-