|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] xend: XenAPI does not support pvSCSI mult
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1267800145 0
# Node ID b82dd03944e00c55c7faf56c117b2a9eb4ea9ce2
# Parent 8f98581c2dd1b4252fc0348a5d27beaad890a032
xend: XenAPI does not support pvSCSI multipath
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
---
tools/python/xen/xend/XendNode.py | 6 +++++-
1 files changed, 5 insertions(+), 1 deletion(-)
diff -r 8f98581c2dd1 -r b82dd03944e0 tools/python/xen/xend/XendNode.py
--- a/tools/python/xen/xend/XendNode.py Fri Mar 05 14:40:19 2010 +0000
+++ b/tools/python/xen/xend/XendNode.py Fri Mar 05 14:42:25 2010 +0000
@@ -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):
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] xend: XenAPI does not support pvSCSI multipath,
Xen patchbot-unstable <=
|
|
|
|
|