Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #185040

Re: delay the start of a service until LACP negotiation is complete

From "John Ratliff" <jratliff@bluemarble.net>
Newsgroups linux.debian.user
Subject Re: delay the start of a service until LACP negotiation is complete
Date 2017-08-11 15:50 +0200
Message-ID <udiu6-4b4-31@gated-at.bofh.it> (permalink)
References <udiu6-4b4-33@gated-at.bofh.it> <ud4Ku-41n-5@gated-at.bofh.it> <ude77-1CC-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


<quote who="Sven Hartge">
> John Ratliff <jratliff@bluemarble.net> wrote:
>
>> I have a 4 port LAGG (LACP / bond-mode 4) interface named bond0. It
>> seems
>> to take about 45 seconds after the links come up to negotiate with the
>> switch.
>
> This long delay is not normal. For me LACP-based bonds never take longer
> than 1 or at most 2 seconds to be operational.
>
> This smells of STP. Disable STP on the switch for that port or change to
> rSTP.
>
> Grüße,
> Sven.
>
> --
> Sigmentation fault. Core dumped.
>
>

The ports are trunk ports carrying multiple vlans. I have enabled
spanning-tree portfast trunk on the port channel. It still takes around 5
seconds, but that's significantly faster. However, I have another slight
issue. When conntrackd is started on boot, it gives me some errors:

Aug 11 09:35:30 bltn-firewall-02 conntrackd[1157]: [Fri Aug 11 09:35:30
2017] (pid=1157) [notice] using user-space event filtering
Aug 11 09:35:30 bltn-firewall-02 conntrackd[1157]: [Fri Aug 11 09:35:30
2017] (pid=1157) [notice] netlink event socket buffer size has been set to
262142 bytes
Aug 11 09:35:30 bltn-firewall-02 conntrackd[1157]: [Fri Aug 11 09:35:30
2017] (pid=1157) [notice] initialization completed
Aug 11 09:35:30 bltn-firewall-02 conntrackd[1157]: [Fri Aug 11 09:35:30
2017] (pid=1157) [notice] -- starting in console mode --
Aug 11 09:35:30 bltn-firewall-02 conntrackd[1157]: [Fri Aug 11 09:35:30
2017] (pid=1157) [ERROR] no dedicated links available!

I don't get these errors if I run my delay script. I wonder if this is a
problem.

Thanks.

--John

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

delay the start of a service until LACP negotiation is complete "John Ratliff" <jratliff@bluemarble.net> - 2017-08-11 01:10 +0200
  Re: delay the start of a service until LACP negotiation is complete Sven Hartge <sven@svenhartge.de> - 2017-08-11 11:10 +0200
    Re: delay the start of a service until LACP negotiation is complete "John Ratliff" <jratliff@bluemarble.net> - 2017-08-11 15:50 +0200
      Re: delay the start of a service until LACP negotiation is complete Sven Hartge <sven@svenhartge.de> - 2017-08-11 18:40 +0200
        Re: delay the start of a service until LACP negotiation is complete "John Ratliff" <jratliff@bluemarble.net> - 2017-08-11 19:40 +0200
          Re: delay the start of a service until LACP negotiation is complete Sven Hartge <sven@svenhartge.de> - 2017-08-11 19:50 +0200

csiph-web