[2.6] controller panics collecting metrics

Bug #1831836 reported by Tim Penhey
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Critical
Tim Penhey

Bug Description

The agent would panic with a traceback like this:

panic: label name "workload_status" missing in label map

goroutine 183 [running]:
github.com/juju/juju/vendor/github.com/prometheus/client_golang/prometheus.(*GaugeVec).With(0xc0001e8808, 0xc0001e5c50, 0xb1fb37, 0xf)
        /home/tim/go/src/github.com/juju/juju/vendor/github.com/prometheus/client_golang/prometheus/gauge.go:228 +0x79
github.com/juju/juju/core/cache.(*Collector).updateModelMetrics(0xc0001f7770, 0xb1c009, 0xa)
        /home/tim/go/src/github.com/juju/juju/core/cache/metrics.go:321 +0x533
github.com/juju/juju/core/cache.(*Collector).updateMetrics(0xc0001f7770)
        /home/tim/go/src/github.com/juju/juju/core/cache/metrics.go:292 +0x10a
github.com/juju/juju/core/cache.(*Collector).Collect(0xc0001f7770, 0xc000275380)
        /home/tim/go/src/github.com/juju/juju/core/cache/metrics.go:276 +0x1e7

Tags: metrics panic
Revision history for this message
Tim Penhey (thumper) wrote :
Tim Penhey (thumper)
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.