]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
HNAS driver: retry on Connection reset fix
authorAdriano Rosso <adriano.rosso@fit-tecnologia.org.br>
Thu, 4 Feb 2016 16:18:17 +0000 (14:18 -0200)
committerAdriano Rosso <adriano.rosso@fit-tecnologia.org.br>
Thu, 4 Feb 2016 17:54:44 +0000 (15:54 -0200)
commit15a2752d512d7f74b9286e780428b559fe6582dd
treecc466218d4f0de490446efd922a0f762638c7b57
parent4cfed22bf8494fe54df49f6c11a0ee3f94625864
HNAS driver: retry on Connection reset fix

When HNAS driver is not using the SSH option and there are lots of exports in
the backend, a exception of "Connection reset" is eventually raised in the
driver initialization.
This patch makes the HNAS driver retries when this exception is raised.

Change-Id: Ia6306d5d2d24556135505ddc33174f57c86d8555
Closes-Bug: 1541941
cinder/tests/unit/test_hitachi_hnas_backend.py
cinder/volume/drivers/hitachi/hnas_backend.py