Disabling the result section of an alias still calls chatops.post_result which fails
Open
@Kami is already working on this.
Since Aug 19, 2016.
chatops
enhancement
- Dominant language
- Python
- Stars
- 6.5k
- Forks
- 787
- PR merge metrics
- No merged PRs in 30d
Description
cat alias_ping.yaml
name: "ping"
action_ref: "ec.host_pingable"
description: "Check if machine is pingable"
formats:
- "ping {{server}}"
ack:
enabled: false
result:
enabled: false
Traceback (most recent call last):
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2actions/runners/python_action_wrapper.py", line 179, in <module>
obj.run()
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2actions/runners/python_action_wrapper.py", line 116, in run
output = action.run(**self._parameters)
File "/opt/stackstorm/packs/chatops/actions/format_execution_result.py", line 42, in run
raise Exception("Output of this template is disabled.")
Exception: Output of this template is disabled.
These expected failures make it difficult to monitor for other actual problems that cause failures.
Thanks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.