[openstack-dev] [Heat] get_reality implementation: default values, specified in config files

Peter Razumovsky prazumovsky at mirantis.com
Thu Dec 3 12:00:17 UTC 2015


Hello!

During get_reality implementation next problem raised: if I don't specify
optional not update allowed property (like availabiliy_zone in
OS::Cinder::Volume), default value will be set for this property in entity.
This default value defined in configuration of entity's project (i.e. if I
create OS::Cinder::Volume without az, volume will be created with az =
default value, which defined in cinder.conf).

So, if I want to get live state of entity, I get az with value, but in
template no value has been specified for az, and that's mean, stack will be
repalced during update, which is awful (e.g. if we have huge stack with
this problem for each resource, updating will be very slow).

What I can do with such properties with default values, defined in config
options? I don't know any methods to get value from config of other project.

-- 
Best regards,
Peter Razumovsky
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151203/2da59e87/attachment.html>


More information about the OpenStack-dev mailing list