Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Error in Heat Template Composition

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.