Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

enormous error logs lead to insufficient disk space #532

Open
allenhaozi opened this issue Feb 5, 2020 · 0 comments
Open

enormous error logs lead to insufficient disk space #532

allenhaozi opened this issue Feb 5, 2020 · 0 comments
Labels
Type: Bug Something isn't working

Comments

@allenhaozi
Copy link

Output of helm version:
v3.0.3
Output of kubectl version:
v1.17.0
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
minikube version: v1.6.2

Describe the bug
enormous error log and info log when an error occurs

{"log":"2020-02-04 08:58:45 INFO [rudr:src/main.rs:131] Handled event\n","stream":"stderr","time":"2020-02-04T08:58:45.20430056Z"}
{"log":"2020-02-04 08:58:45 ERROR [rudr:src/main.rs:129] Error processing event: ErrorMessage { msg: \"APIError: ApiError { status: \\\"Failure\\\", message: \\\"too old resource version: 2208358 (2524591)\\\", reason: \\\"Expired\\\", code: 410 }\" }\n","stream":"stderr","time":"2020-02-04T08:58:45.205117191Z"}
{"log":"2020-02-04 08:58:45 INFO [rudr:src/main.rs:131] Handled event\n","stream":"stderr","time":"2020-02-04T08:58:45.205129043Z"}
{"log":"2020-02-04 08:58:45 ERROR [rudr:src/main.rs:129] Error processing event: ErrorMessage { msg: \"APIError: ApiError { status: \\\"Failure\\\", message: \\\"too old resource version: 2208358 (2524591)\\\", reason: \\\"Expired\\\", code: 410 }\" }\n","stream":"stderr","time":"2020-02-04T08:58:45.205849776Z"}
{"log":"2020-02-04 08:58:45 INFO [rudr:src/main.rs:131] Handled event\n","stream":"stderr","time":"2020-02-04T08:58:45.205861974Z"}
{"log":"2020-02-04 08:58:45 ERROR [rudr:src/main.rs:129] Error processing event: ErrorMessage { msg: \"APIError: ApiError { status: \\\"Failure\\\", message: \\\"too old resource version: 2208358 (2524591)\\\", reason: \\\"Expired\\\", code: 410 }\" }\n","stream":"stderr","time":"2020-02-04T08:58:45.206539779Z"}
{"log":"2020-02-04 08:58:45 INFO [rudr:src/main.rs:131] Handled event\n","stream":"stderr","time":"2020-02-04T08:58:45.206551824Z"}
{"log":"2020-02-04 08:58:45 ERROR [rudr:src/main.rs:129] Error processing event: ErrorMessage { msg: \"APIError: ApiError { status: \\\"Failure\\\", message: \\\"too old resource version: 2208358 (2524591)\\\", reason: \\\"Expired\\\", code: 410 }\" }\n","stream":"stderr","time":"2020-02-04T08:58:45.207266291Z"}
{"log":"2020-02-04 08:58:45 INFO [rudr:src/main.rs:131] Handled event\n","stream":"stderr","time":"2020-02-04T08:58:45.207279793Z"}
{"log":"2020-02-04 08:58:45 ERROR [rudr:src/main.rs:129] Error processing event: ErrorMessage { msg: \"APIError: ApiError { status: \\\"Failure\\\", message: \\\"too old resource version: 2208358 (2524591)\\\", reason: \\\"Expired\\\", code: 410 }\" }\n","stream":"stderr","time":"2020-02-04T08:58:45.207931701Z"}
{"log":"2020-02-04 08:58:45 INFO [rudr:src/main.rs:131] Handled event\n","stream":"stderr","time":"2020-02-04T08:58:45.207943859Z"}
{"log":"2020-02-04 08:58:45 ERROR [rudr:src/main.rs:129] Error processing event: ErrorMessage { msg: \"APIError: ApiError { status: \\\"Failure\\\", message: \\\"too old resource version: 2208358 (2524591)\\\", reason: \\\"Expired\\\", code: 410 }\" }\n","stream":"stderr","time":"2020-02-04T08:58:45.20863737Z"}

OAM yaml files used
helm install rudr ./charts/rudr --wait
What happened:

What you expected to happen:
Limited log print is OK
Relevant screenshots:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know:

@allenhaozi allenhaozi added the Type: Bug Something isn't working label Feb 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant