[openstack-dev] [Sahara] [Heat] validating properties of Sahara resources in Heat
pshchelokovskyy at mirantis.com
Mon Jan 5 13:17:45 UTC 2015
I would like to ask Sahara developers' opinion on two bugs raised against
Heat's resources -  and .
Below I am going to repeat some of my comments from those bugs and
associated Gerrit reviews  to have the conversation condensed here in ML.
In Heat's Sahara-specific resources we have such properties as
floating_ip_pool for OS::Sahara::NodeGroupTemplate 
and neutron_management_network for both OS::Sahara::ClusterTemplate  and
My questions are about when and under which conditions those properties are
required to successfully start a Sahara Cluster.
I was pointed that Sahara could be configured to use netns/proxy to access
the cluster VMs instead of floating IPs.
My questions are:
- Can that particular configuration setting (netns/proxy) be assessed via
- What would be the result of providing floating_ip_pool when Sahara is
indeed configured with netns/proxy?
Is it going to function normally, having just wasted several floating IPs
- And more crucial, what would happen if Sahara is _not_ configured to use
netns/proxy and not provided with floating_ip_pool?
Can that lead to cluster being created (at least VMs for it spawned) but
Sahara would not be able to access them for configuration?
Would Sahara in that case kill the cluster/shutdown VMs or hang in some
cluster failed state?
I understand the point that it is redundant to use it in both resources
(although we are stuck with deprecation period as those are part of Juno
Still, my questions are:
- would this property passed during creation of Cluster override the one
passed during creation of Cluster Template?
- what would happen if I set this property (pass it via saharaclient) when
Nova-network is in use?
- what if I _do not_ pass this property and Neutron has several networks
The reason I'm asking is that in Heat we try to follow "fail-fast"
approach, especially for billable resources,
to avoid situation when a (potentially huge) stack is being created and
breaks on last or second-to-last resource,
leaving user with many resources spawned (even if for a short time if the
stack rollback is enabled)
which might cost a hefty sum of money for nothing. That is why we are
trying to validate the template
as thoroughly as we can before starting to create any actual resources in
Thus I'm interested in finding the best possible (or least-worse)
for validating properties being set for these resources.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev