For resource 'Instance', Fn::GetAtt instance "PrivateDnsName" returns IP address
Bug #1245545 reported by
Tihomir Trifonov
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
in resources/
if name == 'AvailabilityZone':
res = self.properties
elif name in ['PublicIp', 'PrivateIp', 'PublicDnsName',
res = self._ipaddress()
I think
self.
is much closer to 'PublicDnsName' and 'PrivateDnsName' than self._ipaddress().
Maybe this is left as a ToDo, but anyway self.physical_
Changed in heat: | |
assignee: | nobody → Sergey Slipushenko (sslypushenko) |
Changed in heat: | |
status: | Triaged → In Progress |
Changed in heat: | |
assignee: | Sergey Slipushenko (sslypushenko) → nobody |
status: | In Progress → Confirmed |
Changed in heat: | |
milestone: | none → no-priority-tag-bugs |
To post a comment you must log in.
Hi Tihomir. This is quite deployment specific actually. In some nova configurations the instance name will not at all reflect the actualy reachable hostname of the server. The ip address is far more likely to provide an externally reachable address than physical resource name.
At best, this behavior could be a configuration option for clouds that have a nova configuration that does actually do server name DNS records. But I have yet to see an OpenStack cloud that works this way.