]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix HNAS iSCSI 32 targets limitation error
authorErlon R. Cruz <erlon.cruz@fit-tecnologia.org.br>
Tue, 4 Aug 2015 13:18:48 +0000 (10:18 -0300)
committerErlon R. Cruz <erlon.cruz@fit-tecnologia.org.br>
Wed, 12 Aug 2015 13:40:25 +0000 (10:40 -0300)
commit68f752376241e3937d5f726fbfef3e40d8efbf35
tree207a7c777883b52b4048266133cdf16f11f5fa26
parent0da0928d68862664d43601913ccd1178e7a75912
Fix HNAS iSCSI 32 targets limitation error

When attaching more than 32 targets to an HNAS iSCSI backend, the
storage returns an error as there's a limitation on the number of
volumes that can be attached to a target. This patch fixes the
problem and creates new targets as needed.

Closes-Bug: #1479072
Change-Id: Id29259024b003a65cc80dfe63cac1c2d26f36059
cinder/tests/unit/test_hitachi_hnas_backend.py
cinder/tests/unit/test_hitachi_hnas_iscsi.py
cinder/volume/drivers/hitachi/hnas_backend.py
cinder/volume/drivers/hitachi/hnas_iscsi.py