Skip to content

Unhelpful error message when Jinja key doesn't exist #3329

@Mierdin

Description

@Mierdin

I came across this error when running some release workflows. The cause of this was that our build infrastructure is currently running an older version of StackStorm (which will very soon be remedied via the new ops work), so the st2kv implemented in StackStorm/st2cd#266 was not a thing. However, this error message didn't help me in any way to come to this conclusion - would be nice to see something different here.

oswaltm@st2-build-node-1:~/.ssh$ st2 execution get 58e3245f27263a3ed14c1d20
id: 58e3245f27263a3ed14c1d20
status: failed
parameters:
  distro: UBUNTU16
  hosts: 10.0.3.228
  license_key: dd7b8714ed903cb58754a6860456144638ecc0ad786d6294
  pkg_env: production
  release: stable
  timeout: 120
result:
  error: Dependecy unsatisfied in st2kv
  traceback: "  File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2api/controllers/v1/actionexecutions.py", line 154, in _schedule_execution
    liveaction_db.context)
  File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/util/param.py", line 187, in render_live_params
    _validate(G)
  File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/util/param.py", line 123, in _validate
    raise ParamException(msg)
"

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions