Description of problem:
Getting an error when referencing external files
Version-Release number of selected component (if applicable):
5.7
How reproducible:
always
Steps to Reproduce:
1. Create an Orchestration template that references external files:
heat_template_version: newton
resources:
a_file:
type: https://pastebin.com/raw/hVbif6z9
# the linked resource references get_file: https://www.google.com/robots.txt
Actual results:
Heat complains about get_file: https://www.google.com/robots.txt not in the files dict
getting the files dict from heat, the file is not there
openstack stack files list mystack
...
NO https://www.google.com/robots.txt around
Expected results:
the stack to be created
Additional info:
https://github.com/ManageIQ/manageiq/issues/15563
Taking a quick look at the related upstream Horizon issue in launchpad - https://bugs.launchpad.net/horizon/+bug/1467781 - the suggested solution there is to call heatclient python functions? I'm not sure we can easily do that, and it seems like the real solution is to have this fixed in heat... ?
Not sure why this is assigned to me, maybe this automatically happened when pblaho left the company. Assigning back to Marek.
Comment 19Alexander Demicev
2018-09-27 09:16:25 UTC
Hi,
I was able to create a stack from CF using this template - https://pastebin.com/tky6xyjE, it's referencing an external file. I think the feature is already in upstream.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2019:0212
Description of problem: Getting an error when referencing external files Version-Release number of selected component (if applicable): 5.7 How reproducible: always Steps to Reproduce: 1. Create an Orchestration template that references external files: heat_template_version: newton resources: a_file: type: https://pastebin.com/raw/hVbif6z9 # the linked resource references get_file: https://www.google.com/robots.txt Actual results: Heat complains about get_file: https://www.google.com/robots.txt not in the files dict getting the files dict from heat, the file is not there openstack stack files list mystack ... NO https://www.google.com/robots.txt around Expected results: the stack to be created Additional info: https://github.com/ManageIQ/manageiq/issues/15563