model cache watcher errors when dying

Bug #1830161 reported by Ian Booth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Anastasia

Bug Description

Some IRC chatter highlighted an issue where the logs of a dying controller - and I suspect a dying model as well, being the root cause - are spammed with:

2019-05-22 21:35:19 ERROR juju.worker.modelcache worker.go:171 watcher error, shared state watcher was stopped, getting new watcher
2019-05-22 21:35:19 ERROR juju.worker.modelcache worker.go:171 watcher error, shared state watcher was stopped, getting new watcher
2019-05-22 21:35:19 ERROR juju.worker.modelcache worker.go:171 watcher error, shared state watcher was stopped, getting new watcher
2019-05-22 21:35:19 ERROR juju.worker.modelcache worker.go:171 watcher error, shared state watcher was stopped, getting new watcher

It seem the model cache worker is not respecting the dying state and attempts to continually, and fruitlessly - restart the watcher. It also seems to result in a stuck dying operation, but not 100% sure it does cause that.

Ian Booth (wallyworld)
Changed in juju:
assignee: nobody → Joseph Phillips (manadart)
Revision history for this message
Anastasia (anastasia-macmood) wrote :

I have addressed this on 2.6 (https://github.com/juju/juju/pull/10167)

What version of Juju did you see this on?

Changed in juju:
assignee: Joseph Phillips (manadart) → Anastasia (anastasia-macmood)
Revision history for this message
Anastasia (anastasia-macmood) wrote :
Changed in juju:
status: Triaged → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
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.