mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
xend: XenAPI does not support pvSCSI multipath
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
This commit is contained in:
1 parent
eccb4696e8
commit
05eacf31fd
1 file changed
+5
-1
@@ -333,7 +333,11 @@ class XendNode:
|
||||
pscsi_uuid = uuid.createString()
|
||||
saved_pscsi_table[scsi_id] = pscsi_uuid
|
||||
else:
|
||||
saved_HBA_uuid = saved_pscsis[pscsi_uuid].get('HBA', None)
|
||||
try:
|
||||
saved_HBA_uuid = saved_pscsis[pscsi_uuid].get('HBA', None)
|
||||
except KeyError:
|
||||
log.warn("Multi-path SCSI devices are not supported for XenAPI")
|
||||
return
|
||||
|
||||
physical_host = int(pscsi_record['physical_HCTL'].split(':')[0])
|
||||
if pscsi_HBA_table.has_key(physical_host):
|
||||
|
||||