bad log message when caas unit shuts down

Bug #1903726 reported by John A Meinel on 2020-11-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju
Medium
John A Meinel
2.8
Medium
John A Meinel

Bug Description

Stub reported this debug log

https://pastebin.canonical.com/p/vBfPSQCpjt/

The specific ugly log line is:
2020-11-10 10:06:36 INFO juju.worker.uniter uniter.go:289 unit "discourse/0" shutting down: %!s(<nil>)

That object is supposed to be an error, but we are setting it to nil for certain types of error, which leaves this ugly message in the log.

https://github.com/juju/juju/pull/12289 is a possible cleanup for the error message.

John A Meinel (jameinel) on 2020-11-11
Changed in juju:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers