]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Use - instead of . for physical_resource_name delim.
authorSteve Baker <sbaker@redhat.com>
Wed, 5 Jun 2013 21:41:44 +0000 (09:41 +1200)
committerSteve Baker <sbaker@redhat.com>
Wed, 5 Jun 2013 22:05:22 +0000 (10:05 +1200)
commitbc6915260e50dab4e879d953c1ef5c38a2d95e54
tree027d1aa8547982f9ab82e14f33f5cca8c000aa97
parent1c29e67c299b3e53d339b2d2426007847917579a
Use - instead of . for physical_resource_name delim.

Avoiding using . means that instance hostnames are unique within the stack
(and within the tenant).

This solves 2 real-world use cases:
- tripleo issue, as described in bug: #1184713
- OpenShift template resorts to setting the hostname to ec2_instance_id

This may have an impact on users who are scripting to assume . delimiting,
however this will only affect newly created stacks after this change is
deployed.

Fixes bug: #1184713

Change-Id: I5a8eb358ea9c52162eb9263b9f9e6dcf750d787b
heat/engine/resource.py
heat/tests/utils.py