Ask Your Question
0

Error in Heat Template Composition

asked 2015-04-24 10:42:33 -0500

herrsergio gravatar image

Hi, I want to use a Heat template that uses composition. All the files are in the same directory. When I try to create in command line, I get the following error:

# heat  stack-create ADDC_stack -f heat_addc.yaml 
ERROR: Could not fetch remote template 'network_addc.yaml': Invalid URL scheme

Here is a snippet from the file heat_addc.yaml that calls network_addc.yaml:

resources:

  network:
    type: network_addc.yaml
    properties:
      public_network: { get_param: public_network }

I have tried to specify the type as:

type: file:///tmp/ADDC/network_addc.yaml

But I get the same error:

ERROR: Could not fetch remote template 'file:///tmp/ADDC/network_addc.yaml': Invalid URL scheme file

The version of Heat is 0.2.8

Thanks.

edit retag flag offensive close merge delete

Comments

I uploaded the yaml files to a webserver, and in type I used http://server/network_addc.yaml and the error dissappeared. For some reason the local file is not working.

herrsergio gravatar imageherrsergio ( 2015-04-24 12:45:04 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2015-08-05 19:41:12 -0500

asalkeld gravatar image

This is more to do with your python-heatclient version, I'd try making sure that is uptodate. (mine is 0.6.0)

edit flag offensive delete link more

Comments

I'm using python-heatclient version 0.8.0 and this is not working.

ejemba gravatar imageejemba ( 2015-11-26 10:21:47 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-04-24 10:39:19 -0500

Seen: 1,392 times

Last updated: Aug 05 '15