heat/heat/tests/openstack
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
..
aodh Add heat resource for creating Aodh loadbalancer_member_health alarm type[1] 2019-08-02 12:19:42 +12:00
barbican Replace assertRaisesRegexp with assertRaisesRegex 2017-05-19 18:13:59 +05:30
blazar Add a Blazar Host resource 2019-02-18 06:41:23 +00:00
cinder Support handling empty string for volume AZ 2020-02-26 14:02:33 +13:00
designate Fix multiple gate issues 2019-09-18 18:23:50 +05:30
glance Handle unicode in constraints 2019-01-29 19:21:28 +13:00
heat Return None for attributes of sd with no actions 2019-05-29 22:24:54 +05:30
keystone Add project tags to heat orchestration 2018-01-09 16:33:13 +00:00
magnum Translate networks and subnet in cluster template 2017-12-01 12:27:13 +08:00
manila Handle unicode in constraints 2019-01-29 19:21:28 +13:00
mistral Merge "Handle resource plugins without default_client_name" 2018-07-05 18:13:59 +00:00
monasca Revert "Remove unittests monasca until story/2002978 is released" 2018-07-18 02:27:21 +00:00
neutron Never pass 'value_specs' to Neutron 2019-07-26 10:43:31 -04:00
nova Don't use 'assert' keyword in unit tests 2019-06-12 13:06:38 -04:00
octavia Support tags for Octavia pool member 2019-03-21 20:11:48 +00:00
sahara Merge "Fix sahara job type validation issue" 2018-03-06 06:29:46 +00:00
senlin Merge "Fix Senlin policy resource" 2019-09-05 03:33:33 +00:00
swift Use StackDefinition in intrinsic functions for resolving data 2017-07-21 10:30:34 -04:00
trove Enable to specify network for Trove Cluster 2017-12-15 11:52:49 +00:00
zaqar remove mox usage from test_subscription 2018-04-01 23:40:25 +08:00
zun Zun: fix an issue on command property 2019-04-18 02:23:22 +00:00
__init__.py Enable some unit tests back 2015-02-03 10:20:16 +08:00