Juju agents spew logs on ENOSPC
Bug #1827664 reported by
Laurent Sesquès
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Critical
|
Tim Penhey | ||
2.5 |
Fix Released
|
Critical
|
Tim Penhey | ||
2.6 |
Fix Released
|
Critical
|
Tim Penhey |
Bug Description
When a unit has run out of space, it will spam its controllers with messages such as:
0db6f159-
Which leads to mongodb using high amounts of disk space, and eventually running out if nothing is done.
I solved such a situation by freeing space on the 2 units which had a / full, but the controllers shouldn't be vulnerable to this.
summary: |
- Controller disk space running out due to units having no space left + Juju agents spew logs on ENOSPC |
Changed in juju: | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Tim Penhey (thumper) |
milestone: | none → 2.6.4 |
milestone: | 2.6.4 → 2.7-beta1 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Controllers do rotate their log files and we prune the log database to keep
it around 4GB in size. It is possible that the rate of messages is higher
than the rate that we prune them, but there is some protection from it. We
also rate limit log messages, though this may not be aggressive enough.
On Fri, May 3, 2019 at 11:50 PM Laurent Sesques <
<email address hidden>> wrote:
> Public bug reported: e42d-4a6e- 8ece-206ecce03f ca: unit-postgresql-0 2019-05-03 dependency engine.go:632 "metric-sender" juju/agents/ unit-postgresql -0/174896867: no space left on device /bugs.launchpad .net/bugs/ 1827664 /bugs.launchpad .net/juju/ +bug/1827664/ +subscriptions
>
> When a unit has run out of space, it will spam its controllers with
> messages such as:
> 0db6f159-
> 13:31:34 ERROR juju.worker.
> manifold worker returned unexpected error: mkdir
> /var/lib/
> Which leads to mongodb using high amounts of disk space, and eventually
> running out if nothing is done.
> I solved such a situation by freeing space on the 2 units which had a /
> full, but the controllers shouldn't be vulnerable to this.
>
> ** Affects: juju
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https:/
>
> Title:
> Controller disk space running out due to units having no space left
>
> To manage notifications about this bug go to:
> https:/
>