IP address is detection picks up "169.254.x.x" addresses when there are interfaces with actual addresses configured down the list. The detection code incorrectly stops scanning when it encounters a link local address. It should instead of continuing to scan other interfaces for a "better" address.
It's quite normal to assign link local 169.254.x.x addresses to links that do not otherwise have a network address. Our code should skip addresses in this (169.254.0.0 - 169.254.255.255) range and move on to other interfaces. I ran into this on Windows but it probably can happen on any other platforms just as well.
Couchbase server ultimately fails to startup with the detected 169.254.x.x address.
|For Gerrit Dashboard: &For+MB-7417=message:MB-7417|
|23512,1||MB-7417: Use ipconfig to get correct ip address||voltron||Status: ABANDONED||+2||+1|
|23557,1||Merge remote-tracking branch 'couchbase/2.0.1' into next||ns_server||Status: MERGED||+2||+1|
|Fix Version/s||2.0.1 [ 10399 ]|
|Assignee||Aleksey Kondratenko [ alkondratenko ]||Bin Cui [ bcui ]|
|Assignee||Bin Cui [ bcui ]||Sriram Melkote [ siri ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|
|Link||This issue is duplicated by CBSE-284 [ CBSE-284 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|