Ask Your Question
0

Error in using "get_file" intrinsic function

asked 2015-01-20 07:10:53 -0500

Prabu gravatar image

We are experiencing the below issue in using get_file function in heat template. Am i missing anything obvious?

heat stack-create -f my-stack.template my-stack

ERROR: Property error : my_instance: user_data Value must be a string

heat --version 0.2.5

Heat template file:

heat_template_version: 2014-10-16
description: Simple template to deploy a single compute instance
resources:   my_instance:
    type: OS::Nova::Server
    properties:
      key_name: mainkey
      image: e6175caf-1658-4965-9920-9937d6e90c15
      flavor: c33143d9-ce0a-472c-944b-3e39476970d3
      networks:
          - uuid: c4846e29-c68d-41e4-bf7c-b66982f0a91f
      user_data:
          get_file: my_instance_user_data.sh
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-02-01 00:07:46 -0500

Qiming gravatar image

I have tried your template in my devstack environment, there is no error message.

BTW, the heat --version command only tells the version of heatclient you are using, not so helpful

edit flag offensive delete link more

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

2 followers

Stats

Asked: 2015-01-20 07:10:53 -0500

Seen: 629 times

Last updated: Feb 01 '15