summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorErik Zaadi <erikz@il.ibm.com>2012-12-12 17:49:33 +0200
committerErik Zaadi <erikz@il.ibm.com>2013-02-18 16:51:46 +0200
commit933365a583daa5b9eabcf2397c3e7b803e7af74c (patch)
treeee35d83f788338a3de5dee6bac84176541682023 /etc
parentae888be9a356e88589d0ceeb5a777a627c284a4d (diff)
downloadnova-933365a583daa5b9eabcf2397c3e7b803e7af74c.tar.gz
Enable multipath for libvirt iSCSI Volume Driver
Implements: blueprint libvirt-volume-multipath-iscsi nova/virt/libvirt/volume.py:LibvirtISCSIVolumeDriver can now make use of multipath (behavior defined by use_multipath flag) runs a scsi inquiry to the storage vendor (iSCSI portal) asking for more portals, logins to the discovered portals and uses a multipath device (/dev/mapper/XX) instead of a singlepath device (/dev/disk/by-path/ip-IP:PORT-iscsi-IQN-lun-X). This improves IO speed and robustness, since if one iSCSI portal goes down, there are still others to take care of IO. Change-Id: I30489234b8329f576cf2cbb0ef390670dbee5b95
Diffstat (limited to 'etc')
-rw-r--r--etc/nova/rootwrap.d/compute.filters2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/nova/rootwrap.d/compute.filters b/etc/nova/rootwrap.d/compute.filters
index 6396315b96..cce8504cb3 100644
--- a/etc/nova/rootwrap.d/compute.filters
+++ b/etc/nova/rootwrap.d/compute.filters
@@ -185,3 +185,5 @@ tgtadm: CommandFilter, /usr/sbin/tgtadm, root
read_passwd: RegExpFilter, cat, root, cat, (/var|/usr)?/tmp/openstack-vfs-localfs[^/]+/etc/passwd
read_shadow: RegExpFilter, cat, root, cat, (/var|/usr)?/tmp/openstack-vfs-localfs[^/]+/etc/shadow
+# nova/virt/libvirt/volume.py: 'multipath' '-R'
+multipath: CommandFilter, /sbin/multipath, root \ No newline at end of file