ZHOU TAO A <[email protected]> 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

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to