- the userid and the host fqdn of are now recorded
- found better names (more appropriate and easier to understand)
- disable reason -> disable request
- requester -> disable tag
work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3093]
- fixed bug in request_queue_activation, which caused it to always enable the queue, even if there are other disables
- added a synchronization mechanism to quman which patches the database to ensure the database is coherent with the current activation of the queues
work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3093]
- fixed bug that caused `draw_machine_age_pyramid_graph` to fail when some cluster machines get older than 20 years. Increased the age limit to 25 years, and added clipping to the graph to cope with some machines even older than this
fixes [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=4101]
- fixed bug in SshAccessedMysqlDb which didn't handle the fields with is_autoinc_index properly
- fixed bug in SshAccessedMysqlDb which failed when a field description contained double quotes
- improved SshAccessedMysqlDb.query(), which now displays the error message on failure
- fixed bug in SshAccessedMysqlDb.table_exists,which failed when the table didn't exist.
work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3958]
- added to the class `ISqlDatabaseBackend` the ability to delete a sql table
- also added `SshAccessedMysqlDb`: an implementation of `ISqlDatabaseBackend` that implements the sql database as a remote sql database accessed using ssh
- added unit tests to validate the backends SshAccessedMysqlDb and SqliteDb
work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3958]
- added to the class `ISqlDatabaseBackend` the ability to create a sql table
- also added `SqliteDb`: an implementation of `ISqlDatabaseBackend` that implements the sql database as a sqlite3 database
work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3958]
- all styling errors are now fixed, but there are still warnings and information
- most functions have been converted to snake case
- most functions now have type hinting
work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3873]
when Job2 was introduced, it was actually representing a job, but the class Job (which actually represented a Task, and this was misleading) already existed
also:
- added type hinting to ease code understanding
- took this opportunity to fix styling issues
- this bug was found when working on Bug 3575 - la page physix status renvoit internal server error
- in order to ease the detection of such regressions, added a unittest that covers this code
- fixed bug : it was caused by the fact that the database has no information about ietr machines order. Fixed this by ignoring ietr machines because they're only part of ipr cluster temporarily and as such, they shouldn't appear in the stats.
also some improvements:
- improved the colors of the owners of the machines so that tey're visually close for the same organism (eg ipr owners have close colors). This change was made in june 2020 I think (for the questionnaire about it needs related to eskemmdata)
- added a graph to show the age of cores
- prevented overlapping of dates in the graph showing the evolution of gflops price
- improved the handling of colors. As a result, the number of owners is no longer restricted, as the color palette is now no longer restricted in size
- improved readability by putting the legend on the upper left part of the graphs, where it no longer hides the upper right part of the graph
- fixed clutter of years on the x axis which made it difficult to read the years. Now, there is a limit in the number of years displayed on the x axis
- improved the legend showng the owners, which now displays the lab in addition to the department