Ask Your Question

Revision history [back]

heat stack-create - ERROR: The template section is invalid: NetID

While running heat stack-create command I am getting error "The template section is invalid: NetID". Please help.

[root@controller ~]# NET_ID=$(nova net-list | awk '/ demo-net / { print $2 }') [root@controller ~]# heat stack-create -f test-stack.yml \

-P "ImageID=cirros-0.3.3-x86_64;NetID=$NET_ID" testStack ERROR: The template section is invalid: NetID Following is the output of nova net-list:

[root@controller ~]# nova net-list +--------------------------------------+----------+------+ | ID | Label | CIDR | +--------------------------------------+----------+------+ | e3731e81-a9d4-44c8-9536-7f667227715e | demo-net | None | | 12fafe20-cfd3-4a3c-b54d-8992de2acac2 | ext-net | None | +--------------------------------------+----------+------+

heat stack-create - ERROR: The template section is invalid: NetID

While running heat stack-create command I am getting error "The template section is invalid: NetID". Please help.

[root@controller ~]# NET_ID=$(nova net-list | awk '/ demo-net / { print $2 }')
[root@controller ~]# heat stack-create -f test-stack.yml \

\ >

-P "ImageID=cirros-0.3.3-x86_64;NetID=$NET_ID" testStack ERROR: **ERROR: The template section is invalid: NetIDNetID**

Following is the output of nova net-list:

[root@controller ~]# nova net-list
+--------------------------------------+----------+------+
| ID                                   | Label    | CIDR |
+--------------------------------------+----------+------+
| e3731e81-a9d4-44c8-9536-7f667227715e | demo-net | None |
| 12fafe20-cfd3-4a3c-b54d-8992de2acac2 | ext-net  | None |
+--------------------------------------+----------+------+

+--------------------------------------+----------+------+