Tâche #10907
Scénario #10794: Faire fonctionner les VPN sur EOLE 2.5
La commande "id2sql" n'est pas disponible sur Amon et Sphynx 2.5
Description
Du coup l'instance plante encore sur Amon :
run-parts: executing /usr/share/eole/posttemplate/00-rvp instance Voulez-vous (re)configurer le Réseau Virtuel Privé maintenant ? [non] : oui Traceback (most recent call last): File "/usr/share/eole/sbin/active_rvp", line 25, in <module> from arv.config import strongswan_database, ipsec_tmp_path File "/usr/lib/python2.7/dist-packages/arv/config.py", line 56, in <module> raise ValueError("strongswan script %s not found"% id2sql_path) ValueError: strongswan script /usr/sbin/id2sql not found
Related issues
Associated revisions
id2sql et bin2sql ne semblnt pas utiles pour ARV/Sphynx/strongSwan
fixes #10907 @1h
Pallie au manque du binaire id2sql : renvoie une chaine hexa aléatoire
ref #10907 @1h
Le script id2sql est remlpacé par du code dans ARV mais ne permet plus
de faire fonctionner le mode database
fixes #10907 @30m
History
#1 Updated by Joël Cuissinat about 8 years ago
- Description updated (diff)
- Remaining (hours) changed from 0.15 to 1.0
#2 Updated by Fabrice Barconnière about 8 years ago
Il semble que les binaires id2sql et bin2sql ne soient pas utilisés. Il suffirait donc de commenter les lignes de config.py :
id2sql_path = "/usr/sbin/id2sql" if not isfile(id2sql_path): raise ValueError("strongswan script %s not found"% id2sql_path) bin2sql_path = "/usr/sbin/bin2sql" if not isfile(bin2sql_path): raise ValueError("strongswan script %s not found"% bin2sql_path)
#3 Updated by Fabrice Barconnière about 8 years ago
- Status changed from Nouveau to En cours
- Start date set to 03/17/2015
#4 Updated by Fabrice Barconnière about 8 years ago
- Assigned To set to Fabrice Barconnière
#5 Updated by Fabrice Barconnière about 8 years ago
- Status changed from En cours to Résolu
- % Done changed from 0 to 100
Appliqué par commit arv:48565e9a807fd28c3f02e7245b9fd28f8ac9d2b7.
#6 Updated by Fabrice Barconnière about 8 years ago
- Remaining (hours) changed from 1.0 to 0.1
#7 Updated by Fabrice Barconnière about 8 years ago
- Status changed from Résolu to En cours
- % Done changed from 100 to 50
- Remaining (hours) changed from 0.1 to 1.0
ARV a besoin de id2sql pour générer le contenu de certains champs qui sont malgré tout inutiles pour le mode fichier plat de strongSwan
Étudier ce que fait ce script pour éventuellement le remplacer par du code dans ARV.
#8 Updated by Fabrice Barconnière about 8 years ago
- Status changed from En cours to Résolu
- % Done changed from 50 to 100
Appliqué par commit arv:4d5d1acef7e5d81c60a664958b149faac92a930f.
#9 Updated by Joël Cuissinat about 8 years ago
- Remaining (hours) changed from 1.0 to 0.15
#10 Updated by Joël Cuissinat about 8 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) changed from 0.15 to 0.0
Plus de traceback :)
run-parts: executing /usr/share/eole/posttemplate/00-rvp instance Voulez-vous (re)configurer le Réseau Virtuel Privé maintenant ? [non] : o Le serveur n'est pas enregistré sur un Zéphir configurer en mode manuel [oui/non] [non] : Abandon de la configuration RVP