Projet

Général

Profil

Bac à idée #31081

Mis à jour par Joël Cuissinat il y a environ 3 ans

h3. Pas №6

Le paquet *eole-esbl-ocs* n'est plus pré-installé en 2.8.0... Normal l'installation plante (eole-ci-tests:commit:2b40ae26) !

Par contre, je n'ai pas trouvé de demande pour ce problème...

<pre>
run-parts: executing /usr/share/eole/posttemplate/01-eoledb reconfigure
Start Systemd service mysql [ OK ]
GLPI :
>>> Passwords [OK]
>>> Create [NA]
>>> Update [OK]
OCSWEB :
>>> Passwords [OK]
Traceback (most recent call last):
File "/usr/bin/eole_db_gen", line 413, in <module>
main()
File "/usr/bin/eole_db_gen", line 404, in main
create_db(conn, context='reconfigure')
File "/usr/bin/eole_db_gen", line 341, in create_db
creation_res = connection.instance_db()
File "/usr/lib/python3/dist-packages/eoledb/eoledbmysql.py", line 164, in instance_db
cursor.execute(elm)
File "/usr/lib/python3/dist-packages/MySQLdb/cursors.py", line 209, in execute
res = self._query(query)
File "/usr/lib/python3/dist-packages/MySQLdb/cursors.py", line 315, in _query
db.query(q)
File "/usr/lib/python3/dist-packages/MySQLdb/connections.py", line 226, in query
_mysql.connection.query(self, query)
MySQLdb._exceptions.ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SYSTEM VARCHAR(255) DEFAULT NULL, PRIMARY KEY (SNMP_ID) ) DEFAULT CHARSET=UTF8' at line 1")
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
with os.fdopen(os.open(pr_filename,
FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_bin_eole_db_gen.0.crash'

Original exception was:
Traceback (most recent call last):
File "/usr/bin/eole_db_gen", line 413, in <module>
main()
File "/usr/bin/eole_db_gen", line 404, in main
create_db(conn, context='reconfigure')
File "/usr/bin/eole_db_gen", line 341, in create_db
creation_res = connection.instance_db()
File "/usr/lib/python3/dist-packages/eoledb/eoledbmysql.py", line 164, in instance_db
cursor.execute(elm)
File "/usr/lib/python3/dist-packages/MySQLdb/cursors.py", line 209, in execute
res = self._query(query)
File "/usr/lib/python3/dist-packages/MySQLdb/cursors.py", line 315, in _query
db.query(q)
File "/usr/lib/python3/dist-packages/MySQLdb/connections.py", line 226, in query
_mysql.connection.query(self, query)
MySQLdb._exceptions.ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SYSTEM VARCHAR(255) DEFAULT NULL, PRIMARY KEY (SNMP_ID) ) DEFAULT CHARSET=UTF8' at line 1")
Stop Systemd service mysql
</pre>

h3. Exécution Squash-TM

* https://dev-eole.ac-dijon.fr/squash/executions/11298

Comme OCS n'est pour l'instant pas fonctionnel en 2.8, le test a été découpé en deux depuis :
* SCRIBE-T10-002a - GLPI
* SCRIBE-T10-002b - OCS

Retour