]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Check sio_storage_pools in check_for_setup_error
authorXing Yang <xing.yang@emc.com>
Sat, 22 Aug 2015 10:28:32 +0000 (06:28 -0400)
committerXing Yang <xing.yang@emc.com>
Sat, 22 Aug 2015 10:39:45 +0000 (06:39 -0400)
commitce575378da90ee3772438095b81a004ed7553102
tree93d10ec1eb681f157f2c9c863932c0d8206d2159
parentc06b3fb808da7a1b6b3dce5ba613512d00d5268b
Check sio_storage_pools in check_for_setup_error

The ScaleIO driver fails to load if sio_storage_pools is not
specified in cinder.conf. This patch checks it in check_for_setup_error
and also check it in __init__.

Change-Id: I0fed70848ad2ecf3899b07058fabfa68df07edbd
Closes-Bug: #1497413
cinder/tests/unit/volume/drivers/emc/scaleio/test_misc.py
cinder/volume/drivers/emc/scaleio.py