Comment 0 for bug 1943786

Revision history for this message
Connor Chamberlain (lcvcode) wrote : Connections fail when using a vip with a port in Charmed Operator Framework

Juju 2.9.7 fixed LP1922133 [0], which allowed Sidecar charms to populate their vips, rather than a list of unit addresses, in relation data. Charms looking for a related charm with a vip cannot find a listening daemon at <vip>:<port>. However, a listening daemon can be found at <unit-ip>:<port> for each of the application's units.

The upgrade to Juju >= 2.9.7 breaks relations to charms that are now able to provide vips.

For clarity, some sidecar charms provide a list of unit ips prior to Juju 2.9.7 and switch to providing a single vip at higher versions. The charm receiving the vip should be able to connect by the vip without issue, but it cannot. Development on charms with this functionality must be done on Juju versions lower than 2.9.6.

[0] https://bugs.launchpad.net/juju/+bug/1922133