Bug 1320270

Summary: Environment files don't seem to work with URL's
Product: Red Hat OpenStack Reporter: Eric Rich <erich>
Component: openstack-heatAssignee: Zane Bitter <zbitter>
Status: CLOSED NOTABUG QA Contact: Amit Ugol <augol>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.0 (Kilo)CC: mburns, rhel-osp-director-maint, sbaker, shardy, yeylon
Target Milestone: ---   
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-22 22:10:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Eric Rich 2016-03-22 17:24:07 UTC
Description of problem:

When trying to build a sample stack based on the following: https://gitlab.cee.redhat.com/erich/heat-templates/tree/master I am not able to get deploy the stack with https url's like I am file:// url's 

    # heat stack-create mystack -f heat-templates/samples/stack.yaml -e heat-templates/samples/enviornment_url.yaml 

Fails with: 

ERROR: Error parsing template: mapping values are not allowed in this context
  in "<unicode string>", line 34, column 12

While: 

    # heat stack-create mystack -f heat-templates/samples/stack.yaml -e heat-templates/samples/enviornment_file .yaml

Succeeds.

Comment 3 Steve Baker 2016-03-22 20:52:49 UTC
I agree, the URL needs to be accessible from the client without any authentication

Comment 4 Zane Bitter 2016-03-22 22:10:35 UTC
Actually I believe you can authenticate with HTTP Basic Auth by putting the username and password in the URL. But in general, if the URL is not accessible to heat-engine then it won't work.