]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Eqlx: Fixes the retries on Network Connection Error
authorrajinir <rajini_ram@dell.com>
Tue, 28 Apr 2015 16:28:51 +0000 (11:28 -0500)
committerrajinir <rajini_ram@dell.com>
Thu, 7 May 2015 19:43:41 +0000 (14:43 -0500)
commit576c368f1c57ad4b9ae51268a48ac53c65e794aa
tree46516691ebc52e564a7ca6321cd3196c7e0250c8
parentc57aef777ce70a51b4c46ac4c9de4cc3eb854ec5
Eqlx: Fixes the retries on Network Connection Error

Volume creations were failing due to ssh connection
errors throwing ProcessExecutionError
and retries were not happening. Made a fix
to retry commands on both network errors and
backend api exceptions.
The parameter eqlx_cli_max_retries determines
the number of retry attempts made.

Closes Bug: #1441719
Change-Id: I54b76afc6c9c5d51dd9c38831ee0a1c731c7b161
cinder/tests/unit/test_eqlx.py
cinder/volume/drivers/eqlx.py