heat/heat/tests/openstack/cinder
Feilong Wang 77b8395e7d Support handling empty string for volume AZ
When building a complex stack, instance and volume are both
necessary. But the support of AZ in Nova and Cinder are slightly
different which is causing troubles to build the Heat template.
Without setting, the property availability_zone of volume always
got "", an empty string, instead of None. As a result, Cinder will
return 400 BadRequest error. This patch will turn the empty
string into None, to make sure Cinder can correctly handle the
scenario when availability_zone of volume is not set.

Task: 38853
Story: 2007330

Change-Id: Ib5bddf12ca63849a030d1d579d0a2e853e8b848a
(cherry picked from commit 50d72b8c0b)
2020-02-26 14:02:33 +13:00
..
__init__.py Change namespace for Cinder resources and tests 2015-11-20 12:38:08 +08:00
test_qos_specs.py Add resource OS::Cinder::QoSAssociation 2016-09-19 12:30:23 +08:00
test_quota.py Unlimited cinder quotas throws exception 2018-06-14 17:28:10 +00:00
test_volume.py Support handling empty string for volume AZ 2020-02-26 14:02:33 +13:00
test_volume_type.py Avoid to use internal attribute '_info' 2017-01-16 16:40:48 +08:00
test_volume_type_encryption.py EncryptedVolumeType observe reality implement 2016-08-18 18:46:02 +03:00
test_volume_utils.py Check for server in attachements when checking for detach complete 2018-09-24 17:28:52 +05:30