]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
LVM add multiattach flag capability
authorWalter A. Boring IV <walter.boring@hp.com>
Thu, 11 Jun 2015 17:07:23 +0000 (10:07 -0700)
committerWalter A. Boring IV <walter.boring@hp.com>
Wed, 17 Jun 2015 16:15:46 +0000 (09:15 -0700)
commit56544a1665c3d4151c37425d48f3d8bbd4d439d9
tree54ea41d2220edc0a7e875336f49885a48317ee75
parent6feb65dcf4690f236afcf89bfd9509462c55befe
LVM add multiattach flag capability

This patch adds reporting of the multiattach capability
in the lvm driver.   Currently the Cinder scheduler does filtering
on hosts at create time for the --allow-multiattach option being
passed into the create request from the client.   In order for someone
to be able to create an LVM volume that can do multiattach, the LVM
driver needs to report the capability.

This patch's purpose is to allow LVM volumes to be multiattachable
for the folks working on the Nova patches to get Nova to do multiattach.
Without this patch, they can't do end to end testing.

Change-Id: I91942569a12d7c7637c7d9ffb8bbff0daeaf6a97
cinder/volume/drivers/lvm.py