Manual provider subnet discovery only happens for new NICs

Bug #2052598 reported by Joseph Phillips
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
Nicolas Vinuesa

Bug Description

The manual provider discovers subnets progressively as we do on-machine network discovery.

There is a problem with the implementation in that we only attempt to discover subnets the first time we observe link-layer devices.

What this means is that if a device is disabled the first time we see it, and it has no addresses, we will not discover subsequently connected subnets if the device is brought up.

See:
https://github.com/juju/juju/blob/ef6cf26a844ec86a4dcf51314f35bbc016a87691/apiserver/common/networkingcommon/networkconfigapi.go#L388

We want to attempt subnet discovery for new *addresses* rather than NICs.

Tags: network
Revision history for this message
Joseph Phillips (manadart) wrote :
Changed in juju:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Nicolas Vinuesa (nvinuesa)
milestone: none → 3.1.8
Harry Pidcock (hpidcock)
Changed in juju:
milestone: 3.1.8 → 3.3.3
Ian Booth (wallyworld)
Changed in juju:
milestone: 3.3.3 → 3.3.4
Changed in juju:
status: Triaged → In Progress
Revision history for this message
Nicolas Vinuesa (nvinuesa) wrote :
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
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.