Project

General

Profile

Anomalie #1159

VPN connection vers OpenStack down

Added by Loïc Dachary over 9 years ago. Updated almost 3 years ago.

Status:
Fermé
Priority:
Normale
Assignee:
Category:
Task
Target version:
Start date:
12/27/2012
Due date:
% Done:

100%

Estimated time:
Spent time:
Difficulté:
2 Facile

Description

***** Nagios *****

Notification Type: PROBLEM
Host: dns2.ns1.vm.april-int
State: DOWN
Address: 192.168.1.12
Info: PING CRITICAL - Packet loss = 100%

Date/Time: Thu Dec 27 02:20:07 CET 2012

Thu Dec 27 01:06:16 2012 OpenVPN ROUTE: cannot add more than 100 routes -- please increase the max-routes option in the client configuration file

Files

openvpn.log (41.8 KB) openvpn.log openvpn.log Loïc Dachary, 12/27/2012 02:38 PM

Related issues

Related to Admins - Anomalie #1172: VPN connection vers OpenStack downFermé01/11/2013

Actions

History

#2

Updated by Loïc Dachary over 9 years ago

root@controller:/etc# git show
commit 02954bdefb8e7cdd718787be2242774bd7dcb043
Author: Loic Dachary <loic@dachary.org>
Date:   Thu Dec 27 13:46:20 2012 +0000

    max-routes increased to 150 see https://agir.april.org/issues/1159

diff --git a/openvpn/client.conf b/openvpn/client.conf
index 168f74a..64bcd55 100644
--- a/openvpn/client.conf
+++ b/openvpn/client.conf
@@ -136,3 +136,4 @@ log-append  /var/log/openvpn/openvpn.log
 script-security 2
 # for more information https://agir.april.org/issues/1115 
 up /etc/openvpn/route-flush
+max-routes 150
#3

Updated by Loïc Dachary over 9 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

Je ne vois pas bien pourquoi il voudrait mettre plus de 100 routes. On augmente la verbosité pour avoir un dump des routes la prochaine fois que l'idée lui prend d'en vouloir mettre plus de 150.

root@controller:/etc# git show
commit d1da6d1d6c8b96eaf81b91f090c6ce0721a3a152
Author: Loic Dachary <loic@dachary.org>
Date:   Thu Dec 27 16:24:20 2012 +0100
    verb 4 pour avoir une chance de voir les routes https://agir.april.org/issues/1159
diff --git a/openvpn/client.conf b/openvpn/client.conf
index 64bcd55..87335ed 100644
--- a/openvpn/client.conf
+++ b/openvpn/client.conf
@@ -118,7 +118,7 @@ ns-cert-type server
 comp-lzo

 # Set log file verbosity.
-verb 3
+verb 4

 # Silence repeating messages
 mute 20

Thu Dec 27 16:23:48 2012 us=105760 /etc/openvpn/route-flush tun0 1500 1542 192.168.0.6 192.168.0.5 init
Thu Dec 27 16:23:48 2012 us=110779 /sbin/route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.0.5
Thu Dec 27 16:23:48 2012 us=114671 /sbin/route add -net 192.168.5.0 netmask 255.255.255.0 gw 192.168.0.5
Thu Dec 27 16:23:48 2012 us=115276 /sbin/route add -net 192.168.3.0 netmask 255.255.255.0 gw 192.168.0.5
Thu Dec 27 16:23:48 2012 us=115883 /sbin/route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.0.5
Thu Dec 27 16:23:48 2012 us=117156 /sbin/route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.0.5

#4

Updated by Quentin Gibeaux almost 3 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF