]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix check_for_setup_error for sheepdog driver
authorKai Zhang <kyle@zelin.io>
Thu, 27 Jun 2013 07:31:36 +0000 (00:31 -0700)
committerKai Zhang <kyle@zelin.io>
Thu, 27 Jun 2013 07:43:13 +0000 (00:43 -0700)
commit039dce71d43bd69181b2502cda17f941c95f9497
tree103eacdc82741fbc3cb353af13c210b4818284fb
parent5b7ff48903058028d4c0b65d463c3283ac3fcfe3
Fix check_for_setup_error for sheepdog driver

Current implementation of check_for_setup_error() of sheepdog driver
cannot work correctly with the latest version of sheepdog cluster.
This patch fixes it and adds tests for both old and new version.

Fixes: bug #1195098
Change-Id: Ia710789e4bedd7c83cd47eff6b2fc532af39d94a
cinder/tests/test_sheepdog.py
cinder/volume/drivers/sheepdog.py