Project

General

Profile

Bac à idée #31081

OCS n'est pas fonctionnel en 2.8 (2.8.0-beta1)

Added by Joël Cuissinat almost 3 years ago. Updated over 1 year ago.

Status:
Nouveau
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
0.00 h

Description

Pas №6

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

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

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                                 

Exécution Squash-TM

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

History

#1 Updated by Joël Cuissinat almost 3 years ago

  • Subject changed from Correction <ID_DU_TEST> - <nom test> - <NOM DU JEU DE DONNÉES> (2.8.0-beta1) to Correction SCRIBE-T10-002 - GLPI et OCS (2.8.0-beta1)

#2 Updated by Joël Cuissinat almost 3 years ago

  • Subject changed from Correction SCRIBE-T10-002 - GLPI et OCS (2.8.0-beta1) to OCS n'est pas fonctionnel en 2.8 (2.8.0-beta1)

#3 Updated by Joël Cuissinat almost 3 years ago

  • Parent task deleted (#30862)

#4 Updated by Joël Cuissinat almost 3 years ago

  • Tracker changed from Tâche to Scénario
  • Due date set to 11/06/2020

#5 Updated by Joël Cuissinat almost 3 years ago

  • Due date deleted (11/06/2020)
  • Target version deleted (sprint 2020 43-45 Equipe MENSR)
  • Start date deleted (04/10/2020)
  • Release set to EOLE 2.8.0
  • Story points set to 2.0

#6 Updated by Daniel Dehennin over 2 years ago

  • Release changed from EOLE 2.8.0 to EOLE 2.8.0.1

#7 Updated by Joël Cuissinat over 2 years ago

  • Description updated (diff)

#8 Updated by Gilles Grandgérard over 1 year ago

  • Tracker changed from Scénario to Bac à idée

Also available in: Atom PDF