<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Agreed.  I don’t know of many people who completely disable IPv6.  So this should be rare.  And if they do then they should know that they will get AF_INET6 errors
 on any software which is trying to support both…<o:p></o:p></span></p>
<p class="MsoNormal"><a name="_MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></a></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><a name="_____replyseparator"></a><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Hal Rosenstock [mailto:hal.rosenstock@gmail.com]
<br>
<b>Sent:</b> Wednesday, October 25, 2017 5:56 AM<br>
<b>To:</b> Michael Di Domenico <mdidomenico4@gmail.com><br>
<b>Cc:</b> Weiny, Ira <ira.weiny@intel.com>; users@lists.openfabrics.org<br>
<b>Subject:</b> Re: [Users] ibacm?<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Right now, I don't see obvious way to eliminate that message for AF_INET6 as sometimes it's appropriate and other times not.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Wed, Oct 25, 2017 at 8:44 AM, Michael Di Domenico <<a href="mailto:mdidomenico4@gmail.com" target="_blank">mdidomenico4@gmail.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">the patch does work.  the only complaint i might register is that the<br>
first time through the loop you still get an ifconf ioctl error in the<br>
log file.  it does proceed along to bind to the AF_INET afterwards,<br>
but it might cause a red herring support issue later on<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
On Tue, Oct 24, 2017 at 5:30 PM, Hal Rosenstock<br>
<<a href="mailto:hal.rosenstock@gmail.com">hal.rosenstock@gmail.com</a>> wrote:<br>
> I have supplied a patch for Michael to try and will submit it to rdma-core<br>
> once tested...<br>
><br>
> On Tue, Oct 24, 2017 at 4:38 PM, Weiny, Ira <<a href="mailto:ira.weiny@intel.com">ira.weiny@intel.com</a>> wrote:<br>
>><br>
>> We probably need to fall back to an AF_INET check.  I did not realize that<br>
>> disabling ipv6 would cause this to fail because AF_INET6 usually “covers”<br>
>> AF_INET.  My guess here is that if you excluded IPv6 support from the kernel<br>
>> that would explain the failure.<br>
>><br>
>><br>
>><br>
>> Perhaps you could try a patch which falls back to AF_INET?<br>
>><br>
>><br>
>><br>
>> Ira<br>
>><br>
>><br>
>><br>
>> From: Users [mailto:<a href="mailto:users-bounces@lists.openfabrics.org">users-bounces@lists.openfabrics.org</a>] On Behalf Of Hal<br>
>> Rosenstock<br>
>> Sent: Tuesday, October 24, 2017 8:59 AM<br>
>> To: Michael Di Domenico <<a href="mailto:mdidomenico4@gmail.com">mdidomenico4@gmail.com</a>><br>
>> Cc: <a href="mailto:users@lists.openfabrics.org">users@lists.openfabrics.org</a><br>
>> Subject: Re: [Users] ibacm?<br>
>><br>
>><br>
>><br>
>> This makes more sense ;-)<br>
>><br>
>><br>
>><br>
>> What were the steps used to disable ipv6 ?<br>
>><br>
>><br>
>><br>
>> On Tue, Oct 24, 2017 at 11:16 AM, Michael Di Domenico<br>
>> <<a href="mailto:mdidomenico4@gmail.com">mdidomenico4@gmail.com</a>> wrote:<br>
>><br>
>> it looks like i found the culprit<br>
>><br>
>> when running ibacm out of the box on rhel 7.4 the ibacm.log shows<br>
>><br>
>> acm_if_iter_sys: ioctl ifconf error -1<br>
>><br>
>> if i change the line<br>
>><br>
>> s = socket(AF_INET6, SOCK_DGRAM, 0);<br>
>><br>
>> to<br>
>><br>
>> s = socket(AF_INET, SOCK_DGRAM, 0);<br>
>><br>
>> as Hal suggested and start the ibacm daemon i acm correctly bind to be<br>
>> ipoib addresses and interfaces.  my initial report of this change not<br>
>> being effective was a miss communication in that i though it related<br>
>> to the client and not the service process<br>
>><br>
>> i can then run<br>
>><br>
>> ib_acme -f i -s 172.22.64.96 -d 172.22.64.96 -S 172.22.64.96 -v V<br>
>><br>
>> and get back valid data<br>
>><br>
>> ib_acme -d <hostname> still doesn't work, but that might be internal<br>
>> we don't currently have reverse/forward entries for our ipoib<br>
>> interfaces, i'm still looking into it<br>
>><br>
>><br>
>><br>
>><br>
>> On Mon, Oct 16, 2017 at 1:54 PM, Michael Di Domenico<br>
>> <<a href="mailto:mdidomenico4@gmail.com">mdidomenico4@gmail.com</a>> wrote:<br>
>> > it's come to my attention that ibacm might not be working correctly on<br>
>> > my cluster, but i'm unable to determine why ibacm is failing<br>
>> ><br>
>> > here's what i did<br>
>> ><br>
>> > ib_acme -A -O<br>
>> > systemctl restart ibacm<br>
>> ><br>
>> > in the /var/log/ibacm file i see<br>
>> ><br>
>> > acm_if_iter_sys: ioctl ifconf error -1<br>
>> > acmp_join_group: qib0 1 pkey 0xffff, sl 0x0, rate 0x3, mtu 0x4<br>
>> > acm_server: started<br>
>> ><br>
>> > but when i try to query the node locally<br>
>> ><br>
>> > ib_acme -d node001 -v -V<br>
>> ><br>
>> > in the log file i see<br>
>> ><br>
>> > acm_svr_resolve_dest: notice - unknown local end point address<br>
>> ><br>
>> > on the console i see<br>
>> ><br>
>> > Service: localhost<br>
>> > Destination: 172.21.80.1<br>
>> > ib_acm_resolve_ip failed: cannot assign requested address<br>
>> > SA verification: failed cannot assign requested address<br>
>> ><br>
>> > the ibacm_addr.cfg contains<br>
>> > node001 qib0 1 default<br>
>> > node001-1 qib0 1 default<br>
>> ><br>
>> > all the nodes in the cluster are configured the exact same way.  and<br>
>> > produce the same result when trying to query locally or a remote node<br>
>> ><br>
>> > any thoughts?<br>
>> _______________________________________________<br>
>> Users mailing list<br>
>> <a href="mailto:Users@lists.openfabrics.org">Users@lists.openfabrics.org</a><br>
>> <a href="http://lists.openfabrics.org/mailman/listinfo/users" target="_blank">
http://lists.openfabrics.org/mailman/listinfo/users</a><br>
>><br>
>><br>
><br>
><o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</body>
</html>