<div dir="ltr">Hello All,<div>                i am trying to create 3 instances,with cinder volume attached using "OS::Heat::ResourceGroup",but it returns  </div><div><br></div><div>"ERROR: Unknown resource Type : cinderattached.yml". Can any one please help me in this</div><div><br></div><div><div><br></div><div>heat_template_version: 2013-05-23</div><div><br></div><div>resources:</div><div>  rg:</div><div>    type: OS::Heat::ResourceGroup</div><div>    properties:</div><div>      count: 3</div><div>      resource_def: {type: cinderattached.yml}</div></div><div><br></div><div><br></div><div>cinderattached.yml</div><div><br></div><div><div>heat_template_version: 2013-05-23</div><div><br></div><div>parameters:</div><div>  key_name:</div><div>    type: string</div><div>    default: key</div><div>  instance_type:</div><div>    type: string</div><div>    default: m1.small</div><div>  image_id:</div><div>    type: string</div><div>    default: Centos 6.6</div><div>#  pvt_network:</div><div>#    type: string</div><div>#    default: tester</div><div>  availability_zone:</div><div>    type: string</div><div>    default: indexer</div><div>  volume_type:</div><div>    type: string</div><div>    description: ceph or ssd</div><div>    default: ssd</div><div>  volume_size:</div><div>    type: number</div><div>    default: 1</div><div><br></div><div><br></div><div>resources:</div><div>  volume:</div><div>    type: OS::Cinder::Volume</div><div>    properties:</div><div>      size: { get_param: volume_size }</div><div>      description: Volume for stack</div><div>      volume_type: { get_param: volume_type }</div><div><br></div><div>  volume_attachment:</div><div>    type: OS::Cinder::VolumeAttachment</div><div>    properties:</div><div>      volume_id: { get_resource: volume }</div><div>      instance_uuid: { get_resource: instance }</div><div><br></div><div>  instance:</div><div>    type: OS::Nova::Server</div><div>    properties:</div><div>      image: { get_param: image_id }</div><div>      flavor: { get_param: instance_type }</div><div>      key_name: { get_param: key_name }</div></div><div><br></div><div>Debug Log:</div><div><br></div><div><div>DEBUG (session) REQ: curl -i -X POST <a href="http://controller:8004/v1/bef416f4a12841d3a88eb1028a03aec2/stacks">http://controller:8004/v1/bef416f4a12841d3a88eb1028a03aec2/stacks</a> -H "Accept: application/json" -H "X-Auth-Token: MIIMlAYJKoZIhvcNAQcCoIIMhTCCDIECAQExCTAHB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Auth-User: tester" -H "User-Agent: python-heatclient" -H "Content-Type: application/json" -H "X-Auth-Url: <a href="http://10.99.10.124:5000/v2.0">http://10.99.10.124:5000/v2.0</a>" -d '{"files": {}, "disable_rollback": true, "parameters": {}, "stack_name": "multins", "environment": {}, "template": {"heat_template_version": "2013-05-23", "resources": {"rg": {"type": "OS::Heat::ResourceGroup", "properties": {"count": 3, "resource_def": {"type": "cinder-attached.yml"}}}}}}'</div><div>DEBUG (session) RESP: [400] {'date': 'Sat, 19 Sep 2015 15:24:32 GMT', 'content-length': '274', 'content-type': 'application/json; charset=UTF-8'}</div><div>RESP BODY: {"explanation": "The server could not comply with the request since it is either malformed or otherwise incorrect.", "code": 400, "error": {"message": "Unknown resource Type : cinder-attached.yml", "traceback": null, "type": "StackValidationFailed"}, "title": "Bad Request"}</div></div></div>