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

idea: add convenience configuration/hostlist plugins #6651

Open
garlick opened this issue Feb 18, 2025 · 0 comments
Open

idea: add convenience configuration/hostlist plugins #6651

garlick opened this issue Feb 18, 2025 · 0 comments

Comments

@garlick
Copy link
Member

garlick commented Feb 18, 2025

Problem: most sites will have a configuration management "source of truth" that is used to generate the Flux hosts table, resource attributes, etc for the flux config.

Could we perhaps make life easier (and less error prone) by providing a way to get hostlists from plugins (for things like LDAP netgroup or genders)?

For example, where a hostlist string appears in our config like

[[resource.config]]
hosts = "picl[1-7]"
properties = ["batch"]

Allow an expression in place of the hostlist, like

[[resource.config]]
hosts = "genders:batch"
properties = ["batch"]

Then when parsing the configuration, the hostlist would be obtained by calling out to the plugin scheme with the path as input?

I'm not sure if this would be useful or not. Maybe it would have Flux treading in the configuration management domain when it should stay it its lane. Anyway, just throwing it out there 🤷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant