Project

General

Profile

Tâche #31067

Scénario #30841: Supprimer EoleSQL sur EOLE 2.8.1

Porter les script de python-eolesql dans eole-db pour eole-bareos

Added by Matthieu Lamalle 11 months ago. Updated 10 months ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
09/28/2020
Due date:
% Done:

100%

Remaining (hours):
0.0

Associated revisions

Revision 6595f7a9 (diff)
Added by Matthieu Lamalle 11 months ago

add eole_db_tools to scripts

Revision 75705625 (diff)
Added by Matthieu Lamalle 10 months ago

update mysql status on bareosregen

History

#1 Updated by Matthieu Lamalle 11 months ago

  • Status changed from Nouveau to En cours

#2 Updated by Matthieu Lamalle 11 months ago

  • Assigned To set to Matthieu Lamalle

#3 Updated by Matthieu Lamalle 11 months ago

  • Status changed from En cours to Résolu

#4 Updated by Joël Cuissinat 10 months ago

  • Status changed from Résolu to En cours

https://dev-eole.ac-dijon.fr/jenkins/job/2.8.1/job/test-instance-acascribe-2.8.1-amd64/lastFailedBuild/parsed_console/

            run-parts: executing /usr/share/eole/posttemplate/02-bareos instance

            AUTOMATE : Traceback dans la sortie console!

            Traceback (most recent call last):
              File "/usr/bin/eole_db_tools", line 371, in <module>
            MONITOR: instance_rearme1 action:$REARME
                main()
              File "/usr/bin/eole_db_tools", line 362, in main
                print(db_exists(conn))
              File "/usr/bin/eole_db_tools", line 330, in db_exists
                exists = connection.__dbExists__()
              File "/usr/lib/python3/dist-packages/eoledb/eoledbmysql.py", line 38, in __dbExists__
                with self.connect(root=True).cursor() as cursor:
              File "/usr/lib/python3/dist-packages/eoledb/eoledbmysql.py", line 127, in connect
                raise err
              File "/usr/lib/python3/dist-packages/eoledb/eoledbmysql.py", line 113, in connect
                conn = MySQLdb.connect(read_default_file=self.dbcliconf)
              File "/usr/lib/python3/dist-packages/MySQLdb/__init__.py", line 84, in Connect
                return Connection(*args, **kwargs)
              File "/usr/lib/python3/dist-packages/MySQLdb/connections.py", line 166, in __init__
                super(Connection, self).__init__(*args, **kwargs2)
            MySQLdb._exceptions.OperationalError: (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)")

#5 Updated by Matthieu Lamalle 10 months ago

  • Status changed from En cours to Résolu

#6 Updated by Joël Cuissinat 10 months ago

  • Status changed from Résolu to Fermé
  • % Done changed from 0 to 100
  • Remaining (hours) set to 0.0

Vu.

Also available in: Atom PDF