Ask Your Question
0

Unknown resource Type : OS::Heat::ResourceGroup

asked 2014-12-10 03:37:49 -0500

Prabu gravatar image

updated 2014-12-10 09:25:01 -0500

We are experiencing the below error when we use "ResourceGroup" elements in our YAML which follows the template version (heat_template_version: 2014-10-16)

ERROR: Unknown resource Type : OS::Heat::ResourceGroup

Please advise. Below is the YAML file content

heat_template_version: 2014-10-16

description: Simple template to deploy a single compute instance

parameters:
  web_servers:
    type: string
    label: web server instance names
    description: List of Apache web server instances(comma separated)

resources:
  compute_instances:
      type: OS::Heat::ResourceGroup
      properties:
       count: 2
       resource_def:
          type: OS::Nova::Server
          properties:
            name: tomcat_%index%
            key_name: prabsoun
            image: e6175caf-1658-4965-9920-9937d6e90c15
            flavor: c33143d9-ce0a-472c-944b-3e39476970d3
            networks:
                - uuid: c4846e29-c68d-41e4-bf7c-b66982f0a91f

Command section

$ heat template-validate -f test.template ERROR: Unknown resource Type : OS::Heat::ResourceGroup $ heat --version 0.2.5

edit retag flag offensive close merge delete

Comments

could you share the YAML file? or at least the section that has the resource group type

bishoy gravatar imagebishoy ( 2014-12-10 08:53:49 -0500 )edit

On my latest devstack setup, your template passes the validation! The OS::Heat::ResourceGroup resource has been available since 2014.1 (Icehouse). Can you confirm what version of heat-engine you have running or how have you installed heat?

unmesh-gurjar gravatar imageunmesh-gurjar ( 2014-12-12 00:27:23 -0500 )edit

Thanks for showing interest to help me! We use heat version " heat --version 0.2.5"

Prabu gravatar imagePrabu ( 2014-12-12 00:53:11 -0500 )edit

That is the heat client version. Please provide the output of 'heat-manage --version' command on your setup.

unmesh-gurjar gravatar imageunmesh-gurjar ( 2014-12-12 03:07:09 -0500 )edit

Please find the heat-manage --version output 2013.2.4

Prabu gravatar imagePrabu ( 2014-12-12 03:31:07 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-11-20 13:06:33 -0500

RuBiCK gravatar image

You have an extra identation below compute_instances to the end

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

1 follower

Stats

Asked: 2014-12-10 03:37:49 -0500

Seen: 1,068 times

Last updated: Dec 10 '14