container scoped relations between 2 subordinates broken in 1.20.12
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Menno Finlay-Smits | ||
1.20 |
Fix Released
|
Critical
|
Menno Finlay-Smits | ||
1.21 |
Fix Released
|
Critical
|
Menno Finlay-Smits |
Bug Description
The fix for https:/
The use case is relating 2 subordinates together in scoped relation.
The specific use case we have is a subordinate charm (https:/
We've beeing using this successfully on 1.18 and 1.20 for a while now.
#juju conversation with Kapil:
<bloodearnest> https:/
<mup> Bug #1382751: non subordinate container scoped relations broken <regression> <relations> <subordinate> <juju-core:Fix Committed by menno.smits> <juju-core 1.20:Fix Released by menno.smits> <juju-core 1.21:Fix Released by natefinch> <https:/
<bloodearnest> so, this is a breaking change
<bloodearnest> in a point release
<hazmat> bloodearnest, ugh
<hazmat> that looks like unintended fallout
<bloodearnest> seems so
<bloodearnest> relating 2 subordinates has been supported for ages, I've been using for a good while
<hazmat> bloodearnest, is it a container scoped relation between the two subordinates?
<bloodearnest> hazmat: yes
<bloodearnest> hmm, I guess one side could be non-scoped, since the placement has already been done by the scoped relation
<hazmat> bloodearnest, it looks like this line + if eps[0].Scope == charm.ScopeCont
<hazmat> should be subordinateCount >= 1
<hazmat> bloodearnest, is this with public charms, i think its a worth a bug report
<bloodearnest> hazmat: public charm, but not yet promulgated. It's the charm for the new conn-check utility we announce recently, related to nrpe-external-
<bloodearnest> I will file a report
Kapil suggests this line should be >=1, not != 1:
https:/
Changed in juju-core: | |
importance: | High → Critical |
Changed in juju-core: | |
assignee: | nobody → Menno Smits (menno.smits) |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
importance: | Critical → High |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
also this line https:/ /github. com/juju/ juju/pull/ 1075/files# diff-f6be34387a 141f652301c16cf 7a5e36cR1455