]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fixes creating volume issue for multiple management IPs
authorstack <yixuan_z@hotmail.com>
Fri, 4 Mar 2016 09:13:06 +0000 (04:13 -0500)
committerstack <yixuan_z@hotmail.com>
Tue, 8 Mar 2016 08:19:00 +0000 (03:19 -0500)
commitacd274da023179508be12e1a9e43b945a20ddc74
treea5d67f0e9376fceadae772532e2d3f6aad394b3b
parent37aefd6fcbb4674129837d149b15bec6077c7a99
Fixes creating volume issue for multiple management IPs

Currently there is an issue with the multiple management IPs in
Storwize SVC where volume creation would fail when
storwize_san_sencondory_ip switch to san_ip.
This patch adds a condition to check the sshpool.ip, if the
sshpool.ip equals to storwize_san_sencondory_ip, switch it back
to san_ip.

Change-Id: I44f056b59109db24441c62a55f3da35424cade3a
Closes-Bug: 1553045
cinder/tests/unit/test_storwize_svc.py
cinder/volume/drivers/ibm/storwize_svc/storwize_svc_common.py