]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
VMAX Truncate Storage Group Name
authorXing Yang <xing.yang@emc.com>
Fri, 2 Oct 2015 14:17:40 +0000 (10:17 -0400)
committerXing Yang <xing.yang@emc.com>
Fri, 2 Oct 2015 15:07:56 +0000 (11:07 -0400)
commitf22a12e076782d4e14a6cea69487fdd56da62afa
tree94a380c335d3023bd5f32656c58568e3820fe593
parentc7255b6af17dbe516149ede3af8dd415a366dffd
VMAX Truncate Storage Group Name

In the VMAX driver, it generates a storage group name using
the short host name, pool name, etc. However the storage
group name has an upper limit of 64 characters. So it fails
if the length of the name exceeds the limit. This patch
fixes it by truncating the name to fix within the limit.

Change-Id: I18258933591a389691a7b33af2d30a40bb34f09c
Closes-Bug: #1501925
cinder/tests/unit/test_emc_vmax.py
cinder/volume/drivers/emc/emc_vmax_common.py
cinder/volume/drivers/emc/emc_vmax_utils.py