[Rdo-list] [heat]error parsing template file

Steven Hardy shardy at redhat.com
Wed May 13 08:06:57 UTC 2015


On Wed, May 13, 2015 at 09:19:56AM +0200, ICHIBA Sara wrote:
>    hello people,
> 
>    I wrote a simpleA  template in order to scale a VM in the basis of cpu
>    utilisation. When I try to execute the heat template. I got this error:
> 
>    Error parsing template file:///root/simple.yaml while parsing a block
>    mapping
>    A  in "<unicode string>", line 38, column 3
>    did not find expected key
>    A  in "<unicode string>", line 117, column 4
>    I checked my template over and over to see if I missed a space somwhere in
>    those two lines. But couldn't see anything. You can find myA  template
>    attached. Can you plz tell me if there's something wrong with it?

I think you need to attach/paste simple.yaml where the error is coming from.

The files you attached appear unrelated (to each other and the error
AFAICT).

You may find it useful pasting your template into one of the online yaml
parsers, sometimes this helps you spot the error in your syntax if the heat
error doesn't make it obvious.

Steve




More information about the dev mailing list