canonical / canonical/cloud-init
[enhancement]: runcmd failure debugging
Open
documentation
enhancement
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 1.1k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 18
Description
# Enhancement
When a runcmd fails, cloud-init provides a warning log:
```
Failed to run module...
```
This leaves the user with an indication that something went wrong, but fails to address the problem that the user now gets to solve "what went wrong and how do I fix it?".
Providing easier introspection would be a huge benefit for this frequently-used module.
Currently stdout/stderr go to `/var/log/cloud-init-output.log`. We should at the very least document this in the module docs.
Contributor guide
Assessment
This issue has not been assessed yet.