Parameterized TOSCA template doesn't work

Bug #1587044 reported by Ladislav Smola
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
tacker
In Progress
Medium
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:
https://gist.github.com/Ladas/b1c186b9bbefe0122604ee27fcfb62cb

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tacker (master)

Fix proposed to branch: master
Review: https://review.openstack.org/322805

Changed in tacker:
assignee: nobody → Ladislav Smola (lsmola)
status: New → In Progress
Changed in tacker:
importance: Undecided → Medium
Revision history for this message
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  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.