]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add error logs for Huawei driver
authorzhangchao010 <zhangchao010@huawei.com>
Tue, 24 Sep 2013 18:07:05 +0000 (02:07 +0800)
committerzhangchao010 <zhangchao010@huawei.com>
Thu, 26 Sep 2013 13:26:12 +0000 (21:26 +0800)
commit59cb2be6135096487f975924b93b6b8e8adc0dd0
tree9019c107485fdaeb4313d62a2292a3d9c1e09db6
parent180513d5e4ed14e5f14fb8c800a17aa9f1594fb9
Add error logs for Huawei driver

Log some errors to avoid losing the exception messages.
HVS driver do repeated judgements for JSON results, here add error
logs and replace these judgement codes with a assertion function.

fixes bug 1229877
Change-Id: Icd1e859566e07c0f02aa0b2d5c136a2048524527
cinder/tests/test_huawei_t_dorado.py
cinder/volume/drivers/huawei/__init__.py
cinder/volume/drivers/huawei/rest_common.py
cinder/volume/drivers/huawei/ssh_common.py