[slurm-users] Re: REST API - get_user_environment

2024-08-29 Thread Daniel Letai via slurm-users
Actually this is not Slurm versioning strictly speaking, this is openapi versioning - the move from 0.0.38 to 0.0.39 also dropped this particular endpoint. You will notice that the same major Slurm version supports different API versions. On 28/08/2024 03:02:00, Chris Samuel via slurm-users

[slurm-users] Re: REST API - get_user_environment

2024-08-27 Thread Chris Samuel via slurm-users
On 27/8/24 10:26 am, jpuerto--- via slurm-users wrote: Is anyone in contact with the development team? Folks with a support contract can submit bugs at https://support.schedmd.com/ I feel that this is pretty basic functionality that was removed from the REST API without warning. Consideri

[slurm-users] Re: REST API - get_user_environment

2024-08-27 Thread Chris Samuel via slurm-users
On 22/8/24 11:18 am, jpuerto--- via slurm-users wrote: Do you have a link to that code? Haven't had any luck finding that repo It's here (on the 23.11 branch): https://github.com/SchedMD/slurm/tree/slurm-23.11/src/slurmrestd/plugins/openapi/dbv0.0.38 -- slurm-users mailing list -- slurm-user

[slurm-users] Re: REST API - get_user_environment

2024-08-27 Thread Chris Samuel via slurm-users
On 15/8/24 10:55 am, jpuerto--- via slurm-users wrote: Any ideas on whether there's a way to mirror this functionality in v0.0.40? Sorry for not seeing this sooner, I don't I'm afraid! All the best, Chris -- slurm-users mailing list -- slurm-users@lists.schedmd.com To unsubscribe send an ema

[slurm-users] Re: REST API - get_user_environment

2024-08-27 Thread jpuerto--- via slurm-users
For those that are interested, I was able to resolve this by doing the following: - Remove the "get_user_environment" attribute from the "jobs" attribute. - Add an additional attribute to the "environment" attribute titled "SLURM_GET_USER_ENV" and setting that equal to 1. Example before change:

[slurm-users] Re: REST API - get_user_environment

2024-08-23 Thread Daniel Letai via slurm-users
https://github.com/SchedMD/slurm/blob/ffae59d9df69aa42a090044b867be660be259620/src/plugins/openapi/v0.0.38/jobs.c#L136 but no longer in https://github.com/SchedMD/slurm/blob/slurm-23.02/src/plugins/openapi/v0.0.39/jobs.c Which underwent major revision In the next openapi version On 22/0

[slurm-users] Re: REST API - get_user_environment

2024-08-22 Thread jpuerto--- via slurm-users
Chris, Do you have a link to that code? Haven't had any luck finding that repo -- slurm-users mailing list -- slurm-users@lists.schedmd.com To unsubscribe send an email to slurm-users-le...@lists.schedmd.com

[slurm-users] Re: REST API - get_user_environment

2024-08-15 Thread jpuerto--- via slurm-users
Chris, Any ideas on whether there's a way to mirror this functionality in v0.0.40? Best regards, Juan -- slurm-users mailing list -- slurm-users@lists.schedmd.com To unsubscribe send an email to slurm-users-le...@lists.schedmd.com

[slurm-users] Re: REST API - get_user_environment

2024-08-15 Thread Christopher Samuel via slurm-users
On 8/15/24 7:04 am, jpuerto--- via slurm-users wrote: I am referring to the REST API. We have had it installed for a few years and have recently upgraded it so that we can use v0.0.40. But this most recent version is missing the "get_user_environment" field which existed in previous versions.

[slurm-users] Re: REST API - get_user_environment

2024-08-15 Thread jpuerto--- via slurm-users
Ole, We are running version 24.05.1. The RPM package is slurm-slurmrestd-24.05.0-1.el9 Best regards, Juan -- slurm-users mailing list -- slurm-users@lists.schedmd.com To unsubscribe send an email to slurm-users-le...@lists.schedmd.com

[slurm-users] Re: REST API - get_user_environment

2024-08-15 Thread Ole Holm Nielsen via slurm-users
On 15-08-2024 15:04, jpuerto--- via slurm-users wrote: I am referring to the REST API. We have had it installed for a few years and have recently upgraded it so that we can use v0.0.40. But this most recent version is missing the "get_user_environment" field which existed in previous versions.

[slurm-users] Re: REST API - get_user_environment

2024-08-15 Thread jpuerto--- via slurm-users
Ole, I am referring to the REST API. We have had it installed for a few years and have recently upgraded it so that we can use v0.0.40. But this most recent version is missing the "get_user_environment" field which existed in previous versions. Best, Juan -- slurm-users mailing list -- slur

[slurm-users] Re: REST API - get_user_environment

2024-08-14 Thread Ole Holm Nielsen via slurm-users
On 14-08-2024 19:52, jpuerto--- via slurm-users wrote: In previous versions (v0.0.36) of the REST API the job submission endpoint had a field titled "get_user_environment"; however, it doesn't appear to exist in v0.0.40. Is there an equivalent parameter that should be used? What is the suggeste