Parameterized TOSCA template doesn't work

Bug #1587044 reported by Ladislav Smola on 2016-05-30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ladislav Smola

Bug Description

I am not able to pass:

:attributes => {:param_values => params}})

where params is:
params = JSON.dump({'image_name' => 'cirros', 'flavor_name' => 'm1.small'})

Here is the full example:

So users need to dump the param values into JSON, so it saves to DB without issues and we need to parse it from JSON and encode, so it can be correctly used in Heat template

Fix proposed to branch: master

Changed in tacker:
assignee: nobody → Ladislav Smola (lsmola)
status: New → In Progress
Changed in tacker:
importance: Undecided → Medium
yong sheng gong (gongysh) wrote :

this is duplicate to 1593030, but I think we can split it into param bug and codec bug.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers