[SNBI-26] BindException seen in karaf console Created: 12/Feb/16  Updated: 19/Oct/17  Resolved: 12/Feb/16

Status: Resolved
Project: snbi
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Jamo Luhrsen Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 5332

 Comments   
Comment by Jamo Luhrsen [ 12/Feb/16 ]

The RC2.2 distribution test job had one abort [0] (red dot):

The reason is that a BindException was seen on the karaf console.

I can see it locally and it points to snbi. This [1] must be the port that is
having trouble being opened.

but I don't see any projects claiming to use port 4936 on our Port wiki [2]. Actually,
not even SNBI is claiming to use that port.

Note, this is coming when we load "all" features, so the conflict could be
coming with any of a many other projects.

Here's a bug [3] and maybe the resolution is just to remove snbi from the
"all" list?

Thanks,
JamO

PS. I'm still wondering what we need to do to stop exceptions from showing
up on the console and go to the karaf.log file?

[0] https://jenkins.opendaylight.org/releng/job/integration-distribution-deploy-beryllium/261/
[1] https://github.com/opendaylight/snbi/blob/master/southplugin/src/main/java/org/opendaylight/snbi/southplugin/SnbiMessagingInfra.java#L35
[2] https://wiki.opendaylight.org/view/Ports
[3] https://bugs.opendaylight.org/show_bug.cgi?id=5332

Comment by Vratko Polak [ 12/Feb/16 ]

I think the big no-no is the specific IPv6 address at line 157 [0].
"fd08::aaaa:bbbb:1" is an address in private range [1], but most machines do not allow programs to bind it (without prior configuration on OS level).

[0] https://git.opendaylight.org/gerrit/gitweb?p=snbi.git;a=blob;f=southplugin/src/main/java/org/opendaylight/snbi/southplugin/SnbiMessagingInfra.java;h=fadc24a642b5dd6263586e9a739fc08e544dab68;hb=refs/heads/stable/beryllium#l157
[1] https://en.wikipedia.org/wiki/Unique_local_address

Comment by Jamo Luhrsen [ 12/Feb/16 ]

https://git.opendaylight.org/gerrit/#/c/34552/

Generated at Wed Feb 07 20:39:07 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.