deployment show input_values always empty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Steven Hardy |
Bug Description
When you create a software deployment resource, the input values aren't visible in the deployment-show API output (you can see them correctly set if you look at the derived config from deployment-list though)
RESP BODY: {"software_
{
"status": "COMPLETE",
"server_id": "dummy2",
"config_id": "8c22bfa7-
"output_values": {
"deploy_
"deploy_
"deploy_
},
"creation_time": "2016-06-
"updated_time": "2016-06-
"input_values": {},
"action": "CREATE",
"status_reason": "Outputs received",
"id": "18f705e4-
}
I used this template:
heat_template_
resources:
config:
type: OS::Heat:
properties:
group: script
deployment:
type: OS::Heat:
properties:
config: {get_resource: config}
input_values:
foo: 456
server: dummy2
Config shows the correct value:
-bash-4.3$ heat deployment-list | grep dummy2
| 18f705e4-
heat config-show 8c22bfa7-
"inputs": [
{
"type": "String",
"name": "foo",
"value": 456
},
...
tags: | added: mitaka-backport-potential |
Hmm - I noticed in the example above I forgot to define the input in the SoftwareConfig resource, but adding it doesn't fix it.
So I guess there's a secondary bug, which is that you can pass inputs to SoftwareConfig resources without defining them, because they're evidently automatically created in the derived config.