Bug #3167

MultiWAN failover ineffective

Added by Filippo Carletti about 6 years ago. Updated about 6 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-firewall-base
Target version:v6.6
Security class: Resolution:
Affected version:v6.6 NEEDINFO:No

Description

In a MultiWAN setup, when a link goes down the system do not update its status. The dashboard shows all links as up even if they're down, the routing tables are not updated.

Associated revisions

Revision 9b2d528b
Added by Filippo Carletti about 6 years ago

nethserver-shorewall-wan-update: adapt to lsm-0.179. Refs #3167

History

#1 Updated by Filippo Carletti about 6 years ago

  • Status changed from NEW to TRIAGED
  • Assignee set to Filippo Carletti
  • % Done changed from 0 to 20

The issue is caused by the new version of lsm which modified its behaviour when a link changes status.

#2 Updated by Filippo Carletti about 6 years ago

  • Status changed from TRIAGED to ON_DEV
  • % Done changed from 20 to 30

#3 Updated by Filippo Carletti about 6 years ago

Here's a sample output from lsm:

May 15 12:22:55 multiwan esmith::event[13769]: Event: wan-uplink-update down red21 192.168.226.1 eth2 root 0 7 6 0 0 6 6 0 192.168.226.26 unknown 1431685375

#4 Updated by Filippo Carletti about 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Filippo Carletti)
  • % Done changed from 30 to 60

In nethserver-firewall-base-2.6.0-1.4.g9b2d528.ns6.noarch.rpm.

Test case

You'll need a system with at least two WANs. After package update, try this command:

grep Provider /var/log/messages

You should see:
May 15 12:29:31 multiwan esmith::event14783: Provider red2 (2) stopped

Also, the dashboard should reflect links status.

#5 Updated by Filippo Carletti about 6 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

#6 Updated by Nicola Rauso about 6 years ago

  • Assignee set to Nicola Rauso

#7 Updated by Nicola Rauso about 6 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Nicola Rauso)
  • % Done changed from 70 to 90

Test case

You'll need a system with at least two WANs. After package update, try this command:
[...]
You should see:
May 15 12:29:31 multiwan esmith::event14783: Provider red2 (2) stopped

Also, the dashboard should reflect links status.

Verified: OK

#8 Updated by Giacomo Sanchietti about 6 years ago

  • Target version set to v6.6

#9 Updated by Giacomo Sanchietti about 6 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100
Released in nethserver-updates:
  • nethserver-firewall-base-2.6.1-1.ns6.noarch.rpm

Also available in: Atom PDF