heat configuration for clients endpoint_type is hardcoded to internal in the undercloud

Bug #1674822 reported by James Slagle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Emilien Macchi

Bug Description

The [clients]/endpoint_type configuration for heat.conf is hardcoded to internal in puppet-stack-config.pp for the undercloud. This means it's not possible to configure Heat to use any different endpoints other than the internal ones when talking to other OpenStack services or constructing url's.

The reason this should be configurable is because it could be desirable to reconfigure it to use the public endpoints in the case of using deployed servers where the ctlplane is not routable.

In such a scenario, you would want the deployed servers to poll swift temp url's and signal back to Heat over the public endpoints (via an ssl hostname which is routable) instead of the internal urls on the ctlplane which are not routable.

description: updated
Changed in tripleo:
status: New → In Progress
importance: Undecided → High
assignee: nobody → James Slagle (james-slagle)
milestone: none → pike-1
tags: added: ocata-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to instack-undercloud (master)

Fix proposed to branch: master
Review: https://review.openstack.org/448281

Changed in tripleo:
assignee: James Slagle (james-slagle) → Emilien Macchi (emilienm)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to instack-undercloud (master)

Reviewed: https://review.openstack.org/448281
Committed: https://git.openstack.org/cgit/openstack/instack-undercloud/commit/?id=2f0c6e8e24fa8c0465a6e1b256a0abf3d833efb1
Submitter: Jenkins
Branch: master

commit 2f0c6e8e24fa8c0465a6e1b256a0abf3d833efb1
Author: James Slagle <email address hidden>
Date: Tue Mar 21 17:10:51 2017 -0400

    Configurable [clients]/endpoint_type for heat.conf

    Makes the [clients]/endpoint_type in heat.conf configurable instead of
    hardcoded to internal. The hieradata_override configuration could be
    used to set the hiera value.

    This ought to be configurable in the case where using deployed servers
    and the ctlplane is not routable from the deployed servers network(s).
    In that situation, you would have to use the undercloud's public
    endpoints (with an ssl hostname set via undercloud_public_host) for Heat
    polling and signaling.

    Depends-On: If707c5623c0e34e9219eeafdafaf0ac42daf5c8d
    Closes-Bug: #1674822
    Co-Authorized-By: James Slagle <email address hidden>
    Co-Authorized-By: Emilien Macchi <email address hidden>

    Change-Id: I8102392ddceda0a55be6767cbbda572ac2fda0b9

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to instack-undercloud (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/449940

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to instack-undercloud (stable/ocata)

Reviewed: https://review.openstack.org/449940
Committed: https://git.openstack.org/cgit/openstack/instack-undercloud/commit/?id=d29886e3597bfba5c19d65bbdfbe558ea1b9bf3a
Submitter: Jenkins
Branch: stable/ocata

commit d29886e3597bfba5c19d65bbdfbe558ea1b9bf3a
Author: James Slagle <email address hidden>
Date: Tue Mar 21 17:10:51 2017 -0400

    Configurable [clients]/endpoint_type for heat.conf

    Makes the [clients]/endpoint_type in heat.conf configurable instead of
    hardcoded to internal. The hieradata_override configuration could be
    used to set the hiera value.

    This ought to be configurable in the case where using deployed servers
    and the ctlplane is not routable from the deployed servers network(s).
    In that situation, you would have to use the undercloud's public
    endpoints (with an ssl hostname set via undercloud_public_host) for Heat
    polling and signaling.

    Depends-On: If707c5623c0e34e9219eeafdafaf0ac42daf5c8d
    Closes-Bug: #1674822
    Co-Authorized-By: James Slagle <email address hidden>
    Co-Authorized-By: Emilien Macchi <email address hidden>

    Change-Id: I8102392ddceda0a55be6767cbbda572ac2fda0b9
    (cherry picked from commit 2f0c6e8e24fa8c0465a6e1b256a0abf3d833efb1)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/instack-undercloud 7.0.0.0b1

This issue was fixed in the openstack/instack-undercloud 7.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/instack-undercloud 6.1.0

This issue was fixed in the openstack/instack-undercloud 6.1.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.