cmr model migration breaks if both models start on the same controller
Bug #2011662 reported by
Ian Booth
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Ian Booth | ||
2.9 |
Fix Released
|
High
|
Unassigned | ||
3.1 |
Fix Released
|
High
|
Unassigned |
Bug Description
Start with a single controller with two models and a cross model relation. Because both models are on the same controller, there is no external controller record in the consumer model database.
If either the consuming or offering model is migrated to a different controller, the consuming model now needs to poll an external controller - the offer now lives on a different controller to the consumer, but in either case (migrate offer model or migrate consuming model) there's no external controller record created and the relation breaks.
Changed in juju: | |
status: | Invalid → Triaged |
milestone: | none → 2.9.43 |
Changed in juju: | |
assignee: | nobody → Ian Booth (wallyworld) |
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.
There should absolutely be an external controller record inserted as part of model migration.
This is independent of any CMR logic.
You can see where we follow redirects when watching remote relations here: /github. com/juju/ juju/blob/ e19bb41a58b5394 562d84732c6af5e 7b21dc1f06/ worker/ remoterelations /remoteapplicat ionworker. go#L159
https:/