<tt><font size=2>ZHOU TAO A <tao.a.zhou@alcatel-lucent.com> wrote
on 09/02/2014 10:23:34 PM:<br>
<br>
> I can launch a template from CLI by running 'heat stack-create -f
<br>
> mytemplate.yaml', but I cannot launch it from dashboard because it
get <br>
> the wrong security group.<br>
> <br>
> I have a security group parameter defined like this:<br>
> <br>
> my_security_group:<br>
> type: comma_delimited_list<br>
> label: 'Node ddddd Security Group(s)'<br>
> default:<br>
> - default<br>
> <br>
> Then I used get_param to get this parameter<br>
> security_groups:<br>
> get_param: my_security_group<br>
> <br>
> When launched from dashboard, the value of security_groups becomes
<br>
> '[u'default']', which is suppose to be 'default'.<br>
</font></tt>
<br><tt><font size=2>No, I have not had a problem like this myself.</font></tt>
<br>
<br><tt><font size=2>It looks to me like the dashboard is doing it right.
The template snippet you exhibit sets the default to be a list of
one string (review YAML syntax). Without seeing more details, I can
not say why a correct value for the my_security_group parameter would lead
to a failure. You may have multiple problems mixed together here.</font></tt>
<br>
<br><tt><font size=2>Regards,</font></tt>
<br><tt><font size=2>Mike</font></tt>
<br>
<br>