libvirt iSCSI driver sets is_block_dev=False
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Vladik Romanovsky |
Bug Description
Trying to use iSCSI with libvirt/Xen, attaching volumes to instances was failing. I tracked this down to the libvirt XML looking like:
<disk type="block" device="disk">
<driver name="file" type="raw" cache="none"/>
<source dev="/dev/
<target bus="xen" dev="xvdb"/>
<serial>
</disk>
The driver name should be "phy", not "file".
More digging lead to the iSCSI volume driver in nova/virt/
class LibvirtISCSIVol
"""Driver to attach Network volumes to libvirt."""
def __init__(self, connection):
Surely is_block_dev should be "True" for iSCSI?? Changing this makes the problem go away - now pick_disk_
Am I missing something here... ?
tags: | added: libvirt |
tags: | added: xen |
Changed in nova: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in nova: | |
assignee: | nobody → Vladik Romanovsky (vladik-romanovsky) |
Changed in nova: | |
milestone: | none → icehouse-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | icehouse-3 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/75438
Review: https:/