Block device type for block_mapping_device is not configurable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack DBaaS (Trove) |
Invalid
|
High
|
Unassigned |
Bug Description
Block device type for block_mapping_
In code we're doing something like this:
volume_info = {
'block_device': {'vdb': "%s:%s:%s:%s" % (volume.id '', volume.size, 1)},
'device_path': '/dev/vdb',
'mount_point': mount_point,
'volumes': [{'id': v_ref.id, 'size': v_ref.size}]
}
# <id>:[<
block_device_
nova_client.
As it can be seen, Trove hardcodes block device type to 'vdb' - it's only valid for "virtio", for example for iSCSI - sdb
And nova raises error - InvalidBDM: Block Device Mapping is Invalid
description: | updated |
description: | updated |
Changed in trove: | |
milestone: | kilo-1 → none |
status: | New → Invalid |
bugs worth reading before making a decision: https:/ /bugs.launchpad .net/nova/ +bug/1246189 + https:/ /bugs.launchpad .net/nova/ +bug/1075971