I wanted to use { get_attr: [ name, first_address ] } to retrieve ip addresses of all instances, but I get the following error. Which makes sense.
"ERROR: Remote error: CircularDependencyException Circular Dependency Found"
So my question is, is there some way to list all instances on /etc/hosts of all instances? It would be great if Heat can/(will be able to) do it with a few lines in the template.
I've spent a couple of days to learn HOT syntax by writing a Hadoop template. Here's the link of what I got.
https://github.com/kjtanaka/heat_templates/tree/master/hadoop
Over all in my investigation, Heat did great for simplifying the initial process. I'd like to thank the developers.
Thanks and best regards, Koji