Comment 5 for bug 1631426

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (stable/newton)

Reviewed: https://review.openstack.org/385456
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=2ee369f4fb5997bb289e2cfc1c884909578c127b
Submitter: Jenkins
Branch: stable/newton

commit 2ee369f4fb5997bb289e2cfc1c884909578c127b
Author: Jiri Stransky <email address hidden>
Date: Fri Oct 7 18:29:46 2016 +0200

    Fix get_file in out-of-tree templates

    We already have special processing in place for out-of-tree environment
    files and templates, but it didn't handle `get_file` (or `type`)
    links. This commit adds that handling.

    Heatclient automatically uses absolute `file:///` links when processing
    the external environment files and other files referenced from them via
    `get_file` or `type`. Because we upload all our environment files and
    templates to Swift, such links don't work. We need to use relative links
    in `get_file` and `type`.

    Change-Id: I009f75cbc6278a0a2ff75e93e1ed44f2c4893783
    Closes-Bug: #1631426
    (cherry picked from commit 73f30b728656f617db0d8c3f29b0b1bd078b34c9)