If the management interface specified in the charm doesn't exist, a hook error should be raised

Bug #1599273 reported by Jason Hobbs
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
plumgrid-director (Juju Charms Collection)
Fix Released
Undecided
Unassigned

Bug Description

If the management interface specified in the charm doesn't exist, a hook interface should be raised.

Currently, a message is logged and it looks like charm tries to autodetect which interface to use.

If autodetection is reliable, it should be used all the time and there should be no need for a config value in the charm. If autodetection is not reliable, then it shouldn't be used at all.

I've attached a log with an example of this.

Tags: oil

Related branches

Revision history for this message
Jason Hobbs (jason-hobbs) wrote :
Revision history for this message
Junaid Ali (junaidali) wrote :

Working on the fix.

Changed in plumgrid-director (Juju Charms Collection):
status: New → Triaged
Revision history for this message
Junaid Ali (junaidali) wrote :

Default value for management interface has been removed. Now the charm will use "charmhelper" function "get_iface_from_addr" method unless we explicitly want to use an interface other than default juju-interface

Changed in plumgrid-director (Juju Charms Collection):
status: Triaged → Fix Committed
Junaid Ali (junaidali)
Changed in plumgrid-director (Juju Charms Collection):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.