heat/heat/engine/resources/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 Add missing 'of' in order description 2017-09-04 03:47:00 +00:00
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 Designate Zone ID lookup for real 2020-01-24 07:50:37 +00:00
glance Support glance web-download 2019-01-14 15:48:26 +01:00
heat Don't resolve properties for OS::Heat::None resource 2019-07-02 23:39:34 +05:30
keystone Ignore Not Found when deleting Keystone role assignment 2019-05-13 10:18:06 -04:00
magnum Hidden resources in Rocky 2018-07-26 23:29:57 +08:00
manila Define constants for Neutron client resource types 2017-11-06 15:09:52 -05:00
mistral Return execution state_info in ExternalResource 2018-11-21 11:18:15 +01:00
monasca Use correct raw string format 2017-11-16 18:23:58 -05:00
neutron Firewall creation failed due to "INACTIVE" 2019-08-16 06:28:52 +00:00
nova Support Ignition for userdata 2019-10-01 05:51:55 +00:00
octavia Fix the wrong time unit for OS::Octavia::HealthMonitor 2019-12-27 16:02:33 +00:00
sahara Merge "Define constants for Neutron client resource types" 2018-07-24 19:40:14 +00:00
senlin Merge "Fix Senlin policy resource" 2019-09-05 03:33:33 +00:00
swift Remove log translations 2017-03-25 17:11:50 +08:00
trove Merge "Define constants for Neutron client resource types" 2018-07-24 19:40:14 +00:00
zaqar Fix OS::Zaqar::MistralSubscription with mistralclient 3.0 2017-07-17 18:26:26 -04:00
zun Zun: fix an issue on command property 2019-04-18 02:23:22 +00:00
__init__.py Split scaling policy into separate files 2014-08-27 20:27:19 +08:00