The func should consider all addr on an iface

Bug #1678128 reported by Peter Sabaini on 2017-03-31
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Charm Helpers
Peter Sabaini

Bug Description

The func should consider all addr on an iface when searching for an ipaddr, but for IPv4 it only tests against the first address (it does check against all addr for IPv6)

On a cloud of ours we have several ip addr on a given iface and as it happens the first one happens to be outside of the given net (because of Reasons(tm)). The charmhelper call thus returns with no addr found even though there would be one available

Related branches

Changed in charm-helpers:
importance: Undecided → High
assignee: nobody → Peter Sabaini (peter-sabaini)
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers