waldur / waldur-site-agent

An agent for integrating service provider offerings with Waldur
MIT License
2 stars 2 forks source link

Inconsistent docs for slurm integration #1

Open sjpb opened 3 months ago

sjpb commented 3 months ago

Hi, we're trying to trial integrating Waldur + Keycloak with an existing Slurm cluster which uses FreeIPA.

There are two pages which reference this repo:

  1. https://docs.waldur.com/admin-guide/providers/remote-slurm/: This talks about deploying 3x instances of the agent. The linked env files have WALDUR_SYNC_DIRECTION values of membership_sync, report and order_process. These don't appear to match the current code.
  2. https://docs.waldur.com/integrations/waldur-slurm-service/: This has WALDUR_SYNC_DIRECTION which uses push and pull values which do match the current code.

There's also a 3rd page https://docs.waldur.com/admin-guide/providers/slurm/ - which is not clear on what the difference is from the providers/remote-slurm URL, although it looks like maybe this is actually a wider view of configuration related to #2 above.

Any advice on which docs to follow, and which are maybe outdated, would be appreciated!

livenson commented 3 months ago

Hi,

so first of all, yes, it is inconsistent and we are releasing a new version of waldur-site-agent (old name waldur-slurm-service) soon that will change configuration a bit. So my suggestion is to just stay tuned.

We are looking at the horizon of a couple of days I hope.

ps. https://docs.waldur.com/admin-guide/providers/slurm/ - this one was for a bit different thing, this is for integration where Waldur connects over ssh to SLURM node and executes commands. We are now moving to a different mode where a separate agent is deployed that connects to Waldur for updates and executes expected actions on Slurm side.

@Fronox , fyi.

sjpb commented 3 months ago

Ok thank you, I appreciate the fast response.

livenson commented 3 months ago

Ok, new site agent has been released (0.3.0 version) and docs have been updated a bit. Works in development, would you care to validate too, @sjpb ?

Documentation link is here: https://docs.waldur.com/admin-guide/providers/remote-slurm/#integration-with-the-site