swift-proxy charm doesn't work with new style keystone "only set relation data on leader" feature
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Swift Proxy Charm |
Fix Released
|
Critical
|
Alex Kavanagh |
Bug Description
During the 20.08 development cycle keystone gained a 'feature' such that it only sets the relation data for a client connect from the leader. This means that when the client inspects the relation data from 'n' keystone units that it is related to, only the leader will actually have any relation data pertaining to the identity information.
This is good from the perspective of performance (it means that only 1 relation-change has to be processed, rather than 'n' from 'n' keystone units).
Unfortunately, the swift-proxy charm was coded to expect that ALL keystone units would present the same information. Thus, if the last unit in the relation-list is not setting its data, then the swift-proxy charm has 'no' data (because it overwrites the previous units that it looked at) and this breaks the identity information.
Solution: code the charm to merge the data from all relations, which is how the charms.reactive framework deals with this scenario.
Changed in charm-swift-proxy: | |
assignee: | nobody → Alex Kavanagh (ajkavanagh) |
status: | New → In Progress |
importance: | Undecided → Critical |
Changed in charm-swift-proxy: | |
milestone: | none → 20.08 |
Changed in charm-swift-proxy: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. opendev. org/744243
Review: https:/