Juju's mongodb does not need to log every command in syslog
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Unassigned | ||
juju-core |
Won't Fix
|
High
|
Unassigned | ||
1.25 |
Won't Fix
|
High
|
Unassigned | ||
mongodb (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Watching cloud installs I've noticed that 95% of my syslog becomes mongo db debugging output. It seems unnecessary to have that be the default behaviour. If it's something Landscape asked for, let's move the bug there and fix it, if it's something Juju is doing by default can we drop the logging level to a more reasonable notch? Errors would be useful, but millions of lines like:
Jul 29 16:31:51 maas-1-04 mongod.37017[360]: Tue Jul 29 16:31:51.525 [initandlisten] connection accepted from 127.0.0.1:53049 #24 (18 connections now open)
Jul 29 16:31:51 maas-1-04 mongod.37017[360]: Tue Jul 29 16:31:51.527 [conn13] authenticate db: juju { authenticate: 1, nonce: "74375d847596cd1c", user: "machine-0", key: "e9f35c473f3b73
Jul 29 16:31:51 maas-1-04 mongod.37017[360]: Tue Jul 29 16:31:51.527 [conn14] authenticate db: juju { authenticate: 1, nonce: "8c236ac4aeb30e01", user: "machine-0", key: "87822d1b996c6d
Jul 29 16:31:51 maas-1-04 mongod.37017[360]: Tue Jul 29 16:31:51.527 [conn12] authenticate db: juju { authenticate: 1, nonce: "c193443e9216a8f", user: "machine-0", key: "028540c4cb9b0b
Jul 29 16:31:51 maas-1-04 mongod.37017[360]: Tue Jul 29 16:31:51.527 [conn13] warning: No such role, "readWriteAnyDa
Jul 29 16:31:51 maas-1-04 mongod.37017[360]: Tue Jul 29 16:31:51.527 [conn12] warning: No such role, "readWriteAnyDa
... are not:)
tags: | added: logging mongodb |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 1.21-alpha1 |
tags: | added: cloud-installer landscape |
Changed in juju-core: | |
milestone: | 1.21-alpha1 → 1.21-alpha2 |
Changed in juju-core: | |
milestone: | 1.21-alpha2 → 1.21-alpha3 |
Changed in juju-core: | |
milestone: | 1.21-alpha3 → 1.21-beta1 |
Changed in juju-core: | |
milestone: | 1.21-beta1 → 1.22 |
Changed in juju-core: | |
milestone: | 1.22-alpha1 → 1.23 |
Changed in juju-core: | |
assignee: | nobody → Casey Marshall (cmars) |
status: | Triaged → In Progress |
Changed in juju-core: | |
milestone: | 1.23 → 1.24-alpha1 |
Changed in juju-core: | |
milestone: | 1.24-alpha1 → 1.25.0 |
milestone: | 1.25.0 → none |
Changed in juju-core: | |
status: | In Progress → Confirmed |
assignee: | Casey Marshall (cmars) → nobody |
Changed in juju-core: | |
status: | Confirmed → Triaged |
Changed in juju-core: | |
milestone: | none → 1.25.0 |
tags: | added: canonical-bootstack |
Changed in juju-core: | |
milestone: | 1.25-alpha1 → 1.25-beta1 |
Changed in juju-core: | |
milestone: | 1.25-beta1 → 1.26-alpha1 |
Changed in juju-core: | |
milestone: | 1.26-alpha1 → 1.26-alpha2 |
Changed in juju-core: | |
milestone: | 1.26-alpha2 → 1.26-beta1 |
Changed in juju-core: | |
milestone: | 1.26-beta1 → 2.0-alpha2 |
Changed in juju-core: | |
milestone: | 2.0-alpha2 → 2.0-alpha3 |
tags: | added: sts-needs-review |
Changed in juju-core: | |
milestone: | 2.0-alpha3 → 2.0-beta4 |
Changed in juju-core: | |
milestone: | 2.0-beta4 → 2.0-rc1 |
Changed in juju-core: | |
milestone: | 2.0-beta5 → 2.0-rc1 |
Changed in juju-core: | |
milestone: | 2.0-beta6 → 2.0-beta7 |
Changed in juju-core: | |
milestone: | 2.0-beta7 → 2.0-beta8 |
Changed in juju-core: | |
milestone: | 2.0-beta8 → 2.0-beta9 |
Changed in juju-core: | |
milestone: | 2.0-beta9 → 2.0-beta10 |
Changed in juju-core: | |
milestone: | 2.0-beta10 → 2.0-beta11 |
Changed in juju-core: | |
milestone: | 2.0-beta11 → 2.0-beta12 |
Changed in juju-core: | |
milestone: | 2.0-beta12 → 2.0-beta13 |
Changed in juju-core: | |
milestone: | 2.0-beta13 → 2.0-beta14 |
tags: | added: canonical-is |
Changed in juju-core: | |
milestone: | 2.0-beta14 → 2.0-beta15 |
Changed in juju-core: | |
milestone: | 2.0-beta15 → 2.0.0 |
tags: | removed: sts sts-needs-review |
Changed in juju-core: | |
milestone: | 2.0.0 → 2.0-beta16 |
Changed in juju-core: | |
milestone: | 2.0-beta16 → 2.0-beta17 |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.0-beta17 → none |
milestone: | none → 2.0-beta17 |
Changed in juju-core: | |
importance: | Undecided → High |
status: | New → Won't Fix |
Changed in juju: | |
status: | Fix Committed → Fix Released |
Amongst other things, every log entry is a potential hit to the disk we don't need.