Modelcache Worker Needs Allwatcher Restart Backoff

Bug #1847030 reported by Joseph Phillips
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Joseph Phillips

Bug Description

When developing and testing upgrade steps for address space IDs, I achieved an error state during model-cache worker start-up. This is seen many times per second:

2019-10-04 14:07:58 INFO juju.state multiwatcher.go:242 store manager loop failed: error loading entities for model 0d1ea901-aad1-4258-88ea-71269febfe4d: failed to initialise backing for machines:0d1ea901-aad1-4258-88ea-71269febfe4d:0: retrieving space for ID "1": space id "1" not found
2019-10-04 14:07:59 ERROR juju.worker.modelcache worker.go:195 watcher error: space id "1" not found, getting new watcher

In fact it happens in such a torrent, that it rolls logs before the error preamble can be observed.

We should have a back-off in the model-cache for getting a new all-watcher, so that we avoid the log spamming.

Changed in juju:
status: New → Triaged
importance: Undecided → Medium
Changed in juju:
milestone: none → 2.7-beta1
importance: Medium → High
Changed in juju:
assignee: nobody → Joseph Phillips (manadart)
status: Triaged → In Progress
Revision history for this message
Joseph Phillips (manadart) wrote :
Changed in juju:
status: In Progress → 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.