OS::stack_id output of nested stack not passed to parent stack correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Tatiana Kholkina |
Bug Description
According to Heat's documentation it should be possible to return a resource ID
as OS::stack_id output from a nested stack, in order to be able use one of the
resources in the nested stack directly from the parent stack:
We tried this and it fails, since we get what looks like some kind of
serialization artifact instead of the desired resource UUID (a neutron Port ID
in this case). A minimum example to provoke this problem is attached. The
problem is caused by the get_resource lookup in test.yaml:40.
Steps to reproduce:
1. tar -C /tmp -xf test_stackid.tar
2. heat stack-create -e /tmp/test_
Stack creation will fail with the following stack_status_
Resource CREATE failed: BadRequest: Port id arn:openstack:
/test_
Changed in heat: | |
assignee: | nobody → Tetiana Lashchova (tlashchova) |
Changed in heat: | |
milestone: | none → kilo-rc1 |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | kilo-rc1 → 2015.1.0 |
On 07/03/15 03:42, Johannes Grassler wrote: docs.openstack. org/developer/ heat/template_ guide/compositi on.html your-template- resource- more-transparen t
> Public bug reported:
>
> According to Heat's documentation it should be possible to return a resource ID
> as OS::stack_id output from a nested stack, in order to be able use one of the
> resources in the nested stack directly from the parent stack:
>
> http://
> #making-
>
This documentation should say that OS::stack_id is available in the
(upcoming) Kilo release of Heat. What version of Openstack is your cloud?