Skip to content

v4.2.0

Choose a tag to compare

@rezib rezib released this 29 Apr 08:54
· 456 commits to main since this release
v4.2.0

Added

  • Add --log-component option on every commands to prefix all log entries with a component name.
  • Introduce slurm-web-connect-check utility to test access to slurmrestd service with agent configuration parameters.
  • frontend:
    • Add possibility to sort jobs by quantity of resources (#453).
    • Add priority in jobs list (#452).
    • Disable racks and rows labels in RacksDB infrastructure graphical representations by default (#461). These labels can be restored with [ui] > racksdb_{rows,racks}_labels gateway parameters.
  • gateway: Add RACKSDB_{ROWS,RACKS}_LABELS in configuration file generated for frontend component.
  • conf:
    • Introduce [ui] > racksdb_{rows,racks}_labels gateway parameters.
    • Introduce [slurmrestd] > auth, jwt_mode, jwt_user, jwt_lifespan, jwt_key and jwt_token agent parameters.
  • agent:
  • Support JWT authentication on slurmrestd in static and auto modes.
  • Support access to slurmrestd on TCP/IP socket (#313).
  • docs:
    • Mention --log-component option in manpages.
    • Add manpage for slurm-web-connect-check utility.
    • Add Slurmrestd Access page with guides to setup Slurm and agent in all supported configurations.
    • Mention support of JWT authentication and TCP/IP sockets between agent and Slurm slurmrestd in Protocols section of Architecture page and Quickstart guide.
  • lib: Add comment in agent native and uWSGI services units to explain possibility to drop privileges of slurm user in favor of more restricted slurm-web user with slurmrestd JWT authentication.

Changed

  • conf: Deprecate [slurmrestd] > socket parameter in favor of uri designed to support TCP/IP socket.
  • frontend: Replace view job link by a window icon in jobs list.
  • lib: Rename sysusers configuration file slurm-web-gateway.conf to slurm-web.conf in order to make it generic for both gateway and agent.
  • pkgs:
    • Add dependency on importlib_metadata external library on Python < 3.8.
    • Bump minimal version of RFL.log to v1.4.0.
    • Bump minimal version of RFL.settings to v1.4.0.
    • Bump minimal version of RFL.authentication to v1.4.0.
  • docs: Update configuration reference documentation.

Fixed

  • Fix DeprecationWarning with setuptools pkg_resources being used as an API.
  • Fix handling of generic Python exceptions in registered error handler with Flask < 1.1.0 to return JSON description of this exception (#497).
  • gateway: Add support of strings in RacksDB/agent version parts comparison logic.
  • frontend: