Juju does not surface errors polling CMR offers on other controllers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Ian Booth |
Bug Description
When a Juju model is consuming SAAS offers from a controller, and the latter is unceremoniously nuked and recreated, the controller consuming those offers is (a) inconsolable (and its woe of grief spams the logs like no tomorrow, see [1]) and (2) in utter denial (see Juju status at [2]). Now, I'd expect the SAAS offers to go to status "error" when [1] occurs. Also, I'd expect something more informative than "server misbehaving" in the logs, specifically something to the extent of "this is not the controller we used to talk to, they know nothing of these offers!"
[1]
controller-0: 00:10:20 ERROR juju.worker.
[2]
michele@boombox:~$ juju status
Model Controller Cloud/Region Version SLA Timestamp
borkedornot lxd localhost/localhost 2.9.19 unsupported 11:03:46+01:00
SAAS Status Store URL
cos-grafana active development admin/lma.
cos-prometheus active development admin/lma.
Changed in juju: | |
milestone: | none → 2.9.24 |
status: | New → Triaged |
importance: | Undecided → High |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
milestone: | 2.9.24 → 2.9.25 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
In other words, to repro:
(1) create a LXD controller
(2) create a microk8s controller
(3) deploy something in microk8s that is offered to and consumed by the LXD controller
(4) nuke the microk8s controller and spin up another in its place
(5) see the LXD controller get really, really confused