[Users] ibacm?

Hal Rosenstock hal.rosenstock at gmail.com
Mon Oct 23 06:16:29 PDT 2017


acm_if_iter_sys: ioctl ifconf error -1 comes from:

acm_util.c: acm_if_iter_sys



        s = socket(AF_INET6, SOCK_DGRAM, 0);

        if (!s)

                return -1;



…



        ret = ioctl(s, SIOCGIFCONF, ifc);

        if (ret < 0) {

                acm_log(0, "ioctl ifconf error %d\n", ret);

                goto out2;

        }

ret -1 from the ioctl call isn't very useful. Better would be to replace
the acm_log line as follows:
                acm_log(0, "ioctl ifconf errno %d\n", errno);
or
                acm_log(0, "ioctl ifconf error: %s\n", strerror(errno));

then we'd see the real error.

This code is iterating over the interfaces. Is IP (either IPv4 or IPv6)
running on any interfaces on that node ? Are any of those interfaces IB
interfaces ?

I suspect that the failure to iterate any IP interfaces causes the other
failures when using acme.

-- Hal





On Mon, Oct 16, 2017 at 1:54 PM, Michael Di Domenico <mdidomenico4 at gmail.com
> wrote:

> it's come to my attention that ibacm might not be working correctly on
> my cluster, but i'm unable to determine why ibacm is failing
>
> here's what i did
>
> ib_acme -A -O
> systemctl restart ibacm
>
> in the /var/log/ibacm file i see
>
> acm_if_iter_sys: ioctl ifconf error -1
> acmp_join_group: qib0 1 pkey 0xffff, sl 0x0, rate 0x3, mtu 0x4
> acm_server: started
>
> but when i try to query the node locally
>
> ib_acme -d node001 -v -V
>
> in the log file i see
>
> acm_svr_resolve_dest: notice - unknown local end point address
>
> on the console i see
>
> Service: localhost
> Destination: 172.21.80.1
> ib_acm_resolve_ip failed: cannot assign requested address
> SA verification: failed cannot assign requested address
>
> the ibacm_addr.cfg contains
> node001 qib0 1 default
> node001-1 qib0 1 default
>
> all the nodes in the cluster are configured the exact same way.  and
> produce the same result when trying to query locally or a remote node
>
> any thoughts?
> _______________________________________________
> Users mailing list
> Users at lists.openfabrics.org
> http://lists.openfabrics.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/users/attachments/20171023/2edc3ae2/attachment.html>


More information about the Users mailing list