[Openstack] Heat template works in command line but fails at dashboard
Mike Spreitzer
mspreitz at us.ibm.com
Wed Sep 3 02:46:27 UTC 2014
ZHOU TAO A <tao.a.zhou at alcatel-lucent.com> wrote on 09/02/2014 10:23:34
PM:
> I can launch a template from CLI by running 'heat stack-create -f
> mytemplate.yaml', but I cannot launch it from dashboard because it get
> the wrong security group.
>
> I have a security group parameter defined like this:
>
> my_security_group:
> type: comma_delimited_list
> label: 'Node ddddd Security Group(s)'
> default:
> - default
>
> Then I used get_param to get this parameter
> security_groups:
> get_param: my_security_group
>
> When launched from dashboard, the value of security_groups becomes
> '[u'default']', which is suppose to be 'default'.
No, I have not had a problem like this myself.
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.
Regards,
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140902/31f2ffe9/attachment.html>
More information about the Openstack
mailing list