heat/heat/engine/resources
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
..
aws Fix coverity check FORWARD_NULL error 2019-08-06 08:53:42 +08:00
openstack Support handling empty string for volume AZ 2020-02-26 14:02:33 +13:00
__init__.py Log missing clients as WARNING instead of ERROR 2016-08-16 16:27:55 -05:00
alarm_base.py Update incorrect timezone description 2017-09-19 13:46:32 +08:00
scheduler_hints.py Fix path_in_stack for scheduler hints 2016-08-05 10:21:10 +00:00
server_base.py Add dedicated auth endpoint config for servers 2019-07-12 13:50:38 +00:00
signal_responder.py Add dedicated auth endpoint config for servers 2019-07-12 13:50:38 +00:00
stack_resource.py Revert "Use OutputDefinition to generate attributes schema" 2018-11-28 12:13:58 -05:00
stack_user.py Remove log translations 2017-03-25 17:11:50 +08:00
template_resource.py Revert "Use OutputDefinition to generate attributes schema" 2018-11-28 12:13:58 -05:00
volume_base.py Check for server in attachements when checking for detach complete 2018-09-24 17:28:52 +05:30
wait_condition.py Always use string ID for WaitConditionHandle signals 2018-02-09 20:20:22 -05:00