Pass list of numbers to comma_delimited_list breaks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
hongbin |
Bug Description
Here is the step to reproduce:
* The template and environment file:
$ cat test.yaml
heat_template_
parameters:
test:
type: comma_delimited
default: []
resources:
random_group:
type: OS::Heat:
properties:
count: 5
removal_
resource_def:
type: OS::Heat:
$ cat local.yaml
parameters:
test: [0]
* Create a stack succeeded
$ heat stack-create -f test.yaml test
+------
| id | stack_name | stack_status | creation_time |
+------
| 43124748-
+------
$ heat stack-list
+------
| id | stack_name | stack_status | creation_time |
+------
| 43124748-
+------
* Update the stack with list of numbers as parameter accepted, and sub-sequence requests failed.
$ heat stack-update -f test.yaml -e local.yaml test
+------
| id | stack_name | stack_status | creation_time |
+------
| 43124748-
+------
$ heat stack-list
ERROR: The server could not comply with the request since it is either malformed or otherwise incorrect.
* Here is the server trace:
2015-06-20 11:05:47.263 ERROR oslo_messaging.
2015-06-20 11:05:47.263 TRACE oslo_messaging.
2015-06-20 11:05:47.263 TRACE oslo_messaging.
2015-06-20 11:05:47.263 TRACE oslo_messaging.
2015-06-20 11:05:47.263 TRACE oslo_messaging.
2015-06-20 11:05:47.263 TRACE oslo_messaging.
2015-06-20 11:05:47.263 TRACE oslo_messaging.
2015-06-20 11:05:47.263 TRACE oslo_messaging.
2015-06-20 11:05:47.263 TRACE oslo_messaging.
2015-06-20 11:05:47.263 TRACE oslo_messaging.
2015-06-20 11:05:47.263 TRACE oslo_messaging.
2015-06-20 11:05:47.263 TRACE oslo_messaging.
2015-06-20 11:05:47.263 TRACE oslo_messaging.
2015-06-20 11:05:47.263 TRACE oslo_messaging.
2015-06-20 11:05:47.263 TRACE oslo_messaging.
2015-06-20 11:05:47.263 TRACE oslo_messaging.
2015-06-20 11:05:47.263 TRACE oslo_messaging.
2015-06-20 11:05:47.263 TRACE oslo_messaging.
2015-06-20 11:05:47.263 TRACE oslo_messaging.
2015-06-20 11:05:47.263 TRACE oslo_messaging.
2015-06-20 11:05:47.263 TRACE oslo_messaging.
2015-06-20 11:05:47.263 TRACE oslo_messaging.
2015-06-20 11:05:47.263 TRACE oslo_messaging.
Changed in heat: | |
assignee: | nobody → hongbin (hongbin034) |
description: | updated |
Changed in heat: | |
status: | New → In Progress |
Changed in heat: | |
importance: | Undecided → Medium |
Changed in heat: | |
status: | In Progress → Fix Committed |
Changed in heat: | |
milestone: | none → liberty-2 |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | liberty-2 → 5.0.0 |