Project

General

Profile

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

Added by Joël Cuissinat about 8 years ago. Updated about 8 years ago.

Status:
Fermé
Priority:
Normal
Target version:
Start date:
03/17/2015
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:
Remaining (hours):
0.0

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

Copied from Distribution EOLE - Tâche #10751: La commande "key2keyid" n'est pas disponible sur Amon et Sphynx 2.5 Fermé 02/26/2015

Associated revisions

Revision 48565e9a (diff)
Added by Fabrice Barconnière about 8 years ago

id2sql et bin2sql ne semblnt pas utiles pour ARV/Sphynx/strongSwan

fixes #10907 @1h

Revision c1f50225 (diff)
Added by Fabrice Barconnière about 8 years ago

Pallie au manque du binaire id2sql : renvoie une chaine hexa aléatoire

ref #10907 @1h

Revision 4d5d1ace (diff)
Added by Fabrice Barconnière about 8 years ago

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

#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

#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

Also available in: Atom PDF