]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix volume stats with multiple LeftHand clusters
authorJim Branen <james.branen@hp.com>
Thu, 27 Feb 2014 18:41:34 +0000 (10:41 -0800)
committerJim Branen <james.branen@hp.com>
Thu, 27 Feb 2014 21:30:48 +0000 (13:30 -0800)
commit0c6c57d70826b36db30795fa993cf677a4c2a6e4
tree7039befb73012e0c87ed7f5ee48f2724c91fc19c
parent289aa334b153dbba69730a425b29299203872e8f
Fix volume stats with multiple LeftHand clusters

When more than one cluster exists in a LeftHand management
group, get_volume_stats may return the stats for the wrong
cluster. This patch fixes the problem by listing the cluster
name in the getClusterInfo query.

Change-Id: I2d5a76869c6bb1b3d514f0546ea00998e5ee32fb
Closes-Bug: #1279897
cinder/tests/test_hplefthand.py
cinder/volume/drivers/san/hp/hp_lefthand_cliq_proxy.py