Nested Provider resources not found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
High
|
Angus Salkeld | ||
Icehouse |
Fix Released
|
High
|
Steve Baker |
Bug Description
When using provider resources/
If I have the following resource_registry in an environment file passed to heat stack-create via -e:
resource_registry:
"My::
"My::Child::Res": "file:/
If in my main template, I have a resource:
resources:
parent:
type: My::Parent::Res
..
And, in My-Parent-
resources:
child:
type: My::Child::Res
This causes a stack validation error upon stack creation. In the heat-engine.log:
StackValidation
Yet, if I move the resource_registry to the global environment, e.g., /etc/heat/
Then it works.
I would assume a resource_registry defined in a passed environment file should behave the same as one defined in the environment.d. Or at least as far as nesting would be concerned...
Changed in heat: | |
assignee: | nobody → Angus Salkeld (asalkeld) |
Changed in heat: | |
milestone: | icehouse-rc2 → juno-1 |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | juno-1 → 2014.2 |
It seems that the path lack one '/', it should be "file:/ //root/ My-Parent- Res.hot. yaml"