Project

General

Profile

Anomalie #1101

router 192.168.5.0/24 sur 192.168.2.0/24

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

Status:
Fermé
Priority:
Immédiate
Assignee:
Category:
Task
Target version:
Start date:
12/13/2012
Due date:
% Done:

100%

Estimated time:
Spent time:
Difficulté:
2 Facile

Description

192.168.2.22 ne parvient pas a joindre 192.168.5.1 qui est la machine d'integration continue, parceque la plage 192.168.5.0/24 n'est pas routée sur 192.168.2.0/24

Notification Type: PROBLEM

Service: check_backuppc_harmine.pavot.vm.april-int
Host: harmine
Address: 192.168.2.22
State: WARNING

Date/Time: Thu Dec 13 06:48:28 UTC 2012

Additional Info:

BACKUPPC WARNING - (1/6) failures

History

#1

Updated by Loïc Dachary over 9 years ago

commit e017418fb290a88dc0ce09eb50986598541dbd98
Author: Loic Dachary <loic@dachary.org>
Date:   Thu Dec 13 09:39:28 2012 +0100

    routage de 192.168.5.0/24 pour les backups https://agir.april.org/issues/1101

diff --git a/openvpn/ccd/april-ci b/openvpn/ccd/april-ci
index 7a1ade3..d084299 100644
--- a/openvpn/ccd/april-ci
+++ b/openvpn/ccd/april-ci
@@ -1,2 +1,4 @@
 iroute 192.168.5.0 255.255.255.0
 push "route 192.168.4.0 255.255.255.0 192.168.0.45" 
+# harmine.pavot.vm.april-int only, for backups
+push "route 192.168.2.22 255.255.255.255 192.168.0.45" 
diff --git a/openvpn/server.conf b/openvpn/server.conf
index e97733e..2f79f4c 100644
--- a/openvpn/server.conf
+++ b/openvpn/server.conf
@@ -159,6 +159,7 @@ client-config-dir /etc/openvpn/ccd
 route 192.168.3.0 255.255.255.0
 route 192.168.1.0 255.255.255.0
 route 192.168.4.0 255.255.255.0
+route 192.168.5.0 255.255.255.0

 # EXAMPLE: Suppose you want to give
 # Thelonious a fixed VPN IP address of 10.9.0.1.
#2

Updated by Loïc Dachary over 9 years ago

un message bash rend rsync confus

backuppc 12905  0.0  0.0  40756  3032 ?        S    09:34   0:00      \_ /usr/bin/ssh -q -i /var/lib/backuppc/.ssh/abackup -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=false -x -l abackup april-ci.vm.april-int /var/local/abackup/rsync_sender --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --checksum-seed=32761 --one-file-system --bwlimit=2560 --ignore-times . /
backuppc@harmine:~$ /usr/bin/ssh -q -i /var/lib/backuppc/.ssh/abackup -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=false -x -l abackup april-ci.vm.april-int /var/local/abackup/rsync_sender --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --checksum-seed=32761 --one-file-system --bwlimit=2560 --ignore-times . /
sudo: unable to resolve host april-ci.vm.april-int

#4

Updated by Loïc Dachary over 9 years ago

  • Status changed from Confirmé to Résolu
  • % Done changed from 0 to 100
Notification Type: RECOVERY

Service: check_backuppc_harmine.pavot.vm.april-int
Host: harmine
Address: 192.168.2.22
State: OK

Date/Time: Thu Dec 13 09:23:28 UTC 2012

Additional Info:

BACKUPPC OK - (0/6) failures
#5

Updated by Quentin Gibeaux almost 3 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF