Ask Your Question

Heat ERROR: The template section is invalid: vm_name

asked 2016-01-25 10:43:15 -0500

Awais gravatar image

I am trying to create a stack using Heat template by using the following command:

heat stack-create vm --template-file=vm_instances.template --parameters="public_network=<management-network-id/name>;net_name=vm1-net;subnet_name=vm1-net;VM1_name=vre1;VM2_name=vre2;v_port0=<name/netid>;vport1=<name/netid of second interface>;v_port2==<name/net of third interface>"

Any help related to this is appreciated. One more thing if I comment out the section vm_name in the heat template the error repeats itself by going to any other parameter for instance, xyz template section is invalid. similarly commenting out that will lead to another section popping up with the same error.

edit retag flag offensive close merge delete


Could you provide the template and the exact output?

Julen Larrucea gravatar imageJulen Larrucea ( 2016-01-25 17:22:33 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-02-01 10:41:56 -0500

zaneb gravatar image

The problem is in your template, which you haven't provided. The parameters schema is supposed to be within a section called "parameters"; clearly you have them at the top level of your template where the only valid sections are "parameters", "resources", "outputs", &c. The error message means exactly what it says.

edit flag offensive delete link more


Hey @zaneb, You can have a look at this template here, Thanks a lot for your response, if you need anything else do let me know

Awais gravatar imageAwais ( 2016-02-02 08:41:51 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-01-25 10:43:15 -0500

Seen: 2,057 times

Last updated: Feb 01 '16