wave icon indicating copy to clipboard operation
wave copied to clipboard

Wave 0.3.0 tries to write logs to /tmp

Open voidengineer opened this issue 5 years ago • 3 comments

I recently tried to update to Wave 0.3.0. Since I run all pods with a restricted PodSecurityPolicy with a read-only root filesystem, Wave fails with the message:

cannot create log: open /tmp/wave.wave-1.nobody.log.INFO.*****: read-only file system

With Wave 0.2.0 this did not happen.

voidengineer avatar May 13 '19 13:05 voidengineer

@voidengineer Could you please share your configuration for Wave?

No changes have been made to the logging in Wave between v0.2.0 and v0.3.0 that I'm aware of. The only thing that may have introduced this change is an update to the controller-runtime dependency or changes to the Dockerfile, though I think the latter is less likely

JoelSpeed avatar May 13 '19 14:05 JoelSpeed

This issue has been inactive for 60 days. If the issue is still relevant please comment to re-activate the issue. If no action is taken within 7 days, the issue will be marked closed.

github-actions[bot] avatar Jan 19 '21 01:01 github-actions[bot]

I noticed another problem. With long-running pods, the node filesystem gets full. For instance, a wave pod running for 34 days produced 18 GB of Logs. The amount of logs was because of an issue on our side, but I think it should never log to the container FS.

joschi36 avatar Nov 22 '21 09:11 joschi36

I can actually confirm that this is still the case. It seems to contain redundant logs. I will have a look at the logger setup.

jabdoa2 avatar Apr 27 '24 11:04 jabdoa2