Skip to content

FeatEval(slurmrestd) #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
pja237 opened this issue Feb 28, 2023 · 0 comments
Open

FeatEval(slurmrestd) #23

pja237 opened this issue Feb 28, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@pja237
Copy link
Contributor

pja237 commented Feb 28, 2023

Evaluate/PoC the possibility to implement support for both cli (“legacy”) and slurmrestd data fetching.

Originally, the logic behind going cli-way was that all slurm users have access to the slurm commands, but not all sites provide slurmrestd endpoint. So to make SC available to everyone, CLI-way was chosen.

Now, for sites providing users with slurmrestd endpoint, might be:

  • more elegant to gather data from there, see client generated code
  • give us the ability to do caching with a 3rd party caching proxy, instead of something like (abandoned) sccache daemon)

Rough idea about what might be needed:

  • additional configuration stanza with rest_endpoint, jwt parameters
  • method of refreshing jwt periodically
  • create datafetcher interface that legacy cli functions and new rest functions satisfy (refactor legacy code accordingly)
  • rest client code
  • make it all work together…somehow :D

In terms of expected delivery, i've started with some early preparation work for this topic, but it's still far away from anything resembling a PoC.
Considering my time availability, i'd suppose this would be a medium term goal for SC.
In case anyone is willing to contribute time to working on this, i'd be more then happy to assist. If not, it's a SC 2.0.0 goal 😄

@pja237 pja237 added enhancement New feature or request help wanted Extra attention is needed and removed help wanted Extra attention is needed labels Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant