]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix use of wrong storage pools for NetApp Drivers
authorGoutham Pacha Ravi <gouthamr@netapp.com>
Fri, 26 Jun 2015 16:32:06 +0000 (12:32 -0400)
committerGoutham Pacha Ravi <gouthamr@netapp.com>
Tue, 22 Sep 2015 13:58:20 +0000 (13:58 +0000)
commit04888d1868f0adaf4ed8e9ce9994e56a1dbee97f
treec7d39b6f3f6b985b82dd4b743756c2a3dddf3c2f
parentde874efd980ab4f4e0c4ca082ce37f8f56dbea40
Fix use of wrong storage pools for NetApp Drivers

When using NetApp drivers, all available flexvols on
a datastore are being reported to the Cinder Scheduler
as available storage pools. This allows Cinder volumes
to be created on flexvols not designated for OpenStack.

This commit fixes the problem by delimiting which pools are
eligible for provisioning via a configuration parameter
'netapp_pool_name_search_pattern'. This allows
the Cinder drivers to operate against a restricted
set of storage containers.

DocImpact
Co-Authored-By: Rushil Chugh <rushil@netapp.com>
Co-Authored-By: Michael Price <michael.price@netapp.com>
Closes-Bug: #1493399
Change-Id: I7b6f2205470ecbbcb165889db19e1168117dd0b2
cinder/tests/unit/test_netapp.py
cinder/tests/unit/volume/drivers/netapp/dataontap/fakes.py
cinder/tests/unit/volume/drivers/netapp/dataontap/test_block_7mode.py
cinder/tests/unit/volume/drivers/netapp/dataontap/test_block_base.py
cinder/tests/unit/volume/drivers/netapp/dataontap/test_block_cmode.py
cinder/tests/unit/volume/drivers/netapp/eseries/test_library.py
cinder/volume/drivers/netapp/dataontap/block_7mode.py
cinder/volume/drivers/netapp/dataontap/block_cmode.py
cinder/volume/drivers/netapp/eseries/library.py
cinder/volume/drivers/netapp/options.py
cinder/volume/drivers/netapp/utils.py