Happy Tuesday, Heard reports that someone was getting invalid JWT tokens with a long lifespan (slurm passes a token... but it is not honored on further commands). I believe that max_token_lifespan could help avoid this error state but wondering if there should be more of a visible note to the user that the lifespan is too long. Unfortunately max_token_lifespan is not available in our slurm version... Testing scenario: export $(scontrol token lifespan=999999999999999999) Result: Token generated, error: "slurm_load_partitions: Zero Bytes were transmitted or received" on sinfo export $(scontrol token lifespan=99999999999999999) Result: Token generated, valid response from sinfo I claim that slurm should not be handing out invalid tokens if they are invalid- any chance an error message can prompt users to be less optimistic about the duration of the earth's lifespan? (yes- I acknowledge that this lifespan is ridiculous... but users like hitting the '9' key... a lot...) I do want to hear back on how things are going at the expiration of the max token... Has Pangaea re-formed? Many thanks, -Nathaniel
The ability to set max token lifespan was added by bug#13107 in Slurm-22.05.0: > https://github.com/SchedMD/slurm/commit/85516610c0e74887b77a03a97146363921856995 Please upgrade to either of the currently supported releases to use this functionality: > Slurm-22.05 > Slurm-23.02 Closing out this ticket as duplicate. Please respond if there are any more related questions or issues. *** This ticket has been marked as a duplicate of ticket 13107 ***