network: ResolveOrDropHostnames doesn't preserve address meta-information
Bug #1633089 reported by
Roger Peppe
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Invalid
|
Undecided
|
Unassigned |
Bug Description
ResolveOrDropHo
The input hostnames contain network scope information (and SpaceName
and SpaceProviderId), which is not preserved in the resolved
IP addresses.
This metadata should probably should be preserved rather than guessing
from the form of the addresses as it does now.
To post a comment you must log in.
This seems to be working as intended. The IP addresses after resolving
may well have a different scope to the host name they're derived from,
so scope inference is the only way to find that out, and scope information
is actually preserved when the address already numeric.