Ask Your Question
1

Heat: The resource type could not be found.

asked 2016-08-25 13:53:43 -0600

Cluster444 gravatar image

updated 2016-09-20 11:59:38 -0600

zaneb gravatar image

I'm just starting to use Heat templates for managing stack deployments. I've managed to create a good starter template that gives me a full network with a single instance that I can shell into. The problem is that I'm now looking to use that template from within other templates that get into more specifics. When I try to include the template it gives me an error that the resource could not be found.

Here is a gist of what I'm working with: https://gist.github.com/Cluster444/aaf2dd6f718dda90f714dacc5892a1ac

The full-network-pivot.yml runs just fine by itself, but when I include it in big-data-stack.yml it doesn't seem to be able to find it. I've tried using relative and absolute paths, as well as getting the raw link from github where it is stored, all give the same error.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2016-08-26 09:06:54 -0600

Would you please rename full-network-pivot.yml to full-network-pivot.yaml and retry?

edit flag offensive delete link more

Comments

That worked for me. I find that very surprising.

Just found it is mentioned here: https://docs.openstack.org/heat/rocky/template_guide/environment.html (https://docs.openstack.org/heat/rocky...)

The template file extension must be .yaml or .template, or it will not be treated as a custom template resource.
dlbewley gravatar imagedlbewley ( 2019-01-08 23:03:10 -0600 )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: 2016-08-25 13:53:43 -0600

Seen: 814 times

Last updated: Sep 20 '16