Hide Forgot
Description of problem: Version-Release number of selected component (if applicable): erlang-erts.x86_64 0:R16B-03.10min.4.el7ost How reproducible: Always Steps to Reproduce: [root@rhel7 ~]# erl -sname test -proto_dist inet6_tcp -inet_dist_listen_min 33333 -inet_dist_listen_max 33333 Erlang R16B03-1 (erts-5.10.4) [source] [64-bit] [async-threads:10] [hipe] [kernel-poll:false] Eshell V5.10.4 (abort with ^G) (test@rhel7)1> [1]+ Stopped erl -sname test -proto_dist inet6_tcp -inet_dist_listen_min 33333 -inet_dist_listen_max 33333 [root@rhel7 ~]# ss -antp | grep beam ESTAB 0 0 127.0.0.1:39354 127.0.0.1:4369 users:(("beam",2199,6)) LISTEN 0 5 :::37794 :::* users:(("beam",2199,5)) [root@rhel7 ~]# Actual results: ipv6 distribution port is randomly chosen Expected results: ipv6 distribution port should fall between values supplied by inet_dist_listen_{min,max} Additional info: https://github.com/erlang/otp/commit/8266a6056ff3b4292d98485665e5444addd689b6
I installed the latest 7.3 puddle with ipv6 and I followed your bug: 1) rpm -qa|grep erlang erlang-erts-R16B-03.10min.5.el7ost.x86_64 erlang-os_mon-R16B-03.10min.5.el7ost.x86_64 erlang-inets-R16B-03.10min.5.el7ost.x86_64 erlang-snmp-R16B-03.10min.5.el7ost.x86_64 erlang-asn1-R16B-03.10min.5.el7ost.x86_64 erlang-stdlib-R16B-03.10min.5.el7ost.x86_64 erlang-sasl-R16B-03.10min.5.el7ost.x86_64 erlang-syntax_tools-R16B-03.10min.5.el7ost.x86_64 erlang-public_key-R16B-03.10min.5.el7ost.x86_64 erlang-sd_notify-0.1-2.el7ost.x86_64 erlang-crypto-R16B-03.10min.5.el7ost.x86_64 erlang-mnesia-R16B-03.10min.5.el7ost.x86_64 erlang-otp_mibs-R16B-03.10min.5.el7ost.x86_64 erlang-compiler-R16B-03.10min.5.el7ost.x86_64 erlang-ssl-R16B-03.10min.5.el7ost.x86_64 erlang-runtime_tools-R16B-03.10min.5.el7ost.x86_64 erlang-hipe-R16B-03.10min.5.el7ost.x86_64 erlang-kernel-R16B-03.10min.5.el7ost.x86_64 erlang-xmerl-R16B-03.10min.5.el7ost.x86_64 erlang-tools-R16B-03.10min.5.el7ost.x86_64 [root@overcloud-controller-1 ~]# erl -sname test -proto_dist inet6_tcp -inet_dist_listen_min 33333 -inet_dist_listen_max 33333 Erlang R16B03-1 (erts-5.10.4) [source] [64-bit] [smp:12:12] [async-threads:10] [hipe] [kernel-poll:false] Eshell V5.10.4 (abort with ^G) (test@overcloud-controller-1)1> [1]+ Stopped erl -sname test -proto_dist inet6_tcp -inet_dist_listen_min 33333 -inet_dist_listen_max 33333 [root@overcloud-controller-1 ~]# ss -antp | grep beam ESTAB 0 0 127.0.0.1:42337 127.0.0.1:4369 users"beam.smp",pid=19116,fd=9)) ESTAB 0 0 127.0.0.1:50839 127.0.0.1:4369 users"beam.smp",pid=31903,fd=8)) LISTEN 0 128 2620:52:0:23ae::16:5672 :::* users"beam.smp",pid=19116,fd=18)) LISTEN 0 128 :::39149 :::* users"beam.smp",pid=31903,fd=7)) LISTEN 0 128 :::35672 :::* users"beam.smp",pid=19116,fd=8)) ESTAB 0 0 2620:52:0:23ae::16:5672 2620:52:0:23ae::10:38529 users"beam.smp",pid=19116,fd=123)) ... .... ESTAB 0 0 2620:52:0:23ae::16:5672 2620:52:0:23ae::10:36105 users"beam.smp",pid=19116,fd=47)) ESTAB 0 0 2620:52:0:23ae::16:5672 2620:52:0:23ae::16:56981 users"beam.smp",pid=19116,fd=98)) *(full output http://pastebin.test.redhat.com/343663 ) [root@overcloud-controller-1 ~]# ss -antp | grep beam|grep 33333 (returned nothing..) From what I understand The port suppose to be between the range 33333-33333(so only 33333?). And if I understood right the bug reproduced..
Yeah, something isn't right. I'll look into it.
OK, sorry, I pasted the wrong command into the bug. It should be: erl -sname test -proto_dist inet6_tcp -kernel inet_dist_listen_min 33333 -kernel inet_dist_listen_max 33333 Which works for me: [1]+ Stopped erl -sname test -proto_dist inet6_tcp -kernel inet_dist_listen_min 33333 -kernel inet_dist_listen_max 33333 [root@rhel7 yum.repos.d]# ss -antp | grep beam ESTAB 0 0 127.0.0.1:41271 127.0.0.1:4369 users:(("beam",1338,6)) LISTEN 0 128 :::33333 :::* users:(("beam",1338,5))
Verified [root@overcloud-controller-0 ~]# ss -antp | grep beam | grep 3333 [root@overcloud-controller-0 ~]# erl -sname test -proto_dist inet6_tcp -kernel inet_dist_listen_min 33333 -kernel inet_dist_listen_max 33333 Erlang R16B03-1 (erts-5.10.4) [source] [64-bit] [async-threads:10] [hipe] [kernel-poll:false] Eshell V5.10.4 (abort with ^G) (test@overcloud-controller-0)1> [1]+ Stopped erl -sname test -proto_dist inet6_tcp -kernel inet_dist_listen_min 33333 -kernel inet_dist_listen_max 33333 [root@overcloud-controller-0 ~]# ss -antp | grep beam | grep 3333 LISTEN 0 128 :::33333 :::* users:(("beam",pid=309,fd=5)) Version [root@overcloud-controller-0 ~]# rpm -qa|grep erlang erlang-crypto-R16B-03.10min.5.el7ost.x86_64 erlang-otp_mibs-R16B-03.10min.5.el7ost.x86_64 erlang-ssl-R16B-03.10min.5.el7ost.x86_64 erlang-runtime_tools-R16B-03.10min.5.el7ost.x86_64 erlang-hipe-R16B-03.10min.5.el7ost.x86_64 erlang-kernel-R16B-03.10min.5.el7ost.x86_64 erlang-snmp-R16B-03.10min.5.el7ost.x86_64 erlang-xmerl-R16B-03.10min.5.el7ost.x86_64 erlang-asn1-R16B-03.10min.5.el7ost.x86_64 erlang-tools-R16B-03.10min.5.el7ost.x86_64 erlang-stdlib-R16B-03.10min.5.el7ost.x86_64 erlang-sasl-R16B-03.10min.5.el7ost.x86_64 erlang-syntax_tools-R16B-03.10min.5.el7ost.x86_64 erlang-public_key-R16B-03.10min.5.el7ost.x86_64 erlang-sd_notify-0.1-2.el7ost.x86_64 erlang-mnesia-R16B-03.10min.5.el7ost.x86_64 erlang-compiler-R16B-03.10min.5.el7ost.x86_64 erlang-erts-R16B-03.10min.5.el7ost.x86_64 erlang-os_mon-R16B-03.10min.5.el7ost.x86_64 erlang-inets-R16B-03.10min.5.el7ost.x86_64
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-0259.html