heat stack-update failure - ValueError: Incorrect arguments to "list_join" should be: "list_join" : [ " ", [ "str1", "str2"] ...]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
High
|
huangtianhua | ||
Liberty |
Fix Released
|
High
|
huangtianhua |
Bug Description
The heat version is Liberty.
I tried to create a Mistral workflow resource via heat in a nested stack:
APPP_SCALE_OUT:
type: OS::Mistral:
properties:
name: { "list_join": ["_", [ "scale_
type: direct
input:
stack_id: { get_param: "OS::stack_id" }
stack_name: { get_param: "OS::stack_name" }
tenant_id: { get_param: "OS::project_id" }
output:
result: <% $.scale_out_result %>
tasks:
...
The stack was created successfully, but when I updated the stack, this nested stack was failed to update:
2015-11-04 05:21:34.278 144 INFO heat.engine.stack [-] Stack UPDATE IN_PROGRESS (vapp2-
Traceback (most recent call last):
File "/usr/lib/
timer()
File "/usr/lib/
cb(*args, **kw)
File "/usr/lib/
result = function(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return f(*args, **kwargs)
File "/usr/lib/
updater()
File "/usr/lib/
self.
File "/usr/lib/
while not self.step():
File "/usr/lib/
next(
File "/usr/lib/
subtask = next(parent)
File "/usr/lib/
while not updater.step():
File "/usr/lib/
next(
File "/usr/lib/
subtask = parent.
File "/usr/lib/
yield self.updater()
File "/usr/lib/
step = next(subtask)
File "/usr/lib/
raise_
File "/usr/lib/
r.start()
File "/usr/lib/
self.step()
File "/usr/lib/
next(
File "/usr/lib/
subtask = next(parent)
File "/usr/lib/
new_res)
File "/usr/lib/
self.
File "/usr/lib/
properties=
File "/usr/lib/
return template.
File "/usr/lib/
return parse(self.
File "/usr/lib/
return dict((k, recurse(v)) for k, v in six.iteritems(
File "/usr/lib/
return dict((k, recurse(v)) for k, v in six.iteritems(
File "/usr/lib/
return Func(stack, fn_name, recurse(args))
File "/usr/lib/
'should be: %(example)s') % fmt_data)
ValueError: Incorrect arguments to "list_join" should be: "list_join" : [ " ", [ "str1", "str2"] ...]
This should be a common issue for heat.
Changed in heat: | |
assignee: | nobody → huangtianhua (huangtianhua) |
Changed in heat: | |
milestone: | none → mitaka-1 |
Changed in heat: | |
status: | Fix Committed → Fix Released |
I also met the problem, will look into this.