debug log misses data

Bug #1700435 reported by Ian Booth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Expired
High
Unassigned

Bug Description

debug log can fail to report all records. But you can ssh into the controller and look at logsink.log or machine-0.log and see the records are there. I haven't found the trigger for this behaviour - it doesn't seem to always occur.

Ian Booth (wallyworld)
description: updated
summary: - debug log misbehaves
+ debug log misses data
Revision history for this message
Tim Penhey (thumper) wrote :

If we can't action it immediately, it shouldn't be critical.

Changed in juju:
importance: Critical → High
tags: added: debug-log intermittent-failure
Changed in juju:
status: Triaged → Incomplete
milestone: 2.2.2 → none
Revision history for this message
Tim Penhey (thumper) wrote :

Logs only make it into debug-log if the agent is connected. Have you confirmed that this isn't the problem?

Revision history for this message
Ian Booth (wallyworld) wrote :

Yes, the log entries make it to logsink.log and machine-0.log on the controller. Just not to debug-log output.

Revision history for this message
Tim Penhey (thumper) wrote :

If you re-run debug-log do you see them then?

Revision history for this message
Ian Booth (wallyworld) wrote :

Not that I recall - pretty sure they are missing

Revision history for this message
Tim Penhey (thumper) wrote :

There are other situations where the log messages don't get from the agents to the API server.

If the agent loses connectivity to the controller it batches up the log messages in memory. If the agent is restarted, or crashes, those logs are not sent to the controller.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for juju because there has been no activity for 60 days.]

Changed in juju:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.