Skip to content
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

dws: drop rabbits from dws_environment eventlog entry context #253

Merged

Conversation

jameshcorbett
Copy link
Member

Problem: currently, the dws-environment shell plugin sets a
FLUX_LOCAL_RABBIT environment variable based on information saved
in the eventlog. However, there could be a more flexible command-line
tool that returns arbitrary compute-rabbit mapping information.

Add a tool that does that, and drop the FLUX_LOCAL_RABBIT env var.

Fixes #244 .

Problem: currently, the dws-environment shell plugin sets a
FLUX_LOCAL_RABBIT environment variable based on information saved
in the eventlog. However, there could be a more flexible command-line
tool that returns arbitrary compute-rabbit mapping information.

Add a tool that does that.
Problem: there are no tests for the 'flux getrabbit' utility.

Add tests.
Problem: dws2jgf expects a path to the rabbitmapping file,
but that path is now expected to be found in the config.

Make passing the path on the command line optional, and fall back
to the config if not provided.
Problem: the `flux rabbitmapping` utility makes the FLUX_LOCAL_RABBIT
environment variable obsolete.

Drop it.
Problem: the dws_environment shell plugin no longer looks for a
mapping from rabbits to compute nodes in the 'dws_environment'
eventlog entry, so that part of the event's context (which could
be quite large) can be dropped.

Drop it.

Fixes flux-framework#244.
Problem: the 'rabbits' entry in the 'dws_environment' eventlog
entry has been removed, but tests still expect it.

Remove tests for it.
Copy link
Member

@cmoussa1 cmoussa1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Nice work!

@mergify mergify bot merged commit 37a697f into flux-framework:master Jan 25, 2025
8 checks passed
@jameshcorbett jameshcorbett deleted the drop-rabbits-eventlog-entry branch January 25, 2025 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DWS/shell: potentially exchange use of eventlog for static rabbitmapping file
2 participants