Skip to content

v5.1.0

Latest

Choose a tag to compare

@rezib rezib released this 09 Jul 07:46
· 28 commits to main since this release
v5.1.0

Added

  • gateway:
    • Support loading LDAP bind password from separate file (#585). Contribution from @Cornelicorn.
    • Add cache boolean in /clusters response to indicate whether cache service is enabled on agents.
    • Add /agent/{cluster}/cache/stats route to reverse proxy request to agent /cache/stats.
  • agent:
    • Record slurmrestd cache hit and miss counts in cache service.
    • Add metrics with cache hit and miss counts.
    • Support querying cache metrics.
    • Add cache boolean in /info endpoint to indicate whether cache service is enabled on agent.
    • Add /cache/stats route to retrieve cache statistics.
  • ldap-check: Support loading LDAP bind password from separate file. Contribution from @Cornelicorn.
  • conf:
    • Add gateway [ldap]>bind_password_file configuration parameter. Contribution from @Cornelicorn.
    • Add gateway [ldap]>lookup_as_user configuration parameter. Contribution from @Cornelicorn.
    • Introduce cache-view authorization action.
    • Assign cache-view action to user role (all authenticated users) in default authorization policy.

Changed

  • gateway:
    • Check agent version is greater or equal to the minimal supported version specified in gateway configuration settings.
    • Send asynchronous HTTP requests to discover agents (#438).
    • After successful user authentication, when service bind dn and password are defined in configuration, Slurm-web now retrieves user information and user groups in LDAP with these credentials by default. Previous behavior can be restored by setting lookup_as_user = yes under the [ldap] section in gateway configuration file (#587). Contribution from @Cornelicorn.
  • agent:
    • Change route to information endpoint from /v{version}/info to /info.
    • Return version of agent in information endpoint.
    • Emit warning log entry when SlurmwebMetricsDBError is raised before responding HTTP/500.
  • conf: Update description of agent > version gateway parameter to describe its new semantic.
  • pkgs:
    • Set Python requests external library dependency on agent only.
    • Bump minimal version of RFL.authentication to v1.5.0.
    • Move Python aiohttp external library dependency from gateway extra package to main package because it is also a dependency of the agent now.
  • docs:
    • Update authorization policy reference documentation.
    • Update configuration reference documentation.
    • Mention cache metrics in metrics configuration reference documentation.

Fixed

  • gateway: Handle content type error when expecting JSON response from agent.
  • agent: Return HTTP/501 instead of crashing when metrics are requested but metrics service is disabled.
  • front:
    • Handling of GPU declared without model in Slurm configuration (#584). Contribution from @mehalter.
    • Regression on handling of denied clusters in cluster list.
    • Parsing of GRES GPUs when comma is present between brackets with indexes or sockets. Contribution from @astappiev.
    • Fix color of ring in clusters list in dark mode.
    • Update dependencies to fix CVE-2025-5889 (brace-expansion).
  • docs: Fix rendering of example list values in generated configuration reference documentation (#599).