[Openstack] HEAT

Steven Hardy shardy at redhat.com
Mon Jan 19 09:40:59 UTC 2015


On Sun, Jan 18, 2015 at 03:11:04PM +0000, Jesus arteche wrote:
>    0.2.10

This is the version of python-heatclient, you need to check the version of
the heat service, which will be e.g Icehouse (2014.1) or Juno (2014.2).

The OS::Heat::WaitCondition resource you're trying to use was only added in
Juno, as documented here:

http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Heat::WaitCondition

"Available since 2014.2 (Juno)."

This means it's likely you're using some older version of the heat service
which doesn't contain the resource implementation.

You can check with "heat resource-type-list | grep Wait" - if you don't see
OS::Heat::WaitCondition there, your stack create will fail with an error
such as you are seeing.

Steve

>    On Sun, Jan 18, 2015 at 3:37 AM, Qiming Teng <tengqim at linux.vnet.ibm.com>
>    wrote:
> 
>      On Fri, Jan 16, 2015 at 11:53:02AM +0000, Jesus arteche wrote:
>      > hey guys,
>      >
>      > I'm new with heat...I managed to do a deployment from a simple
>      template...
>      > now I'm trying this example :
>      >
>      http://git.openstack.org/cgit/openstack/heat-templates/plain/hot/Windows/IIS_Drupal/IIS_Drupal.yaml
>      >
>      >
>      > But I'm getting this error:
>      >
>      > HTTP/1.1 400 Bad Request
>      > date: Fri, 16 Jan 2015 11:47:54 GMT
>      > content-length: 300
>      > content-type: application/json; charset=UTF-8
>      >
>      > {"explanation": "The server could not comply with the request since it
>      is
>      > either malformed or otherwise incorrect.", "code": 400, "error":
>      > {"message": "HT-EA96E26 HT-5E6421D Unknown resource Type :
>      > OS::Heat::WaitCondition", "traceback": null, "type":
>      > "StackValidationFailed"}, "title": "Bad Request"}
> 
>      400 looks like a client side error, not a bug from server side.
>      The message says that resource type OS::Heat::WaitCondition is not
>      recognized and the template validation failed.A  So what is your Heat
>      deployment version?
>      > DEBUG (http:121)
>      > HTTP/1.1 400 Bad Request
>      > date: Fri, 16 Jan 2015 11:47:54 GMT
>      > content-length: 300
>      > content-type: application/json; charset=UTF-8
>      >
>      > {"explanation": "The server could not comply with the request since it
>      is
>      > either malformed or otherwise incorrect.", "code": 400, "error":
>      > {"message": "HT-EA96E26 HT-5E6421D Unknown resource Type :
>      > OS::Heat::WaitCondition", "traceback": null, "type":
>      > "StackValidationFailed"}, "title": "Bad Request"}
>      >
>      >
>      > Any idea?
> 
>      > _______________________________________________
>      > Mailing list:
>      http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>      > Post toA  A  A : openstack at lists.openstack.org
>      > Unsubscribe :
>      http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 
>      _______________________________________________
>      Mailing list:
>      http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>      Post toA  A  A : openstack at lists.openstack.org
>      Unsubscribe :
>      http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


-- 
Steve Hardy
Red Hat Engineering, Cloud




More information about the Openstack mailing list