rbd volume disk device config has wrong scsi unit address since pike
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Invalid
|
Undecided
|
Unassigned | ||
OpenStack Compute (nova) |
Fix Released
|
High
|
Jay Pipes | ||
Ocata |
Fix Committed
|
High
|
Artom Lifshitz | ||
Pike |
Fix Committed
|
High
|
Artom Lifshitz | ||
Queens |
Fix Committed
|
High
|
Artom Lifshitz |
Bug Description
Yaml:
vol_omu:
type: OS::Heat:
properties:
count: 2
resource_def:
type: OS::Cinder::Volume
properties:
name: OMU-Volume
size: 22
OMU-0:
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:
<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:
<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:
qemu-kvm: -object secret,
Duplicate ID 'scsi0-
description: | updated |
affects: | openstack-community → cinder |
summary: |
- block_device_mapping_v2 cannot work with Pike + rbd volume disk device config has wrong scsi unit address since pike |
Changed in cinder: | |
status: | New → Invalid |
Changed in nova: | |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → melanie witt (melwitt) |
status: | Confirmed → In Progress |
Changed in nova: | |
assignee: | melanie witt (melwitt) → sahid (sahid-ferdjaoui) |
Changed in nova: | |
assignee: | sahid (sahid-ferdjaoui) → Jay Pipes (jaypipes) |
Changed in nova: | |
importance: | Undecided → High |
Looks like https:/ /github. com/openstack/ nova/commit/ c25629f85feb53b 5be0347f68c43b3 b55fb9f137 in pike might have caused a regression.