Bug 1327914 - Heat configuration points to internal api endpoints, making instances attempting to use heat fail
Summary: Heat configuration points to internal api endpoints, making instances attempt...
Keywords:
Status: CLOSED DUPLICATE of bug 1293700
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Jiri Stransky
QA Contact: Arik Chernetsky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-17 23:57 UTC by Graeme Gillies
Modified: 2017-07-28 18:47 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-28 18:47:10 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Graeme Gillies 2016-04-17 23:57:30 UTC
The following configuration items in heat engine

metadata_server_url
waitcondition_server_url
watch_server_url

Are configured to point to the internal_api network endpoints of heat. However, when instances attempt to use heat, these configuration values are what is passed to instances, and because the instances can't connect to the internal_api network (major security issue), they can't talk to heat. These configuration items should instead be configured to the publicURL endpoints of heat

Comment 2 Steve Baker 2016-04-18 00:05:04 UTC
Just tracking how metadata_server_url ends up with an internal network value, it is set from HeatApiVirtualIPUri which is set from this ServiceNetMap/VipMap lookup:

  HeatApiVirtualIPUri: {get_attr: [VipMap, net_ip_uri_map, {get_param: [ServiceNetMap, HeatApiNetwork]}]}

The default ServiceNetMap has HeatApiNetwork: internal_api

It looks like the solution is either to:
1. fix the ServiceNetMap to have HeatApiNetwork: external_api, or
2. to use something else entirely to build HeatApiVirtualIPUri.

Option 1. looks easiest but may cause other problems and may not actually be the right thing to do.

Setting needinfo on shardy for his opinion

Comment 3 Zane Bitter 2017-07-28 18:47:10 UTC

*** This bug has been marked as a duplicate of bug 1293700 ***


Note You need to log in before you can comment on or make changes to this bug.