Bug 1536064

Summary: erl_epmd:port_please assumes ipv4
Product: Red Hat OpenStack Reporter: John Eckersberg <jeckersb>
Component: erlangAssignee: Peter Lemenkov <plemenko>
Status: CLOSED ERRATA QA Contact: Udi Shkalim <ushkalim>
Severity: high Docs Contact:
Priority: high    
Version: 11.0 (Ocata)CC: apevec, jeckersb, jschluet, lhh, pkomarov, plemenko, scohen, scorcora, ushkalim
Target Milestone: z4Keywords: Triaged, ZStream
Target Release: 11.0 (Ocata)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: erlang-18.3.4.5-4.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1462255 Environment:
Last Closed: 2018-02-13 16:14:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1462255    
Bug Blocks: 1533406, 1555317, 1557513, 1557519, 1557522, 1647474, 1647587, 1647593, 1654041, 1654042    

Comment 3 Udi Shkalim 2018-02-01 12:00:56 UTC
Verified on: erlang-kernel-18.3.4.7-1.el7ost.x86_64

[root@controller-2 ~]#  export ERL_EPMD_ADDRESS=fd00:fd00:fd00:3000::18
[root@controller-2 ~]# erl -sname foo -proto_dist inet6_tcp
inet_gethost[247150] (DEBUG):Saved domainname .
inet_gethost[247150] (DEBUG):Created worker[247151] with fd 3
inet_gethost[247150] (DEBUG):Saved domainname .
inet_gethost[247151] (DEBUG):Worker got request, op = 1, proto = 1, data = controller-2.
inet_gethost[247151] (DEBUG):Starting gethostbyname(controller-2)
inet_gethost[247151] (DEBUG):gethostbyname OK
inet_gethost[247150] (DEBUG):End of file while reading from pipe.
inet_gethost[247150] (DEBUG):Erlang has closed.
Erlang/OTP 18 [erts-7.3.1.4] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V7.3.1.4  (abort with ^G)
(foo@controller-2)1> erl_epmd:port_please(foo,control2).
inet_gethost[249153] (DEBUG):Saved domainname .
inet_gethost[249153] (DEBUG):Created worker[249154] with fd 3
inet_gethost[249153] (DEBUG):Saved domainname .
inet_gethost[249154] (DEBUG):Worker got request, op = 1, proto = 2, data = control2.
inet_gethost[249154] (DEBUG):Starting getaddrinfo(control2, ...)
inet_gethost[249154] (DEBUG):getaddrinfo returned 0
{port,38246,5}
(foo@controller-2)2>

Comment 6 errata-xmlrpc 2018-02-13 16:14:47 UTC
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://access.redhat.com/errata/RHSA-2018:0303