Hello,

  When I use ovs-ofctl on OVS 2.10.1, it failed occasionally by error:

    ovs-ofctl: br0: failed to connect to socket (Broken pipe)

  This error is possible to be reproduced with:

    # while :; do /opt/nec/pf/ds/bin/ovs-ofctl --timeout=5 dump-flows br0 > 
/tmp/log || break; done; cat /tmp/log
    ovs-ofctl: br0: failed to connect to socket (Broken pipe)

  Also I tried with OVS 2.4.1 and could not reproduce this error.

  I think that recently rconn.c was modified on commit 
476d2551abd2871696a64203f78d658ac2d7f32c
  and the connection for ofctl was changed it begins on state S_CONNECTING 
instead of S_ACTIVE.
  So timeout_CONNECTING will be applied for ofctl connection, however 
timeout_CONNECTING is 1
  and this is too short (e.g. if transition time of CONNCTING was 12:00:00.999, 
it will be timed out
  after 1ms). I think that this is cause of occasionally disconnection of ofctl.

  Thanks,

-- 
Ken Ajiro

_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to