lack of model context in cleanup errors makes diagnosis difficult
Bug #1733791 reported by
Andrew Wilkins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Joseph Phillips |
Bug Description
Example cleanup error:
2017-11-22 07:29:08 ERROR juju.state cleanup.go:126 cleanup failed for machine("0"): machine 0 has attachments [volume-0]
It's impossible to tell from this which model is affected.
Changed in juju: | |
milestone: | 2.3.1 → none |
Changed in juju: | |
milestone: | none → 2.3.2 |
Changed in juju: | |
assignee: | nobody → Joseph Phillips (manadart) |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
fwiw, both PingBatcher and at least one other place in the code has started docId[: 6])
including I think 6 hex digits of the model-uuid to give context.
uuids.Add(
That often is enough to guarantee uniqueness, and not so much as to
completely destroy the log line.
On Wed, Nov 22, 2017 at 11:33 AM, Andrew Wilkins <
<email address hidden>> wrote:
> Public bug reported: /bugs.launchpad .net/bugs/ 1733791 /bugs.launchpad .net/juju/ +bug/1733791/ +subscriptions
>
> Example cleanup error:
> 2017-11-22 07:29:08 ERROR juju.state cleanup.go:126 cleanup failed for
> machine("0"): machine 0 has attachments [volume-0]
>
> It's impossible to tell from this which model is affected.
>
> ** Affects: juju
> Importance: High
> Status: Triaged
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https:/
>
> Title:
> lack of model context in cleanup errors makes diagnosis difficult
>
> To manage notifications about this bug go to:
> https:/
>