resource group fails validate a template resource type
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Critical
|
Steven Hardy |
Bug Description
ResourceGroup validation fails if the resource_def is a template resource. This can be reproduced by running the following command:
python -m testtools.run heat_integratio
Traceback (most recent call last):
File "heat_integrati
environment=env
File "/opt/stack/
data=kwargs, headers=headers)
File "/opt/stack/
resp = self._http_
File "/opt/stack/
raise exc.from_
HTTPNotFound: ERROR: Not found
The problem is that ResourceGroup cannot perform resource validation properly when given a template as resource type.
Changed in heat: | |
assignee: | nobody → Qiming Teng (tengqim) |
Changed in heat: | |
importance: | Undecided → Critical |
milestone: | none → kilo-1 |
status: | New → Triaged |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | kilo-1 → 2015.1.0 |
Here is how to reproduce this using command line:
env.yaml
resource_registry:
My::RandomString : provider.yaml
provider.yaml
heat_template_ version: 2013-05-23
resources:
random:
type: My::RandomString
resgrp.yaml
heat_template_ version: 2013-05-23 :ResourceGroup
resources:
array:
type: OS::Heat:
properties:
count: 2
resource_def:
type: My::RandomString
command:
heat stack-create -f resgrp.yaml -e env.yaml resgrp