Deprecate and ultimately remove local_address and the concept of a "default" interface

Bug #1915578 reported by David Ames on 2021-02-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Charm Helpers
Undecided
Unassigned
charms.openstack
Undecided
Unassigned

Bug Description

Juju is deprecating unit-get. Network-get juju-info is an invalid attempt to get the "default" binding and it is non-deterministic or if it is it is alphanumberic sorted. The Juju team has asked us to use an explicit binding for all network-get calls. It is their opinion that the charm should not know what the "default" binding is.

* We should deprecate local_address immediately
* Check for all calls to local_address and attempt to replace them with network-get and an explicit binding
* Check for all calls to unit-get and attempt to replace them with network-get and an explicit binding
* As a last resort, if we are not successful with the above we can add an extra binding for a fallback.

David Ames (thedac) on 2021-02-12
Changed in charms.openstack:
status: New → Incomplete
status: Incomplete → New
Revision history for this message
David Ames (thedac) wrote :

Charm helpers deprecation of local_address: https://github.com/juju/charm-helpers/pull/569

Revision history for this message
David Ames (thedac) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers